/* ============================================
   Skillatör Macro - Gaming Site CSS
   BlackKo World inspired dark gaming theme
   ============================================ */

/* ---- Reset & Core ---- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

body {
    margin: 0;
    background: #0b0c11;
    color: #e0e0e0;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Header ---- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, #000000 0%, rgba(11, 12, 17, 0.95) 100%);
    border-bottom: 1px solid rgba(210, 178, 108, 0.15);
}

.header-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #d2b26c 50%, transparent 100%);
    box-shadow: 0 0 15px rgba(210, 178, 108, 0.6), 0 0 5px rgba(210, 178, 108, 0.3);
}

.header-content {
    display: flex;
    align-items: center;
    height: 50px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    gap: 0;
}

/* ---- Logo ---- */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-right: 30px;
}

.logo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00e676;
    box-shadow: 0 0 8px rgba(0, 230, 118, 0.5);
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

.logo-accent {
    color: #00e676;
    font-weight: 800;
}

/* ---- Main Navigation ---- */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.nav-link {
    padding: 7px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/* ---- Mobile Menu ---- */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #d2b26c;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(210, 178, 108, 0.08) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(157, 0, 255, 0.06) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(11,12,17,0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: rgba(210, 178, 108, 0.1);
    border: 1px solid rgba(210, 178, 108, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #d2b26c;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.gradient-text {
    background: linear-gradient(135deg, #d2b26c, #e6c885, #d2b26c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradient-shift 4s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 14px 36px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
}

.hero-btn.primary {
    background: #d2b26c;
    color: #0b0c11;
    border: none;
    clip-path: polygon(8% 0, 100% 0, 100% 70%, 92% 100%, 0 100%, 0 30%);
}

.hero-btn.primary:hover {
    background: #e6c885;
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(210, 178, 108, 0.4);
}

.hero-btn.outline {
    background: transparent;
    color: #d2b26c;
    border: 1px solid #d2b26c;
}

.hero-btn.outline:hover {
    background: rgba(210, 178, 108, 0.1);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(210, 178, 108, 0.2);
}

/* ============================================
   CLASS SELECTION SECTION (BlackKo Style)
   ============================================ */
.separator-section {
    width: 100%;
    position: relative;
    background: url('https://i.hizliresim.com/qmtxivj.png') center/cover no-repeat fixed;
    padding: 80px 0; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.separator-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); 
    z-index: 1;
}

/* ---- Section Title ---- */
.section-title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 36px;
    width: fit-content;
    margin: 0 auto 50px auto;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(180deg, #ffffff 0%, #d2b26c 50%, #9e824c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 15px rgba(210, 178, 108, 0.5));
}

.section-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d2b26c, transparent);
    margin: 15px auto 0;
    box-shadow: 0 0 15px rgba(210, 178, 108, 0.6);
}

/* ---- Glow Dividers ---- */
.glow-divider {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #d2b26c 50%, transparent 100%);
    box-shadow: 0 0 15px rgba(210, 178, 108, 0.9), 0 0 5px rgba(210, 178, 108, 0.5);
    z-index: 10;
}

.glow-divider.top { top: 0; }
.glow-divider.bottom { bottom: 0; }

/* ---- Class Cards Container ---- */
.class-cards-container {
    position: relative;
    z-index: 5;
    width: 95%;
    max-width: 1300px;
}

.class-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    justify-items: center;
}

/* ---- Class Card ---- */
.class-card {
    width: 100%;
    max-width: 300px;
    height: 430px; /* Increased from 380px to match natural aspect ratio of images */
    background: #0b0c11; /* Changed to match dark smoky background of images */
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.8), 
        0 0 10px rgba(210, 178, 108, 0.3);
    border: 1px solid rgba(210, 178, 108, 0.5);
    transition: all 0.4s ease;
}

.class-card:hover {
    transform: translateY(-10px);
    border-color: #d2b26c;
    box-shadow: 
        0 15px 40px rgba(210, 178, 108, 0.2), 
        0 0 15px rgba(210, 178, 108, 0.4);
}

