@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: 'Kanit', sans-serif;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    height: .1rem;
    width: .5rem;
}

::-webkit-scrollbar-track {
    background-color: #121212;
}

::-webkit-scrollbar-thumb {
    background-color: #DF2626;
    border-radius: 5rem;
}

body {
    background: #121212;
    color: #FAFAFA;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

header {
    background: #121212;
    padding: 15px 10%;
    position: fixed;
    top: 0%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center; /* Centers everything */
    align-items: center;
    gap: 600px; /* Adjust spacing */
    z-index: 1001;
    transition: 0.2s ease-in-out;
    box-shadow: 1px 7px 5px 0px rgba(0,0,0,0.49);
    -webkit-box-shadow: 1px 7px 5px 0px rgba(0,0,0,0.49);
    -moz-box-shadow: 1px 7px 5px 0px rgba(0,0,0,0.49);
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navlist {
    display: flex;
    align-items: center;
    gap: 50px;
}

.navlist li a {
    color: #FAFAFA;
    font-weight: 500;
    font-size: 16px;
}

.navlist li a:hover {
    color: #DF2626;
    transition: 0.3s ease-in-out;
}

.logo-img {
    width: 200px;
    height: auto;
    
}

/* hero section */

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Adjust spacing between left and right */
    padding: 140px 8%;
    gap: 0; /* Remove gap entirely */
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    min-height: 100vh;
}

.hero-left {
    flex: 1;
    display: flex;
    justify-content: flex-start; /* Move image to the left */
    align-items: center;
    margin-right: -100px; /* Increase negative margin to bring image closer */
}

.hero-left .hero-img {
    width: 320px; /* Increased from 280px */
    height: auto;
    -moz-transform: rotate(-5deg);
    -webkit-transform: rotate(-5deg);
    -o-transform: rotate(-5deg);
    -ms-transform: rotate(-5deg);
    transform: rotate(-5deg);
    transition: 0.2s ease-in-out;
}


.hero-right {
    flex: 1;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: -80px; /* Increase negative margin to bring text closer to the image */
}

.hero-right h1 {
    font-weight: 800;
    font-size: 52px; /* Reduced font size to fit two lines */
    line-height: 1.2; /* Adjusted line height */
    color: #DF2626;
}

.subtitle {
    color: #FAFAFA;
    font-size: 52px;
    font-weight: 800;
}

.hero-right-description {
    color: #a3a3a3; /* Changed from default color */
    margin-bottom: 30px; /* Added to create space for the button */
    line-height: 1.6;
}

.hero-buttons button {
    font-size: 16px;
    display: flex;
    align-items: center;
    background: #DF2626;
    color: #FAFAFA;
    font-weight: 600;
    padding: 15px 50px 15px 50px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.hero-buttons button:hover {
    opacity: 60%;
    transition: 0.3s;
}

/* Featured Video Section */
.featured-video {
    background-color: #1a1a1a; /* Slightly lighter than body background */
    padding: 80px 0;
    position: relative;
}

.video-container {
    max-width: 1000px;
    margin: 0 auto 40px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.featured-video-player {
    width: 100%;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.1), rgba(26, 26, 26, 0.7));
}

.video-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.video-title {
    font-size: 36px;
    color: #DF2626;
    margin-bottom: 20px;
    font-weight: 800;
}

.video-description {
    color: #a3a3a3;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.video-btn {
    font-size: 16px;
    background: #DF2626;
    color: #FAFAFA;
    font-weight: 600;
    padding: 15px 50px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.video-btn:hover {
    opacity: 60%;
    transition: 0.3s;
}

/* Characters Section Styles */
.characters-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.section-title {
    font-size: 36px;
    color: #DF2626;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 800;
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.character-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.character-card:hover {
    transform: translateY(-10px);
}

.character-img-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
}

.character-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.character-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.character-img-container:hover .character-hover {
    opacity: 1;
}

.character-img-container:hover .character-img {
    transform: scale(1.1);
}

.character-hover p {
    color: #FAFAFA;
    font-size: 14px;
    font-weight: 300;
}

.character-name {
    font-size: 18px;
    font-weight: 600;
    color: #FAFAFA;
    margin-bottom: 5px;
}

.characters-button-container {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.characters-btn {
    font-size: 16px;
    background: #DF2626;
    color: #FAFAFA;
    font-weight: 600;
    padding: 15px 50px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.characters-btn:hover {
    opacity: 0.6;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .characters-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .characters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .characters-grid {
        grid-template-columns: 1fr;
    }
    
    .character-img-container {
        height: 300px;
    }
}

/* Cursed Techniques Section Styles */
.techniques-section {
    padding: 100px 0;
    background-color: #121212;
    position: relative;
    overflow: hidden;
}

.techniques-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/bg-pattern.png');
    opacity: 0.05;
    pointer-events: none;
}

.techniques-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Featured Technique */
.featured-technique {
    display: flex;
    background-color: #191919;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 60px;
}

.featured-technique-image {
    flex: 1;
    min-height: 400px;
}

.technique-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-technique-content {
    flex: 1.5;
    padding: 40px;
}

.featured-technique-title {
    font-size: 32px;
    color: #DF2626;
    margin-bottom: 10px;
    font-weight: 700;
}

.featured-technique-user {
    color: #FAFAFA;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 20px;
}

.featured-technique-description {
    color: #a3a3a3;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.technique-abilities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.ability {
    background-color: #232323;
    padding: 15px;
    border-radius: 8px;
}

.ability h4 {
    color: #DF2626;
    margin-bottom: 8px;
    font-size: 18px;
}

.ability p {
    color: #a3a3a3;
    font-size: 14px;
    line-height: 1.4;
}

/* Technique Grid */
.techniques-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    cursor: pointer;
}

.technique-card {
    background-color: #191919;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.technique-card:hover {
    transform: translateY(-10px);
}

.technique-img-container {
    height: 180px;
    overflow: hidden;
}

.technique-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.technique-card:hover .technique-img {
    transform: scale(1.1);
}

.technique-name {
    color: #DF2626;
    font-size: 20px;
    font-weight: 600;
    padding: 15px 15px 5px;
}

.technique-user {
    color: #FAFAFA;
    font-size: 16px;
    font-weight: 500;
    padding: 0 15px 10px;
}

.technique-description {
    color: #a3a3a3;
    font-size: 14px;
    line-height: 1.5;
    padding: 0 15px 20px;
}

.techniques-button-container {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.techniques-btn {
    font-size: 16px;
    background: #DF2626;
    color: #FAFAFA;
    font-weight: 600;
    padding: 15px 50px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.techniques-btn:hover {
    opacity: 0.6;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .featured-technique {
        flex-direction: column;
    }
    
    .featured-technique-image {
        min-height: 300px;
    }
    
    .techniques-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .technique-abilities {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .techniques-grid {
        grid-template-columns: 1fr;
    }
}

/* Latest News & Updates Section Styles */
.news-section {
    padding: 100px 0;
    background-color: #0a0a0a;
    position: relative;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Featured News */
.featured-news {
    display: flex;
    background-color: #191919;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 50px;
}

.featured-news-image {
    flex: 1;
    min-height: 350px;
    position: relative;
}

.featured-news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-news-content {
    flex: 1.5;
    padding: 30px;
}

.featured-news-title {
    font-size: 24px;
    color: #FAFAFA;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.news-date {
    color: #DF2626;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 15px;
}

.featured-news-description {
    color: #a3a3a3;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #DF2626;
    color: #FAFAFA;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 5px;
    text-transform: uppercase;
}

.news-read-more {
    background: transparent;
    color: #FAFAFA;
    border: 2px solid #DF2626;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-read-more:hover {
    background: #DF2626;
    color: #FAFAFA;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background-color: #191919;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-card-image {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-img {
    transform: scale(1.1);
}

.news-card-content {
    padding: 20px;
}

.news-card-title {
    color: #FAFAFA;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.news-card-description {
    color: #a3a3a3;
    font-size: 14px;
    line-height: 1.5;
}

.news-button-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.news-btn {
    font-size: 16px;
    background: #DF2626;
    color: #FAFAFA;
    font-weight: 600;
    padding: 15px 50px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.news-btn:hover {
    opacity: 0.6;
}

/* Footer Styles */
.footer {
    background-color: #0f0f0f;
    padding: 60px 0 20px;
    color: #a3a3a3;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    margin-bottom: 30px;
}

.footer-logo-img {
    width: 100%;
    height: auto;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-links-column {
    min-width: 150px;
    margin-bottom: 30px;
}

.footer-links-column h4 {
    color: #FAFAFA;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links-column ul li {
    margin-bottom: 10px;
}

.footer-links-column ul li a {
    color: #a3a3a3;
    transition: color 0.3s ease;
}

.footer-links-column ul li a:hover {
    color: #DF2626;
}

.footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-social h4 {
    color: #FAFAFA;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #232323;
    color: #FAFAFA;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #DF2626;
    transform: translateY(-5px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 0;
    border-top: 1px solid #2a2a2a;
    text-align: center;
    font-size: 14px;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .featured-news {
        flex-direction: column;
    }
    
    .featured-news-image {
        min-height: 250px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        max-width: 200px;
        margin: 0 auto 30px;
    }
    
    .footer-links {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .footer-social {
        text-align: center;
        width: 100%;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}