/* Game Info Enhanced Styles */
.game-info-enhanced {
    background: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    --medieval-gold: #d4af37;
    --medieval-silver: #c0c0c0;
    --medieval-bronze: #cd7f32;
    --deep-purple: #4a1a4a;
    --royal-blue: #1e3a8a;
}

/* Page loaded state */
body.page-loaded .game-info-enhanced {
    opacity: 1;
}

/* Smooth entrance animation for main content */
body.page-loaded .game-info-enhanced > section {
    animation: fadeInUp 0.8s ease-out forwards;
}

body.page-loaded .game-info-enhanced > section:nth-child(2) {
    animation-delay: 0.1s;
}

body.page-loaded .game-info-enhanced > section:nth-child(3) {
    animation-delay: 0.2s;
}

body.page-loaded .game-info-enhanced > section:nth-child(4) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Titles Enhanced */
.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #e0e0e0 30%,
        #ffffff 70%,
        #d0d0d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9));
    position: relative;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--medieval-gold), #ffb74d, var(--medieval-gold));
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.5);
}

/* Section Descriptions */
.section-description {
    font-size: 1.2rem;
    color: #e0e0e0;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.9));
}

/* Hero Section Enhanced */
.game-hero {
    background: linear-gradient(135deg, 
        #0a0f1c 0%, 
        #1a2332 30%,
        #0e1a2e 70%,
        #0a0f1c 100%),
    url('/banner/castle-bg.jpg') center/cover;
    background-blend-mode: multiply;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.game-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(138, 43, 226, 0.25) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(255, 183, 77, 0.2) 0%, transparent 60%);
    opacity: 0.8;
    z-index: 0;
}

.game-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="medieval-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M20 0L30 10L20 20L10 10Z" fill="rgba(212, 175, 55, 0.08)" stroke="rgba(212, 175, 55, 0.1)" stroke-width="0.5"/><circle cx="20" cy="20" r="2" fill="rgba(138, 43, 226, 0.06)"/></pattern></defs><rect width="100" height="100" fill="url(%23medieval-pattern)" /></svg>') repeat;
    opacity: 0.4;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-text {
    padding: 40px 0;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #f0f0f0 30%,
        #ffffff 70%,
        #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    animation: glow 3s ease-in-out infinite alternate;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9));
}

@keyframes glow {
    from {
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 10px rgba(138, 43, 226, 0.3));
    }
    to {
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 20px rgba(138, 43, 226, 0.5));
    }
}

.hero-subtitle {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: #ffffff;
    margin-bottom: 25px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.9));
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 40px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.9));
}

.hero-visual {
    position: relative;
}

.game-showcase {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.game-showcase:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.showcase-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.game-showcase:hover .showcase-image {
    transform: scale(1.05);
}

.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-showcase:hover .showcase-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.4);
}

.play-button:hover {
    transform: scale(1.1);
}

.play-button i {
    font-size: 2rem;
    color: white;
    margin-left: 4px;
}

/* Server Information Enhanced */
.server-info {
    padding: 100px 20px;
    background: linear-gradient(135deg, 
        #0a0f1c 0%, 
        #1a2332 50%, 
        #0e1a2e 100%);
    position: relative;
    overflow: hidden;
}

.server-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(138, 43, 226, 0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)" /></svg>') repeat;
    opacity: 0.3;
    z-index: 0;
}

.server-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: linear-gradient(145deg, 
        rgba(15, 20, 35, 0.98) 0%, 
        rgba(26, 35, 50, 0.95) 100%);
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 0%, transparent 70%);
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover::after {
    width: 300%;
    height: 300%;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(var(--primary-rgb), 0.3);
    border-color: rgba(var(--primary-rgb), 0.4);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.4);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.6);
}

.stat-icon i {
    font-size: 2rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-value {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.9));
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.9));
}

/* Authentic Experience Section */
.authentic-experience {
    margin-top: 80px;
    padding: 50px 40px;
    background: linear-gradient(135deg, 
        rgba(138, 43, 226, 0.15) 0%, 
        rgba(255, 183, 77, 0.1) 100%);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 25px;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.2);
    position: relative;
    overflow: hidden;
}

