/* ===== VARIABLES ===== */
:root {
    /* Colors */
    --primary: #4361ee;
    --primary-light: #4895ef;
    --primary-dark: #3a0ca3;
    --accent: #f72585;
    --accent-light: #ff4d6d;
    --accent-dark: #b5179e;
    --dark: #0f172a;
    --darker: #060b18;
    --light: #f8f9fa;
    --gray: #94a3b8;
    --gray-light: #cbd5e1;
    --gray-dark: #475569;

    /* Card Rarities */
    --common: #4cc9f0;
    --epic: #7209b7;
    --legendary: #ffd60a;
    --mystic: #f72585;
    --world-class: #ffffff;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* ===== RESET & BASE STYLES ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--light);
}

a {
    text-decoration: none;
    color: var(--primary-light);
    transition: var(--transition-normal);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ===== LANGUAGE SWITCHER ===== */
.language-switcher {
    position: fixed;
    top: var(--space-sm);
    right: var(--space-sm);
    display: flex;
    gap: var(--space-xs);
    z-index: 1000;
    opacity: 0.6;
    transition: var(--transition-normal);
}

.language-switcher:hover {
    opacity: 1;
}

.lang-btn {
    background-color: rgba(15, 23, 42, 0.7);
    color: var(--gray);
    border: 1px solid var(--gray-dark);
    border-radius: var(--radius-full);
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
    backdrop-filter: blur(5px);
}

.lang-btn.active {
    background-color: var(--primary);
    color: var(--light);
    border-color: var(--primary);
}

.lang-btn:hover:not(.active) {
    color: var(--light);
    border-color: var(--gray-light);
    transform: translateY(-2px);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(6, 11, 24, 0.85);
    backdrop-filter: blur(15px);
    z-index: 100;
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.header.scrolled {
    background-color: rgba(6, 11, 24, 0.95);
    padding: var(--space-sm) 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--light);
    position: relative;
    z-index: 2;
}

.logo i {
    color: var(--primary);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.logo:hover i {
    transform: rotate(10deg) scale(1.1);
}

.nav-list {
    display: flex;
    gap: var(--space-xl);
}

.nav-link {
    color: var(--gray-light);
    font-weight: 500;
    position: relative;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease, left 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover, .nav-link.active {
    color: var(--light);
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 70%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--light);
    transition: var(--transition-normal);
    border-radius: var(--radius-full);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    font-size: 0.85rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.btn:hover::before {
    transform: translateX(100%) rotate(45deg);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--light);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.3);
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-light);
    color: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(247, 37, 133, 0.2);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: var(--space-3xl) 0 var(--space-2xl);
    margin-top: var(--space-3xl);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(ellipse at top right, rgba(67, 97, 238, 0.1), transparent 70%),
                radial-gradient(ellipse at bottom left, rgba(247, 37, 133, 0.1), transparent 70%);
    z-index: -1;
    transform: rotate(-10deg);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    background: linear-gradient(to right, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: var(--radius-full);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    color: var(--gray-light);
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    animation: fadeIn 1s ease-out 0.6s both;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.card-preview {
    position: relative;
    width: 100%;
    height: 400px;
    perspective: 1000px;
}

.card {
    position: absolute;
    width: 200px;
    height: 280px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
    z-index: 2;
}

.card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0)
    );
    transform: rotate(30deg);
    animation: shimmer 5s infinite linear;
    z-index: 1;
}

@keyframes shimmer {
    from {
        transform: rotate(30deg) translateY(100%);
    }
    to {
        transform: rotate(30deg) translateY(-100%);
    }
}

.card-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotateY(-5deg) rotateX(5deg);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    z-index: 3;
    animation: floatCard1 6s ease-in-out infinite;
}

.card-2 {
    top: 20px;
    left: 20%;
    transform: translateX(-50%) rotate(-5deg) rotateY(5deg) rotateX(-5deg);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    z-index: 2;
    animation: floatCard2 7s ease-in-out infinite;
}