/* Card Image - VISIBLE by default */
.class-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1); /* Reset to normal scale */
    transition: transform 0.6s ease;
}

.class-card:hover .class-card-img {
    transform: scale(1.05); /* Zoom on hover */
}

/* Character Specific Alignments */
.warrior-img {
    /* Head visible at top, feet near bottom */
    object-position: center top;
}

.assassin-img, .archery-img {
    /* Lowered to match Warrior's feet */
    object-position: center top 45px;
}

.mage-img {
    /* Lowered significantly to match Warrior's feet */
    object-position: center top 65px;
}

.priest-img {
    /* Lowered to match Warrior's feet */
    object-position: center top 35px;
}

.kurian-img {
    /* Shifted down by 10px to align feet */
    object-position: center bottom 5px;
}

/* Default Title (bottom gradient) - VISIBLE by default */
.class-title-default {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transition: opacity 0.3s ease;
    z-index: 2;
}

.class-title-default h3 {
    color: #d2b26c;
    font-family: 'Cinzel', serif;
    font-size: 24px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

/* Title hides on hover */
.class-card:hover .class-title-default {
    opacity: 0;
}

/* Hover Overlay - HIDDEN by default, appears on hover */
.class-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(3px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 3;
}

.class-card:hover .class-card-overlay {
    opacity: 1;
}

.class-card-overlay h3 {
    color: #d2b26c;
    font-family: 'Cinzel', serif;
    font-size: 28px;
    margin-bottom: 20px;
    transform: translateY(-20px);
    transition: transform 0.4s ease 0.1s;
}

.class-card:hover .class-card-overlay h3 {
    transform: translateY(0);
}

.class-card-overlay p {
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.2s;
}

.class-card:hover .class-card-overlay p {
    transform: translateY(0);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    background: #0b0c11;
    padding: 100px 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(19, 21, 37, 0.8);
    border: 1px solid rgba(210, 178, 108, 0.15);
    border-radius: 12px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(210, 178, 108, 0.5);
    box-shadow: 0 10px 30px rgba(210, 178, 108, 0.1);
}

.feature-card i {
    font-size: 2.2rem;
    color: #d2b26c;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(210, 178, 108, 0.4));
}

.feature-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.feature-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    background: #08090d;
    padding: 100px 0;
    position: relative;
}

.faq-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    margin-top: -40px;
    margin-bottom: 50px;
    font-size: 0.9rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(19, 21, 37, 0.8);
    border: 1px solid rgba(210, 178, 108, 0.15);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover, .faq-item.active {
    border-color: rgba(210, 178, 108, 0.5);
    box-shadow: 0 5px 20px rgba(210, 178, 108, 0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: transparent;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #d2b26c;
}

.faq-item.active .faq-question {
    color: #d2b26c;
}

.faq-icon {
    color: #d2b26c;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    position: relative;
    background: #050506;
    border-top: 1px solid rgba(210, 178, 108, 0.1);
    padding: 60px 0 30px;
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #d2b26c 50%, transparent 100%);
    box-shadow: 0 0 15px rgba(210, 178, 108, 0.5);
    opacity: 0.7;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 12px;
    margin-bottom: 20px;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(210, 178, 108, 0.3);
    color: #d2b26c;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: #d2b26c;
    color: #0b0c11;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(210, 178, 108, 0.4);
}

.footer-links h4 {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-left: 3px solid #d2b26c;
    padding-left: 10px;
}

.footer-links a {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    padding: 5px 0;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #d2b26c;
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(210, 178, 108, 0.9);
    color: #0b0c11;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(210, 178, 108, 0.3);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: #e6c885;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(210, 178, 108, 0.5);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .class-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        height: 56px;
        justify-content: space-between;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: #0d1117;
        flex-direction: column;
        padding: 12px 16px;
        border-bottom: 1px solid rgba(210, 178, 108, 0.15);
        gap: 2px;
    }

    .main-nav.open {
        display: flex;
    }

    .nav-link {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-section {
        padding: 100px 20px 60px;
        min-height: 60vh;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .class-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .class-card {
        height: 340px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 576px) {
    .class-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}