.authentic-experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="3" cy="3" r="1" fill="rgba(255, 183, 77, 0.2)"/><circle cx="13" cy="13" r="0.5" fill="rgba(138, 43, 226, 0.2)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)" /></svg>') repeat;
    opacity: 0.3;
    z-index: 0;
}

.authentic-content {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.authentic-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--medieval-gold) 0%, #ffb74d 50%, var(--medieval-bronze) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.authentic-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.authentic-icon i {
    font-size: 2.2rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.authentic-text h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.9));
}

.authentic-text p {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.9));
}

.authentic-text strong {
    color: #ffb74d;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .authentic-experience {
        margin-top: 60px;
        padding: 40px 30px;
    }
    
    .authentic-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .authentic-text h3 {
        font-size: 1.5rem;
    }
    
    .authentic-text p {
        font-size: 1rem;
    }
}

/* Classes Section Enhanced */
.classes-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #0a0f1c 0%, #1a2332 50%, #0a0f1c 100%),
                url('/assets/images/classes-bg.jpg') center/cover;
    background-blend-mode: multiply;
    position: relative;
    overflow: hidden;
}

.classes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(138, 43, 226, 0.1) 0%, 
        rgba(255, 183, 77, 0.05) 50%,
        transparent 100%);
    z-index: 0;
}

.classes-section .container {
    position: relative;
    z-index: 1;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.class-card {
    background: linear-gradient(145deg, 
        rgba(15, 20, 35, 0.95) 0%, 
        rgba(26, 35, 50, 0.9) 100%);
    border: 2px solid transparent;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.class-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(138, 43, 226, 0.15), 
        rgba(255, 183, 77, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.class-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--medieval-gold), #ffb74d, var(--medieval-silver));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 2;
}

.class-card:hover::before {
    opacity: 1;
}

.class-card:hover::after {
    transform: scaleX(1);
}

.class-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(var(--primary-rgb), 0.6);
    box-shadow: 0 25px 60px rgba(var(--primary-rgb), 0.4);
}

.class-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(var(--primary-rgb), 0.1) 0%, 
        rgba(var(--secondary-rgb), 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.class-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, 
        rgba(var(--primary-rgb), 0.2) 0%, 
        transparent 70%);
    z-index: 1;
}

.class-image img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    position: relative;
    z-index: 2;
}

.class-card:hover .class-image img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 15px 40px rgba(var(--primary-rgb), 0.6));
}

.class-content {
    padding: 35px 30px;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, 
        rgba(15, 20, 35, 0.98) 0%, 
        rgba(26, 35, 50, 1) 100%);
}

.class-name {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.9));
}

.class-description {
    color: #e0e0e0;
    line-height: 1.7;
    font-size: 1rem;
    text-align: center;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.9));
}

/* Game Features Enhanced */
.game-features {
    padding: 100px 20px;
    background: linear-gradient(135deg, 
        #0a0f1c 0%, 
        #1a2332 50%, 
        #0e1a2e 100%),
    url('/assets/images/features-bg.jpg') center/cover;
    background-blend-mode: multiply;
    position: relative;
    overflow: hidden;
}

.game-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagon" width="30" height="26" patternUnits="userSpaceOnUse"><polygon points="15,1 28,8 28,18 15,25 2,18 2,8" fill="none" stroke="rgba(138, 43, 226, 0.08)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagon)" /></svg>') repeat;
    opacity: 0.4;
    z-index: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 70px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: linear-gradient(145deg, 
        rgba(var(--bg-card-rgb), 0.9) 0%, 
        rgba(var(--bg-card-rgb), 0.7) 100%);
    border: 2px solid transparent;
    border-radius: 24px;
    padding: 45px 35px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(var(--primary-rgb), 0.1) 0%, 
        rgba(var(--secondary-rgb), 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    width: 300%;
    height: 300%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(var(--primary-rgb), 0.3);
    border-color: rgba(var(--primary-rgb), 0.4);
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.4);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 20px 50px rgba(var(--primary-rgb), 0.6);
}