.card-3 {
    top: 40px;
    left: 80%;
    transform: translateX(-50%) rotate(5deg) rotateY(-5deg) rotateX(5deg);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    z-index: 1;
    animation: floatCard3 8s ease-in-out infinite;
}

@keyframes floatCard1 {
    0%, 100% {
        transform: translateX(-50%) rotateY(-5deg) rotateX(5deg) translateZ(0);
    }
    50% {
        transform: translateX(-50%) rotateY(-5deg) rotateX(5deg) translateZ(20px);
    }
}

@keyframes floatCard2 {
    0%, 100% {
        transform: translateX(-50%) rotate(-5deg) rotateY(5deg) rotateX(-5deg) translateZ(0);
    }
    50% {
        transform: translateX(-50%) rotate(-5deg) rotateY(5deg) rotateX(-5deg) translateZ(15px);
    }
}

@keyframes floatCard3 {
    0%, 100% {
        transform: translateX(-50%) rotate(5deg) rotateY(-5deg) rotateX(5deg) translateZ(0);
    }
    50% {
        transform: translateX(-50%) rotate(5deg) rotateY(-5deg) rotateX(5deg) translateZ(10px);
    }
}

/* ===== SECTION STYLES ===== */
section {
    padding: var(--space-3xl) 0;
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(67, 97, 238, 0.05), transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(247, 37, 133, 0.05), transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-2xl);
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: var(--radius-full);
}

/* ===== FEATURES SECTION ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.feature-item {
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--light);
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    transform: rotate(30deg);
    z-index: -1;
    transition: transform 0.6s ease;
}

.feature-item:hover .feature-icon::after {
    transform: rotate(30deg) translate(50%, 50%);
}

.feature-item h3 {
    margin-bottom: var(--space-md);
    font-size: 1.4rem;
    background: linear-gradient(to right, var(--light), var(--gray-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature-item p {
    color: var(--gray-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== RARITIES SECTION ===== */
.rarities {
    margin-top: var(--space-3xl);
    position: relative;
}

.rarities h3 {
    font-size: 1.8rem;
    margin-bottom: var(--space-xl);
    text-align: center;
    background: linear-gradient(to right, var(--primary-light), var(--accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.rarities h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: var(--radius-full);
}

.rarities-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    perspective: 1000px;
}

.rarity {
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-xl);
    min-width: 220px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.rarity::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
    z-index: 1;
    pointer-events: none;
}

