/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b35;
    --secondary-color: #1a1a2e;
    --accent-color: #e94560;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --background-dark: #0f0f23;
    --background-card: #16213e;
    --gradient-primary: linear-gradient(135deg, #ff6b35, #e94560);
    --gradient-secondary: linear-gradient(135deg, #1a1a2e, #16213e);
    --shadow-primary: 0 8px 32px rgba(255, 107, 53, 0.3);
    --shadow-secondary: 0 8px 32px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(255, 107, 53, 0.6);
}

.nav-logo i {
    margin-right: 10px;
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.language-dropdown {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--background-card);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 25px;
    padding: 8px 15px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.language-btn:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.language-btn img {
    width: 18px;
    height: 14px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.language-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.language-dropdown.active .language-btn i {
    transform: rotate(180deg);
}

.language-options {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--background-card);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 15px;
    padding: 10px 0;
    min-width: 160px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    backdrop-filter: blur(10px);
}

.language-dropdown.active .language-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.language-option:hover {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
}

.language-option img {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.language-option span {
    font-weight: 500;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-secondary);
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    margin: 0 0 0.5rem 0;
}

.title-main {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    font-family: 'Orbitron', monospace;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.title-sub {
    display: block;
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Particles Animation */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    top: 80%;
    left: 40%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    top: 40%;
    left: 60%;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    top: 10%;
    left: 90%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 60px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Games Section */
.games {
    background: var(--background-dark);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.game-card {
    background: var(--background-card);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover::before {
    opacity: 1;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3);
    text-decoration: none;
    color: inherit;
}

.game-card:visited {
    color: inherit;
}

.game-card:active {
    transform: translateY(-5px);
}

.game-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), #ff8a50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.game-card:hover .game-icon {
    transform: scale(1.1) rotateY(360deg);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

.game-card h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.game-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.game-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.game-stats span {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.game-stats i {
    margin-right: 5px;
}

/* Tournaments Section */
.tournaments {
    background: var(--gradient-secondary);
}

.tournament-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.tournament-card {
    background: var(--background-card);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 30px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
}

.tournament-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-primary);
    border-color: var(--primary-color);
}

.tournament-date {
    text-align: center;
    background: var(--gradient-primary);
    padding: 20px;
    border-radius: 15px;
    min-width: 80px;
}

.tournament-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.tournament-date .month {
    display: block;
    font-size: 0.9rem;
    color: white;
    opacity: 0.9;
}

.tournament-info {
    flex: 1;
}

.tournament-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.tournament-info p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.tournament-meta {
    display: flex;
    gap: 20px;
}

.tournament-meta span {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.tournament-meta i {
    margin-right: 5px;
}

/* Community Section */
.community {
    background: var(--background-dark);
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.stat-card {
    text-align: center;
    background: var(--background-card);
    padding: 40px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.community-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature {
    text-align: center;
    padding: 20px;
}

.feature i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature p {
    color: var(--text-secondary);
}

/* Contact Section */
.contact {
    background: var(--gradient-secondary);
}

.contact-intro {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(41, 41, 71, 0.8));
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 53, 0.3);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.contact-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(255, 107, 53, 0.1));
    border-radius: 20px;
    pointer-events: none;
}

.contact-intro h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.contact-intro p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(41, 41, 71, 0.8));
    padding: 35px;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 53, 0.3);
    backdrop-filter: blur(15px);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(255, 107, 53, 0.1));
    border-radius: 20px;
    pointer-events: none;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-align: left;
    position: relative;
    z-index: 1;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
    text-align: left;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-method:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.4);
    transform: translateX(5px);
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-form {
    background: rgba(26, 26, 46, 0.8);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: var(--background-dark);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-secondary);
}

.contact-form textarea {
    flex: 1;
    min-height: 120px;
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--background-dark);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
}