.feature-icon i {
    font-size: 2.2rem;
    color: white;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--medieval-gold), #ffb74d, var(--medieval-silver));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
    margin: 0;
}

/* How It Works */
.how-it-works {
    padding: 80px 20px;
    background: var(--bg-dark);
}

.gameplay-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.gameplay-section {
    margin-bottom: 40px;
}

.gameplay-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.gameplay-section p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
}

.gameplay-visual {
    position: relative;
}

.gameplay-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.gameplay-image:hover {
    transform: scale(1.02);
}

/* Commands Section Enhanced */
.commands-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #0a0f1c 0%, #1a2332 50%, #0a0f1c 100%);
    position: relative;
    overflow: hidden;
}

.commands-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(138, 43, 226, 0.08) 0%, 
        rgba(255, 183, 77, 0.05) 50%,
        transparent 100%);
    z-index: 0;
}

.commands-accordion {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.command-category {
    background: linear-gradient(145deg, 
        rgba(15, 20, 35, 0.95) 0%, 
        rgba(26, 35, 50, 0.9) 100%);
    border: 2px solid transparent;
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.command-category:hover {
    border-color: rgba(138, 43, 226, 0.4);
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.2);
}

.category-header {
    width: 100%;
    padding: 25px 30px;
    background: linear-gradient(135deg, 
        rgba(138, 43, 226, 0.15) 0%, 
        rgba(255, 183, 77, 0.1) 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s ease;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    text-align: left;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

.category-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(var(--medieval-gold), 0.1) 0%, 
        rgba(255, 183, 77, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.category-header:hover::before {
    opacity: 1;
}

.category-header:hover {
    color: var(--medieval-gold);
    background: linear-gradient(135deg, 
        rgba(138, 43, 226, 0.25) 0%, 
        rgba(255, 183, 77, 0.15) 100%);
}

.category-header .category-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: inherit;
    margin: 0;
    position: relative;
    z-index: 1;
}

.category-header i {
    font-size: 1.2rem;
    color: var(--medieval-gold);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.category-header.active i {
    transform: rotate(180deg);
    color: #ffb74d;
}

.commands-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(180deg, 
        rgba(15, 20, 35, 0.98) 0%, 
        rgba(26, 35, 50, 1) 100%);
}

.commands-content.show {
    max-height: 500px;
    border-top: 1px solid rgba(138, 43, 226, 0.3);
}

.commands-list {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.command-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 15px 20px;
    background: linear-gradient(135deg, 
        rgba(26, 35, 50, 0.8) 0%, 
        rgba(15, 20, 35, 0.9) 100%);
    border-radius: 12px;
    border: 1px solid rgba(138, 43, 226, 0.2);
    transition: all 0.3s ease;
}

.command-item:hover {
    border-color: rgba(138, 43, 226, 0.4);
    box-shadow: 0 5px 20px rgba(138, 43, 226, 0.15);
    transform: translateX(5px);
}

.command-key {
    background: linear-gradient(135deg, #8a2be2 0%, #ffb74d 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 10px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    min-width: 100px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.command-desc {
    color: #e0e0e0;
    font-size: 1rem;
    flex: 1;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.9));
}

/* Custom collapse functionality if Bootstrap not available */
.collapse {
    transition: height 0.35s ease;
    overflow: hidden;
}

.collapse:not(.show) {
    height: 0;
}

.collapse.show {
    height: auto;
}

/* FAQ Section Enhanced */
.game-faq {
    padding: 100px 20px;
    background: linear-gradient(135deg, #0a0f1c 0%, #1a2332 50%, #0a0f1c 100%);
    position: relative;
    overflow: hidden;
}

.game-faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(138, 43, 226, 0.08) 0%, 
        rgba(255, 183, 77, 0.05) 50%,
        transparent 100%);
    z-index: 0;
}

.faq-accordion {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: linear-gradient(145deg, 
        rgba(15, 20, 35, 0.95) 0%, 
        rgba(26, 35, 50, 0.9) 100%);
    border: 2px solid transparent;
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    border-color: rgba(138, 43, 226, 0.4);
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.2);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: linear-gradient(135deg, 
        rgba(138, 43, 226, 0.15) 0%, 
        rgba(255, 183, 77, 0.1) 100%);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    text-align: left;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

.faq-question::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(var(--medieval-gold), 0.1) 0%, 
        rgba(255, 183, 77, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.faq-question:hover::before {
    opacity: 1;
}

.faq-question:hover {
    color: var(--medieval-gold);
    background: linear-gradient(135deg, 
        rgba(138, 43, 226, 0.25) 0%, 
        rgba(255, 183, 77, 0.15) 100%);
}

.faq-question i {
    font-size: 1.2rem;
    color: var(--medieval-gold);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.faq-question.active i {
    transform: rotate(180deg);
    color: #ffb74d;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(180deg, 
        rgba(15, 20, 35, 0.98) 0%, 
        rgba(26, 35, 50, 1) 100%);
}

.faq-answer.show {
    max-height: 300px;
    border-top: 1px solid rgba(138, 43, 226, 0.3);
}

.faq-content {
    padding: 30px;
    color: #e0e0e0;
    line-height: 1.7;
    font-size: 1.05rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.9));
}