.rarity:hover {
    transform: translateY(-5px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.rarity span {
    position: relative;
    z-index: 2;
}

.rarity span:last-child {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.rarity.common {
    background: linear-gradient(135deg, var(--common), #3a86ff);
    color: var(--darker);
}

.rarity.epic {
    background: linear-gradient(135deg, var(--epic), #560bad);
    color: var(--light);
}

.rarity.legendary {
    background: linear-gradient(135deg, var(--legendary), #ff9e00);
    color: var(--darker);
}

.rarity.mystic {
    background: linear-gradient(135deg, var(--mystic), #b5179e);
    color: var(--light);
}

.rarity.world-class {
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    color: var(--darker);
}

/* ===== UPDATES SECTION ===== */
.update-card {
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-xl);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.update-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(67, 97, 238, 0.2);
}

.update-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: var(--space-md) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.update-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    z-index: 0;
}

.update-header h3 {
    margin: 0;
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.update-badge {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--light);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(247, 37, 133, 0.3);
}

.update-content {
    padding: var(--space-xl);
}

.update-section {
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s ease-out both;
}

.update-section:nth-child(2) {
    animation-delay: 0.2s;
}

.update-section:nth-child(3) {
    animation-delay: 0.4s;
}

.update-section:last-child {
    margin-bottom: 0;
}

.update-section h4 {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    font-size: 1.2rem;
    color: var(--light);
    position: relative;
    padding-bottom: var(--space-xs);
}

.update-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--primary), transparent);
}

.update-section h4 i {
    color: var(--primary-light);
    font-size: 1.3rem;
}

.update-section ul {
    padding-left: var(--space-lg);
}

.update-section ul li {
    margin-bottom: var(--space-md);
    position: relative;
    color: var(--gray-light);
    transition: all 0.3s ease;
    padding-left: var(--space-xs);
}

.update-section ul li:hover {
    color: var(--light);
    transform: translateX(5px);
}

.update-section ul li::before {
    content: '•';
    position: absolute;
    left: calc(-1 * var(--space-lg));
    color: var(--accent);
    font-size: 1.2rem;
}

.update-footer {
    padding: var(--space-md) var(--space-lg);
    background: rgba(6, 11, 24, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--gray);
    font-size: 0.875rem;
    font-style: italic;
}

.update-section:last-child {
    margin-bottom: 0;
}

.update-section-title {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--light);
}

.update-section-title i {
    color: var(--primary);
}

.update-list {
    padding-left: var(--space-6);
}

.update-list li {
    margin-bottom: var(--space-2);
    position: relative;
    color: var(--light);
    opacity: 0.9;
}

.update-list li::before {
    content: '•';
    position: absolute;
    left: calc(-1 * var(--space-4));
    color: var(--secondary);
}

.update-footer {
    padding: var(--space-4) var(--space-6);
    background: rgba(7, 7, 20, 0.4);
    border-top: 1px solid rgba(67, 97, 238, 0.2);
    text-align: center;
}

.update-date {
    color: var(--light);
    opacity: 0.7;
    margin: 0;
    font-size: var(--fs-sm);
}

.future-updates {
    background: rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(10px);
    border: 2px dashed rgba(67, 97, 238, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin-top: var(--space-2xl);
}

.future-updates::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(67, 97, 238, 0.05), transparent 70%);
    z-index: -1;
    animation: pulse 10s infinite linear;
}

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

.future-updates h3 {
    text-align: center;
    margin-bottom: var(--space-xl);
    font-size: 1.6rem;
    background: linear-gradient(to right, var(--primary-light), var(--accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.future-updates h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: var(--radius-full);
}

.future-updates ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.future-updates ul li {
    background: rgba(67, 97, 238, 0.1);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    color: var(--gray-light);
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    font-size: 1.05rem;
}

.future-updates ul li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.future-updates ul li:hover {
    transform: translateY(-5px) translateX(5px);
    background: rgba(67, 97, 238, 0.15);
    color: var(--light);
    box-shadow: 0 10px 25px rgba(67, 97, 238, 0.2);
    border-left-color: transparent;
}

.future-updates ul li:hover::before {
    transform: scaleY(1);
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    position: relative;
}

.about-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.about-text p {
    margin-bottom: var(--space-lg);
    color: var(--gray-light);
    font-size: 1.05rem;
    line-height: 1.8;
    position: relative;
    padding-left: var(--space-lg);
    border-left: 2px solid rgba(67, 97, 238, 0.3);
}

.about-text p:last-of-type {
    font-weight: 500;
    color: var(--light);
}

.about-text .btn {
    margin-top: var(--space-xl);
}

.about-image {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: all 0.5s ease;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.2), transparent);
    z-index: 1;
    pointer-events: none;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.about-image img {
    transition: all 0.5s ease;
    transform: scale(1);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(to bottom, var(--darker), rgba(6, 11, 24, 0.95));
    padding: var(--space-3xl) 0 var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(67, 97, 238, 0.05), transparent 70%),
                radial-gradient(circle at 80% 80%, rgba(247, 37, 133, 0.05), transparent 70%);
    z-index: 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
}

.footer-info {
    flex: 1;
    min-width: 250px;
}

.footer-info .logo {
    margin-bottom: var(--space-md);
}

.footer-info p {
    margin-top: var(--space-md);
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 350px;
}