.footer-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-brand {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.footer-brand i {
    margin-right: 10px;
}

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--background-card);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.footer-social a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.footer-social a i {
    margin: 0;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--background-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        border-radius: 0 0 20px 20px;
        border: 1px solid rgba(255, 107, 53, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }

    /* Language selector responsive */
    .language-selector {
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .language-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .language-btn img {
        width: 16px;
        height: 12px;
    }
    
    .language-options {
        min-width: 140px;
        right: -10px;
    }
    
    .language-option {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .language-option img {
        width: 18px;
        height: 13px;
    }

    .title-main {
        font-size: 2.5rem;
    }

    .title-sub {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .section-title {
        font-size: 2rem;
    }

    .tournament-card {
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-intro {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .contact-intro h3 {
        font-size: 2rem;
    }
    
    .contact-intro p {
        font-size: 1rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .game-card {
        padding: 20px;
    }

    .game-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .game-card h3 {
        font-size: 1.3rem;
    }

    .game-card p {
        font-size: 0.9rem;
    }

    .community-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .community-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content {
        padding: 0 15px;
    }

    .title-main {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .game-card {
        padding: 15px;
        text-align: center;
    }

    .game-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin: 0 auto 10px;
    }

    .community-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .game-card,
    .feature {
        text-align: center;
    }
    
    /* Language selector for very small screens */
    .language-selector {
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .language-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
    
    .language-btn img {
        width: 14px;
        height: 10px;
    }
    
    .language-options {
        min-width: 120px;
        right: -5px;
    }
    
    .language-option {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .language-option img {
        width: 16px;
        height: 12px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* MetaServers Section */
.metaservers {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.metaservers::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 1000 1000"><circle cx="100" cy="100" r="2" fill="%23ff6b35" opacity="0.2"/><circle cx="300" cy="250" r="1" fill="%23ff6b35" opacity="0.3"/><circle cx="700" cy="150" r="1.5" fill="%23e74c3c" opacity="0.25"/><circle cx="900" cy="400" r="2" fill="%23ff6b35" opacity="0.2"/><circle cx="200" cy="600" r="1" fill="%23e74c3c" opacity="0.3"/><circle cx="500" cy="750" r="1.5" fill="%23ff6b35" opacity="0.25"/><circle cx="800" cy="850" r="2" fill="%23e74c3c" opacity="0.2"/></svg>');
    animation: float 20s infinite linear;
    pointer-events: none;
}

/* Main Description Box */
.server-description-box {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(231, 76, 60, 0.1));
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.1);
}

.server-description-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: -100%; }
}

.description-icon {
    font-size: 4rem;
    color: #ff6b35;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(231, 76, 60, 0.15));
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(255, 107, 53, 0.4);
}

.description-content h3 {
    color: #ff6b35;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.description-content p {
    color: #b0b3c1;
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0;
}

/* Features Grid */
.server-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9));
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    gap: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    color: #ff6b35;
    min-width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(231, 76, 60, 0.05));
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 107, 53, 0.3);
    height: fit-content;
}

.feature-content h4 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-content p {
    color: #b0b3c1;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Servers Section */
.servers-section {
    margin-bottom: 60px;
}

.servers-title {
    color: #ff6b35;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.servers-title i {
    font-size: 2.5rem;
}

.metaserver-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.metaserver-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 100%);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.metaserver-card.featured {
    border: 2px solid rgba(255, 107, 53, 0.5);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(231, 76, 60, 0.1) 100%);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.metaserver-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.6s ease;
}

.metaserver-card:hover::before {
    left: 100%;
}

.metaserver-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.15);
}

.server-icon {
    font-size: 3rem;
    color: #ff6b35;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(231, 76, 60, 0.1));
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.server-info {
    flex: 1;
}

.server-info h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.server-info p {
    color: #b0b3c1;
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.server-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.server-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #8a8ca8;
    font-size: 0.9rem;
}

.server-meta .text-online {
    color: #27ae60;
}

.server-features-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.feature-tag {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.8), rgba(231, 76, 60, 0.8));
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metaserver-card .btn {
    min-width: 120px;
    padding: 12px 25px;
}

/* Join Community Box */
.join-community-box {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(231, 76, 60, 0.1));
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.1);
}

.join-community-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    animation: shimmer 4s infinite;
}