/* Call to Action */
.game-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, 
        rgba(var(--primary-rgb), 0.1) 0%, 
        rgba(var(--secondary-rgb), 0.1) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.game-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(var(--secondary-rgb), 0.1) 0%, transparent 50%);
    opacity: 0.5;
    z-index: 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.4);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Custom Modal Enhanced */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.modal-dialog {
    position: relative;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    z-index: 1;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.modal.show .modal-dialog {
    transform: scale(1);
}

.modal-content {
    background: linear-gradient(145deg, 
        rgba(15, 20, 35, 0.98) 0%, 
        rgba(26, 35, 50, 0.95) 100%);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, 
        rgba(138, 43, 226, 0.2) 0%, 
        rgba(255, 183, 77, 0.1) 100%);
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 0, 0, 0.2);
    color: #ff6b6b;
}

.modal-body {
    padding: 0;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.modal.show {
    display: block !important;
}

.modal-dialog {
    max-width: 90vw;
    margin: 2rem auto;
    position: relative;
    width: auto;
    pointer-events: none;
}

.modal-content {
    background: linear-gradient(135deg, #1a2332 0%, #0e1a2e 100%);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2) 0%, rgba(255, 183, 77, 0.1) 100%);
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-top-left-radius: calc(20px - 1px);
    border-top-right-radius: calc(20px - 1px);
}

.modal-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 0;
    line-height: 1.5;
}

.btn-close {
    background: none;
    border: none;
    color: #ffffff;
    opacity: 0.8;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: -0.5rem -0.5rem -0.5rem auto;
}

.btn-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.btn-close::before {
    content: '×';
    font-size: 2rem;
    line-height: 1;
}

.modal-body {
    padding: 0;
    background: #000;
    position: relative;
    flex: 1 1 auto;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Custom backdrop */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.show {
    opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .gameplay-info {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .commands-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .game-hero {
        padding: 40px 20px;
        min-height: 70vh;
    }
    
    .server-info,
    .classes-section,
    .game-features,
    .how-it-works,
    .commands-section,
    .game-faq,
    .game-cta {
        padding: 60px 20px;
    }
    
    .server-stats-grid,
    .classes-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-lg {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .game-hero {
        padding: 30px 15px;
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .game-showcase {
        transform: none;
    }
    
    .game-showcase:hover {
        transform: none;
    }
    
    .commands-accordion {
        margin-top: 40px;
    }
    
    .category-header {
        padding: 20px;
    }
    
    .commands-list {
        padding: 20px;
    }
    
    .command-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .command-key {
        min-width: auto;
    }
}