.footer h4 {
    margin-bottom: var(--space-md);
    font-size: 1.2rem;
    background: linear-gradient(to right, var(--light), var(--gray-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: var(--gray);
    transition: all 0.3s ease;
    position: relative;
    padding-left: var(--space-sm);
    display: inline-block;
}

.footer-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    transition: width 0.3s ease;
    transform: translateY(-50%);
}

.footer-links a:hover {
    color: var(--light);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 10px;
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-links a {
    color: var(--gray);
    font-size: 1.25rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: var(--light);
    transform: translateY(-5px);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--gray);
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        order: -1;
        margin-bottom: var(--space-lg);
    }

    .feature-item {
        transform: none !important;
    }

    .rarity:hover {
        transform: translateY(-5px) !important;
    }
}

@media (max-width: 768px) {
    /* Improved language switcher for mobile */
    .language-switcher {
        top: var(--space-xs);
        right: var(--space-xs);
    }

    .lang-btn {
        font-size: 0.7rem;
        padding: var(--space-xs) var(--space-xs);
    }

    /* Improved mobile navigation */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: rgba(6, 11, 24, 0.98);
        backdrop-filter: blur(15px);
        padding: var(--space-3xl) var(--space-lg);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 99;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: var(--space-xl);
    }

    .nav-link {
        font-size: 1.2rem;
        padding: var(--space-sm) var(--space-lg);
    }

    .menu-toggle {
        display: flex;
        z-index: 100;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Hero section adjustments */
    .hero {
        padding-top: var(--space-2xl);
        margin-top: var(--space-2xl);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: var(--space-md);
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Card preview adjustments */
    .card-preview {
        margin-top: var(--space-xl);
        height: 350px;
    }

    /* Features section adjustments */
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .feature-item {
        padding: var(--space-lg);
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    /* Rarities adjustments */
    .rarities-list {
        flex-direction: column;
        align-items: center;
    }

    .rarity {
        width: 100%;
        max-width: 300px;
    }

    /* Updates section adjustments */
    .update-section h4 {
        font-size: 1.1rem;
    }

    .update-section ul li {
        font-size: 0.95rem;
    }

    .future-updates ul {
        grid-template-columns: 1fr;
    }

    /* Footer adjustments */
    .footer-content {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    /* Extreme small screen adjustments */
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .card-preview {
        width: 100%;
        height: 350px;
    }

    .feature-item h3 {
        font-size: 1.2rem;
    }

    .feature-item p {
        font-size: 0.9rem;
    }

    .rarity {
        padding: var(--space-sm) var(--space-md);
        min-width: auto;
        width: 100%;
    }

    .update-header h3 {
        font-size: 1.2rem;
    }

    .update-badge {
        font-size: 0.7rem;
        padding: var(--space-xs) var(--space-sm);
    }

    .about-text p {
        font-size: 0.95rem;
        padding-left: var(--space-md);
    }

    /* Fix for touch devices */
    .feature-item:hover,
    .rarity:hover,
    .future-updates ul li:hover,
    .footer-links a:hover,
    .social-links a:hover {
        transform: none;
    }

    /* Add active states for touch */
    .feature-item:active,
    .rarity:active,
    .future-updates ul li:active {
        transform: scale(0.98);
    }

    .footer-links a:active {
        color: var(--primary-light);
    }

    .social-links a:active {
        background: var(--primary);
    }
}

/* Fix for landscape mode on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: var(--space-xl) 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: var(--space-md);
    }

    .card-preview {
        height: 280px;
    }

    .nav.active {
        overflow-y: auto;
    }

    .nav-list {
        gap: var(--space-md);
    }

    .nav-link {
        font-size: 1rem;
        padding: var(--space-xs) var(--space-md);
    }
}

/* Add smooth scrolling for iOS */
@supports (-webkit-touch-callout: none) {
    html {
        -webkit-overflow-scrolling: touch;
    }
}