.join-icon {
    font-size: 4rem;
    color: #ff6b35;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(231, 76, 60, 0.15));
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(255, 107, 53, 0.4);
}

.join-content h3 {
    color: #ff6b35;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.join-content p {
    color: #b0b3c1;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.btn-large {
    font-size: 1.2rem;
    padding: 18px 35px;
    gap: 12px;
    display: inline-flex;
    align-items: center;
}

/* Responsive for MetaServers */
@media (max-width: 768px) {
    .server-description-box {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }
    
    .server-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .metaserver-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 25px 20px;
    }
    
    .server-meta {
        justify-content: center;
        gap: 15px;
    }
    
    .metaserver-card .btn {
        width: 100%;
    }
    
    .join-community-box {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }
    
    .servers-title {
        flex-direction: column;
        gap: 10px;
        font-size: 1.8rem;
    }
}

/* What Makes Us Different Box */
.what-makes-us-different-box {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(231, 76, 60, 0.08));
    border: 2px solid rgba(255, 107, 53, 0.25);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.08);
}

.what-makes-us-different-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.08), transparent);
    animation: shimmer 4s infinite;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.section-header i {
    font-size: 2.5rem;
    color: #ff6b35;
}

.section-header h3 {
    color: #ff6b35;
    font-size: 2.2rem;
    margin: 0;
    font-weight: 700;
}

/* Servers Section Box */
.servers-section-box {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
    border: 2px solid rgba(255, 107, 53, 0.25);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.servers-section-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    animation: shimmer 5s infinite;
}

.servers-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.servers-header i {
    font-size: 2.5rem;
    color: #ff6b35;
}

.servers-header h3 {
    color: #ff6b35;
    font-size: 2.2rem;
    margin: 0;
    font-weight: 700;
}

/* Why Join Us Box */
.why-join-us-box {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(231, 76, 60, 0.1));
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.1);
}

.why-join-us-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    animation: shimmer 3.5s infinite;
}

/* Community Showcase Layout */
.community-showcase {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: stretch;
}

.community-description {
    flex: 1;
}

.community-features-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.community-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
}

.community-feature-item:hover {
    background: rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
}

.community-feature-item i {
    color: #ff6b35;
    font-size: 1.5rem;
    min-width: 24px;
    margin-top: 2px;
}

.community-feature-item p {
    color: #e1e5f2;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

.join-button-container {
    text-align: center;
    margin-top: 30px;
}

/* Discord Widget */
.discord-widget-container {
    background: rgba(22, 33, 62, 0.8);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.discord-widget-header {
    background: linear-gradient(135deg, #5865f2, #4752c4);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.discord-widget-header i {
    font-size: 1.3rem;
}

.discord-widget-container iframe {
    border: none;
    background: transparent;
    width: 100%;
    flex: 1;
    min-height: 700px;
}



/* Legacy styles for backwards compatibility */
.friendship-first {
    display: flex;
    align-items: center;
    gap: 30px;
}

.friendship-icon {
    font-size: 4rem;
    color: #ff6b35;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(231, 76, 60, 0.15));
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(255, 107, 53, 0.4);
}

.friendship-text h4 {
    color: #ff6b35;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.friendship-text p {
    color: #b0b3c1;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Responsive Updates */
@media (max-width: 1024px) {
    .community-showcase {
        grid-template-columns: 1fr 350px;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .what-makes-us-different-box,
    .servers-section-box,
    .why-join-us-box {
        padding: 30px 20px;
    }
    
    .section-header,
    .servers-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .section-header h3,
    .servers-header h3 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .community-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .discord-widget-container {
        order: -1;
        min-height: 400px;
    }
    
    .discord-widget-container iframe {
        height: 350px;
    }
    
    .community-feature-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 15px;
    }
    
    .community-feature-item i {
        margin-top: 0;
    }
    
    .friendship-first {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .friendship-text h4 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .community-showcase {
        gap: 20px;
    }
    
    .discord-widget-container {
        min-height: 350px;
    }
    
    .discord-widget-container iframe {
        height: 300px;
    }
    
    .community-features-list {
        gap: 15px;
    }
    
    .community-feature-item {
        padding: 12px;
    }
    
    .discord-widget-header {
        padding: 12px 15px;
        font-size: 1rem;
    }
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 9999;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.fade-out {
    transform: translateX(100%);
    opacity: 0;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.notification-content i {
    font-size: 1.2rem;
}

.notification-success {
    border-color: rgba(39, 174, 96, 0.5);
}

.notification-success .notification-content i {
    color: #27ae60;
}

.notification-error {
    border-color: rgba(231, 76, 60, 0.5);
}

.notification-error .notification-content i {
    color: #e74c3c;
}

.notification-info {
    border-color: rgba(52, 152, 219, 0.5);
}

.notification-info .notification-content i {
    color: #3498db;
}

.notification-content span {
    color: #ffffff;
    font-weight: 500;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: #8a8ca8;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.notification-close:hover {
    background: rgba(255, 107, 53, 0.1);
    color: #ff6b35;
}

/* Server Connect Button Effects */
.server-connect-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.server-connect-btn.copied {
    background: linear-gradient(135deg, #27ae60, #2ecc71) !important;
    border-color: #27ae60 !important;
    color: #ffffff !important;
    transform: scale(0.95);
}

.server-connect-btn:hover {
    transform: translateY(-2px);
}

.server-connect-btn.copied:hover {
    transform: scale(0.95);
}

/* Responsive Notifications */
@media (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        padding: 15px;
    }
    
    .notification-content {
        gap: 10px;
    }
    
    .notification-content span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .notification {
        padding: 12px;
    }
    
    .notification-content i {
        font-size: 1rem;
    }
    
    .notification-content span {
        font-size: 0.85rem;
    }
}

/* No Animation Elements */
.stat-number.no-animation {
    animation: none !important;
    transition: none !important;
}

/* Form Enhancements */
.form-group {
    position: relative;
    margin-bottom: 20px;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
}

.error-message {
    color: #ff4757;
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 20px;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.error-message.show {
    opacity: 1;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #ff4757;
    box-shadow: 0 0 5px rgba(255, 71, 87, 0.3);
}

.form-group.success input,
.form-group.success textarea {
    border-color: #2ed573;
    box-shadow: 0 0 5px rgba(46, 213, 115, 0.3);
}

.character-count {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: var(--background-card);
    padding: 2px 6px;
    border-radius: 10px;
    pointer-events: none;
}

.character-count.warning {
    color: #ffa502;
}

.character-count.danger {
    color: #ff4757;
}

.btn-loading {
    display: none;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loading {
    display: inline-block;
}

.form-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
    text-align: center;
}

.form-status.success {
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid rgba(46, 213, 115, 0.3);
    color: #2ed573;
    display: block;
}

.form-status.error {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: #ff4757;
    display: block;
}

.form-status.info {
    background: rgba(0, 188, 212, 0.1);
    border: 1px solid rgba(0, 188, 212, 0.3);
    color: #00bcd4;
    display: block;
}

/* Language option focus styles */
.language-option:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
    background: rgba(255, 107, 53, 0.1);
}

/* Improved focus styles for buttons */
.btn:focus-visible,
.language-btn:focus-visible,
.hamburger:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    font-weight: bold;
}

.skip-link:focus {
    top: 6px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .particle {
        animation: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid;
    }
    
    .language-option:hover,
    .language-option:focus {
        background: var(--text-primary);
        color: var(--background-dark);
    }
}

/* Enhanced Accessibility and Performance Styles */

/* Focus indicators for better keyboard navigation */
.btn:focus-visible,
.nav-link:focus-visible,
.language-option:focus-visible,
.game-card:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Enhanced skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    font-weight: bold;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Improved form validation styles */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #e94560;
    background-color: rgba(233, 69, 96, 0.1);
}

.form-group.success input,
.form-group.success textarea {
    border-color: #28a745;
    background-color: rgba(40, 167, 69, 0.1);
}

.error-message {
    color: #e94560;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
    font-weight: 500;
}

.error-message.show {
    display: block;
}

.character-count {
    position: absolute;
    bottom: -1.5rem;
    right: 0;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.character-count.warning {
    color: #ffc107;
}

.character-count.danger {
    color: #e94560;
}

/* Loading state for buttons */
.btn.loading {
    position: relative;
    pointer-events: none;
}

.btn.loading .btn-text {
    opacity: 0.7;
}

.btn-loading {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.btn.loading .btn-loading {
    display: block;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Enhanced form status messages */
.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-status.success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid #28a745;
    color: #28a745;
}

.form-status.error {
    background-color: rgba(233, 69, 96, 0.1);
    border: 1px solid #e94560;
    color: #e94560;
}

.form-status.info {
    background-color: rgba(0, 123, 255, 0.1);
    border: 1px solid #007bff;
    color: #007bff;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .particle {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }
    
    .language-option:hover,
    .nav-link:hover,
    .game-card:hover {
        outline: 2px solid currentColor;
        outline-offset: 2px;
    }
    
    .notification {
        border: 2px solid currentColor;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-bg,
    .particle,
    .notification {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: black;
        background: white;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .btn {
        border: 1px solid black;
        background: white;
        color: black;
    }
}

/* ================================
   AUDIO CONTROLS STYLES
   ================================ */

.audio-container {
    display: none; /* Hidden audio elements */
}

.audio-controls {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: var(--background-card);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 15px;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.audio-controls:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.2);
}

.audio-btn {
    background: linear-gradient(135deg, var(--primary-color), #e91e63);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.audio-btn:hover::before {
    left: 100%;
}

.audio-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.audio-btn:active {
    transform: scale(0.95);
}

.audio-btn.muted {
    background: linear-gradient(135deg, #666, #999);
    color: #ccc;
}

.audio-btn.muted i {
    opacity: 0.5;
}

.volume-control {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    position: relative;
}

.volume-control i {
    color: var(--primary-color);
    font-size: 12px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.volume-control i:hover {
    opacity: 1;
    transform: scale(1.2);
}

.volume-slider-container {
    position: relative;
    height: 80px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#volumeSlider {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 80px;
    height: 20px;
    background: linear-gradient(to right, var(--primary-color) 0%, var(--primary-color) 50%, #666 50%, #666 100%);
    outline: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: rotate(-90deg);
    transform-origin: center;
    margin: 0;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

#volumeSlider:hover {
    transform: rotate(-90deg) scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

#volumeSlider::-webkit-slider-track {
    appearance: none;
    width: 100%;
    height: 20px;
    background: transparent;
    border-radius: 10px;
}

#volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

#volumeSlider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.5);
    border-color: #ff8a50;
}

#volumeSlider::-moz-range-track {
    width: 100%;
    height: 20px;
    border-radius: 10px;
    background: linear-gradient(to right, #666, var(--primary-color));
    border: none;
}

#volumeSlider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

#volumeSlider::-moz-range-thumb:hover {
    transform: scale(1.3);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.5);
    border-color: #ff8a50;
}

/* Audio visualization effect */
.audio-btn.playing {
    animation: audioVibration 0.5s ease-in-out infinite alternate;
}

@keyframes audioVibration {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
    }
    100% { 
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(255, 107, 53, 0.8);
    }
}

/* Audio wave animation */
.audio-btn.music-playing::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: musicWave 2s ease-in-out infinite;
}

@keyframes musicWave {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .audio-controls {
        right: 10px;
        padding: 10px 8px;
        gap: 10px;
        transform: translateY(-50%) scale(0.9);
    }
    
    .audio-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    #volumeSlider {
        height: 60px;
        width: 18px;
    }
    
    .volume-control i {
        font-size: 10px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .audio-controls {
        border: 2px solid var(--primary-color);
        background: var(--background-primary);
    }
    
    .audio-btn {
        border: 2px solid var(--primary-color);
    }
}

/* Fix for h1 fragmented elements warning */
h1 {
    font-size: 2.5rem;
    margin: 0.67em 0;
    line-height: 1.2;
} 