/* 
=================
Base Styles & Variables
=================
*/
:root {
    /* Light Mode Colors */
    --primary-color: #168a4b;
    --primary-hover: #0e6a0e;
    --secondary-color: #52B043;
    --accent-color: #3EC93E;
    --text-color: #333333;
    --text-color-light: #666666;
    --text-color-lighter: #999999;
    --background-color: #FFFFFF;
    --surface-color: #F5F5F5;
    --surface-color-dark: #EEEEEE;
    --border-color: #DDDDDD;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --success-color: #00CC66;
    --error-color: #FF3333;
    --warning-color: #FFCC00;

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

    /* Border Radius */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 2rem;
    --border-radius-circle: 50%;

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

    /* Font Sizes */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 2rem;
    --font-size-xxxl: 3rem;

    /* Container Width */
    --container-width: 1200px;

    /* Animation */
    --animation-bounce: cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Dark Mode Colors */
.dark-mode {
    --primary-color: #107C10;
    --primary-hover: #2ea62e;
    --secondary-color: #52B043;
    --accent-color: #3EC93E;
    --text-color: #F5F5F5;
    --text-color-light: #BBBBBB;
    --text-color-lighter: #888888;
    --background-color: #121212;
    --surface-color: #1E1E1E;
    --surface-color-dark: #2D2D2D;
    --border-color: #444444;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
    direction: rtl;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    color: var(--text-color);
    letter-spacing: -0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

h1 {
    font-size: calc(var(--font-size-xxxl) * 1.2);
    letter-spacing: -0.02em;
}

h2 {
    font-size: calc(var(--font-size-xxl) * 1.15);
    margin-bottom: var(--space-lg);
}

h3 {
    font-size: calc(var(--font-size-xl) * 1.1);
}

h4 {
    font-size: calc(var(--font-size-lg) * 1.05);
}

p {
    margin-bottom: var(--space-md);
}

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

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

.highlight {
    color: var(--primary-color);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.highlight.accent-green {
    color: #a8e6cf;
    text-shadow: 0 2px 10px rgba(168, 230, 207, 0.4);
}

/* Layout */
.container {
    width: 100%;
    max-width: var(--container-width);
    padding: 0 var(--space-lg);
    margin: 0 auto;
}

section {
    padding: var(--space-xxl) 0;
    position: relative;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-md);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    outline: none;
    background-color: var(--surface-color-dark);
    color: var(--text-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    opacity: 0.9;
    color: white;
}

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

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

.btn-sm {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--font-size-sm);
}

/* 
=================
Header & Navigation
=================
*/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
}

/* Nebula effects for header */
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 15% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 75% 60%, rgba(16, 185, 129, 0.1) 0%, transparent 35%);
    z-index: -1;
}

header::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: rotate(-30deg);
    animation: headerGlow 8s ease-in-out infinite;
    z-index: -1;
    opacity: 0.4;
    filter: blur(8px);
}

@keyframes headerGlow {
    0% {
        transform: translateX(-100%) rotate(-30deg);
    }
    100% {
        transform: translateX(100%) rotate(-30deg);
    }
}

header.scrolled {
    background-color: rgba(18, 18, 18, 0.85);
    padding: 0.8rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 36px;
    filter: drop-shadow(0 0 8px rgba(168, 230, 207, 0.5));
    transition: transform 0.3s ease, filter 0.3s ease;
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 0 5px rgba(168, 230, 207, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 12px rgba(168, 230, 207, 0.7));
    }
}

.logo:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(168, 230, 207, 0.8));
}

.logo span {
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    font-weight: 600;
    background: linear-gradient(90deg, #ffffff, #a8e6cf);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(168, 230, 207, 0.3);
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.25rem 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.nav-menu a:hover {
    color: rgba(168, 230, 207, 0.95);
    text-shadow: 0 0 8px rgba(168, 230, 207, 0.5);
}

.nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    right: 0;
    background: linear-gradient(90deg, rgba(168, 230, 207, 0.3), rgba(168, 230, 207, 0.8), rgba(168, 230, 207, 0.3));
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(168, 230, 207, 0.6);
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
    width: 100%;
}

.nav-menu a.active {
    color: rgba(168, 230, 207, 0.95);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 230, 207, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-toggle:hover::before {
    opacity: 1;
}

.theme-toggle:hover {
    background-color: rgba(168, 230, 207, 0.15);
    color: rgba(168, 230, 207, 1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(168, 230, 207, 0.3);
    border-color: rgba(168, 230, 207, 0.3);
}

.nav-buttons .btn {
    background-color: rgba(168, 230, 207, 0.15);
    border: 1px solid rgba(168, 230, 207, 0.3);
    color: rgba(168, 230, 207, 0.9);
    padding: 0.7rem 1.4rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    letter-spacing: 0.5px;
}

.nav-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.nav-buttons .btn:hover {
    background-color: rgba(168, 230, 207, 0.3);
    border-color: rgba(168, 230, 207, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(168, 230, 207, 0.3);
    color: rgba(168, 230, 207, 1);
    text-shadow: 0 0 10px rgba(168, 230, 207, 0.5);
}

.nav-buttons .btn:hover::before {
    left: 100%;
}

.menu-toggle {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.25s ease;
}

.menu-toggle:hover {
    background-color: rgba(168, 230, 207, 0.15);
    color: rgba(168, 230, 207, 0.9);
}

/* Hamburger menu icon */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.85);
    margin-bottom: 5px;
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.hamburger span:last-child {
    margin-bottom: 0;
}

/* Animated hamburger menu */
.menu-toggle.active .hamburger span {
    background-color: rgba(168, 230, 207, 0.9);
}

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

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

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

.menu-toggle:hover .hamburger span {
    background-color: rgba(168, 230, 207, 0.9);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: rgba(18, 18, 18, 0.9);
        flex-direction: column;
        align-items: center;
        padding: var(--space-xl) 0;
        box-shadow: 0 5px 15px var(--shadow-color);
        transition: right var(--transition-normal);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000;
        overflow: hidden;
    }

    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 30% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 65%, rgba(59, 130, 246, 0.1) 0%, transparent 40%);
        z-index: -1;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-buttons .btn {
        display: none;
    }
}

/* Add new animations for the header */
@keyframes nebulaMove {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-10px, 5px);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes morphAnimation {
    0% {
        transform: rotate(0deg) scale(1);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        transform: rotate(8deg) scale(1.05);
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
    100% {
        transform: rotate(0deg) scale(1);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-10px) translateX(5px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}

@keyframes pulseGlow {
    0% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes rotateSlowly {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* 
=================
Hero Section
=================
*/
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #168a4b 0%, #0e6a0e 50%, #163b1e 100%);
}

/* Updated hero section styles */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Nebula background */
.nebula-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.nebula-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(60px);
    mix-blend-mode: screen;
    opacity: 0.5;
}

.nebula-1 {
    background: radial-gradient(circle at 20% 35%, rgba(168, 230, 207, 0.7) 0%, transparent 45%),
    radial-gradient(circle at 75% 25%, rgba(168, 230, 207, 0.5) 0%, transparent 50%);
    animation: nebulaMove 40s ease-in-out infinite alternate;
}

.nebula-2 {
    background: radial-gradient(circle at 80% 65%, rgba(140, 210, 180, 0.5) 0%, transparent 50%),
    radial-gradient(circle at 25% 65%, rgba(168, 230, 207, 0.4) 0%, transparent 45%);
    animation: nebulaMove 35s ease-in-out infinite alternate-reverse;
}

.nebula-3 {
    background: radial-gradient(circle at 50% 50%, rgba(120, 190, 160, 0.3) 0%, transparent 40%),
    radial-gradient(circle at 10% 75%, rgba(100, 180, 140, 0.3) 0%, transparent 40%);
    opacity: 0.3;
    animation: nebulaMove 45s ease-in-out infinite alternate;
}

/* Morph shapes */
.morph-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.morph-shape {
    position: absolute;
    filter: blur(40px);
    opacity: 0.4;
    animation: morphAnimation 20s ease-in-out infinite;
}

.shape-1 {
    top: -10%;
    right: 5%;
    width: 40vw;
    height: 40vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, rgba(168, 230, 207, 0.6) 0%, transparent 70%);
}

.shape-2 {
    bottom: -15%;
    left: -5%;
    width: 50vw;
    height: 30vw;
    max-width: 700px;
    max-height: 500px;
    background: radial-gradient(circle, rgba(140, 210, 180, 0.5) 0%, transparent 70%);
    animation-delay: -5s;
}

.shape-3 {
    top: 40%;
    right: 20%;
    width: 25vw;
    height: 25vw;
    max-width: 350px;
    max-height: 350px;
    background: radial-gradient(circle, rgba(120, 190, 160, 0.4) 0%, transparent 70%);
    animation-delay: -10s;
}

/* Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(168, 230, 207, 0.8);
    box-shadow: 0 0 10px rgba(168, 230, 207, 0.5);
    animation: particleFloat 15s ease-in-out infinite alternate;
}

.particle:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: -2s;
}

.particle:nth-child(2) {
    top: 65%;
    left: 20%;
    animation-delay: -4s;
}

.particle:nth-child(3) {
    top: 25%;
    left: 85%;
    animation-delay: -6s;
}

.particle:nth-child(4) {
    top: 75%;
    left: 80%;
    animation-delay: -8s;
}

.particle:nth-child(5) {
    top: 10%;
    left: 50%;
    animation-delay: -10s;
}

.particle:nth-child(6) {
    top: 65%;
    left: 50%;
    animation-delay: -12s;
}

.particle:nth-child(7) {
    top: 35%;
    left: 30%;
    animation-delay: -14s;
}

.particle:nth-child(8) {
    top: 40%;
    left: 70%;
    animation-delay: -16s;
}

/* Hero wrapper */
.hero-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 3rem 0;
}

/* Hero content */
.hero-content {
    flex: 1;
    max-width: 600px;
}

.glass-tag {
    display: inline-flex;
    align-items: center;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 600;
    font-size: var(--font-size-sm);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: var(--space-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    font-weight: 900;
    color: white;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title-animated {
    display: block;
    font-size: 3.2rem;
    margin-top: 0.5rem;
    font-weight: 700;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 90%;
    line-height: 1.7;
}

/* Feature cards */
.feature-cards {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.glass-card {
    flex: 1;
    padding: 1.25rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-icon {
    font-size: 1.8rem;
    margin-bottom: 0.7rem;
}

.card-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* CTA buttons */
.hero-cta {
    display: flex;
    gap: 1rem;
}

.primary-btn {
    padding: 0.9rem 1.8rem;
    background: rgba(168, 230, 207, 0.8);
    color: #1a1a1a;
    font-weight: 700;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.primary-btn:hover {
    transform: translateY(-3px);
    background: rgba(168, 230, 207, 0.95);
    color: #1a1a1a;
}

.primary-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.7s ease;
}

.primary-btn:hover::before {
    left: 100%;
}

.outline-btn {
    padding: 0.9rem 1.8rem;
    background: transparent;
    border: 1px solid rgba(168, 230, 207, 0.6);
    color: rgba(168, 230, 207, 0.9);
    font-weight: 600;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: all 0.3s ease;
}

.outline-btn:hover {
    background: rgba(168, 230, 207, 0.15);
    border-color: rgba(168, 230, 207, 0.8);
    color: rgba(168, 230, 207, 1);
}

/* Hero visual */
.hero-visual {
    flex: 1;
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px;
}

.controller-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.controller-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(168, 230, 207, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: pulseGlow 4s ease-in-out infinite;
    z-index: -1;
}

.controller-image {
    max-width: 120%;
    max-height: 120%;
    object-fit: contain;
    border-radius: 24px;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.5));
    animation: floatAnimation 6s ease-in-out infinite;
    z-index: 2;
}

/* Floating elements */
.floating-element {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    animation: floatAnimation 5s ease-in-out infinite;
    z-index: 5;
    overflow: hidden;
}

.element-1 {
    top: 15%;
    right: 5%;
}

.element-2 {
    top: 70%;
    left: 10%;
    animation-delay: 1s;
}

.element-3 {
    top: 40%;
    left: 0;
    animation-delay: 2s;
}

.element-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(168, 230, 207, 0.15);
    filter: blur(10px);
    z-index: -1;
}

.element-image {
    width: 80%;
    height: 80%;
    object-fit: cover;
    border-radius: 50%;
}

/* Orbital rings */
.orbital-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(168, 230, 207, 0.3);
    pointer-events: none;
    animation: rotateSlowly 20s linear infinite;
}

.ring-1 {
    width: 300px;
    height: 300px;
    border-width: 1px;
}

.ring-2 {
    width: 400px;
    height: 400px;
    border-width: 1px;
    animation-duration: 30s;
    animation-direction: reverse;
}

/* Glass info card */
.glass-info-card {
    position: absolute;
    width: 280px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.glass-info-card.card-1 {
    top: 95%;
    right: 45%;
}

.glass-info-card.card-2 {
    bottom: 12%;
    right: 5%;
}

.glass-info-card.card-3 {
    bottom: 40%;
    right: 10%;
}

.card-header {
    padding: 0.8rem 1.2rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.card-body {
    padding: 1.2rem;
}

.stats-row {
    display: flex;
    justify-content: space-between;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Decorative elements */
.decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(168, 230, 207, 0.2);
}

.circle-1 {
    top: 20%;
    left: 10%;
    width: 40px;
    height: 40px;
}

.circle-2 {
    bottom: 15%;
    right: 15%;
    width: 60px;
    height: 60px;
}

.deco-line {
    position: absolute;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 230, 207, 0.5), transparent);
}

.line-1 {
    top: 30%;
    left: 5%;
    transform: rotate(-30deg);
}

.line-2 {
    bottom: 25%;
    right: 7%;
    width: 150px;
    transform: rotate(45deg);
}

/* Gaming icon elements */
.gaming-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    opacity: 0.15;
    transform: rotate(-10deg);
}

.gaming-icon svg {
    width: 100%;
    height: 100%;
    fill: rgba(168, 230, 207, 0.9);
}

.controller-icon {
    top: 10%;
    right: 20%;
    animation: floating 8s ease-in-out infinite;
}

.console-icon {
    bottom: 30%;
    left: 15%;
    animation: floating 10s ease-in-out infinite;
    animation-delay: -3s;
}

.headset-icon {
    top: 45%;
    right: 10%;
    animation: floating 7s ease-in-out infinite;
    animation-delay: -2s;
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0) rotate(-10deg);
    }
    50% {
        transform: translateY(-15px) rotate(-5deg);
    }
}

/* Circuit patterns */
.circuit-patterns {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.5;
}

.circuit {
    position: absolute;
    width: 200px;
    height: 200px;
}

.circuit-1 {
    top: 5%;
    left: 5%;
}

.circuit-2 {
    bottom: 5%;
    right: 5%;
}

/* Gaming buttons */
.gaming-buttons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* Glowing Cube */
.glowing-cube {
    position: absolute;
    bottom: 5%;
    left: 5%;
    width: 120px;
    height: 120px;
    transform-style: preserve-3d;
    animation: cube-rotate 8s linear infinite;
    z-index: 5;
}

@keyframes cube-rotate {
    0% {
        transform: rotatex(-30deg) rotatey(0deg);
    }

    100% {
        transform: rotatex(-30deg) rotatey(360deg);
    }
}

.glowing-cube div {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
}

.glowing-cube div span {
    position: absolute;
    inset: 0;
    background: linear-gradient(#151515, #3aff5e);
    transform: rotatey(calc(90deg * var(--i))) translatez(calc(120px / 2));
}

.glowing-cube .top {
    position: absolute;
    inset: 0;
    background: #222;
    transform: rotatex(90deg) translatez(calc(120px / 2));
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-color);
    font-size: 5.5rem;
}

.glowing-cube .top::before {
    content: '';
    position: absolute;
    background: #3aff5e;
    inset: 0;
    transform: translatez(calc(0px - calc(120px + 80px)));
    filter: blur(30px);
    box-shadow: 0 0 120px rgba(58, 134, 255, 0.2),
    0 0 200px rgba(58, 134, 255, 0.4),
    0 0 300px #00ff2f,
    0 0 400px #51fd71,
    0 0 500px #3aff5e;
}

@media (max-width: 768px) {
    .glowing-cube {
        width: 80px;
        height: 80px;
        bottom: 5%;
        left: 5%;
    }

    .glowing-cube .top {
        transform: rotatex(90deg) translatez(calc(80px / 2));
        font-size: 3rem;
    }

    .glowing-cube div span {
        transform: rotatey(calc(90deg * var(--i))) translatez(calc(80px / 2));
    }
}

.button-group {
    position: absolute;
    display: flex;
    gap: 6px;
    opacity: 0.2;
}

.button-group-1 {
    bottom: 15%;
    left: 30%;
    transform: rotate(-15deg);
}

.game-button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.button-x {
    background-color: #729dd8;
}

.button-y {
    background-color: #fdeb54;
}

.button-a {
    background-color: #7fcc27;
}

.button-b {
    background-color: #f85748;
}

/* Blurred glass panels */
.glass-panels {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.glass-panel {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    transform: rotate(-5deg);
}

.panel-1 {
    position: absolute;
    top: 15%;
    left: 7%;
    width: 220px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    z-index: 1;
}

.panel-1::before {
    content: ' ';
    position: absolute;
    top: 0;
    left: 50px;
    width: 50%;
    height: 100%;
    text-decoration: none;
    background: #fff;
    border-radius: 8px;
    transform: skewX(15deg);
    transition: 0.5s;
}

.panel-1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    width: 50%;
    height: 100%;
    background: #fff;
    border-radius: 8px;
    transform: skewX(15deg);
    transition: 0.5s;
    filter: blur(30px);
}

.panel-1:hover:before,
.panel-1:hover:after {
    transform: skewX(0deg) scaleX(1.3);
}

.panel-1:before,
.panel-1:after {
    background: linear-gradient(315deg, #ffbc00, #ff0058)
}

.panel-1 span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    pointer-events: none;
}

.panel-1 span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: 0.1s;
    animation: animate 2s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08)
}

.panel-1 span::before {
    top: -40px;
    left: 40px;
    width: 50px;
    height: 50px;
    opacity: 1;
}

.panel-1 span::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: 0.5s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    animation-delay: -1s;
}

.panel-1 span:after {
    bottom: -40px;
    right: 40px;
    width: 50px;
    height: 50px;
    opacity: 1;
}

.panel-1 .content {
    position: relative;
    width: 190px;
    height: 254px;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1;
    transition: 0.5s;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.panel-1 .content h2 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
}

.panel-2 {
    top: 12%;
    right: 15%;
    width: 250px;
    height: 200px;
    transform: rotate(10deg);
    z-index: 2;
}

.panel-3 {
    bottom: 20%;
    right: 8%;
    width: 180px;
    height: 240px;
    transform: rotate(-8deg);
    z-index: 3;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .hero-wrapper {
        padding: 2rem 0;
    }

    .games-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

    .hero-title-animated {
        font-size: 2.4rem;
    }

    .main-image-container {
        max-width: 450px;
        height: 450px;
    }

    .orbital-ring {
        display: none;
    }
}

@media (max-width: 992px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 100%;
    }

    .hero-description {
        max-width: 100%;
    }

    .feature-cards {
        width: 100%;
        max-width: 600px;
    }

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

    .glass-panels, .decorative-elements {
        opacity: 0.5;
    }

    /* Responsive gaming elements */
    .controller-icon {
        top: 5%;
        right: 10%;
        width: 40px;
        height: 40px;
    }

    .console-icon {
        bottom: 40%;
        left: 8%;
        width: 40px;
        height: 40px;
    }

    .headset-icon {
        top: 35%;
        right: 8%;
        width: 35px;
        height: 35px;
    }

    .circuit {
        width: 150px;
        height: 150px;
    }

    .button-group-1 {
        bottom: 20%;
        left: 20%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .feature-cards {
        flex-direction: column;
        max-width: 300px;
    }

    .main-image-container {
        max-width: 350px;
        height: 350px;
    }

    .glass-info-card {
        display: none;
    }

    .floating-element {
        width: 60px;
        height: 60px;
    }

    /* Adjust gaming elements for smaller screens */
    .gaming-icon {
        opacity: 0.1;
    }

    .circuit-patterns {
        opacity: 0.3;
    }

    .circuit-1 {
        top: 3%;
        left: 3%;
    }

    .circuit-2 {
        display: none;
    }

    .button-group-1 {
        bottom: 10%;
        left: 15%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .hero-title-animated {
        font-size: 1.8rem;
    }

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

    .main-image-container {
        max-width: 300px;
        height: 300px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 250px;
    }

    /* Further adjust gaming elements */
    .controller-icon {
        top: 5%;
        right: 5%;
        width: 30px;
        height: 30px;
    }

    .console-icon {
        display: none;
    }

    .headset-icon {
        bottom: 15%;
        right: 10%;
        top: auto;
        width: 30px;
        height: 30px;
    }

    .circuit-1 {
        width: 100px;
        height: 100px;
    }

    .button-group-1 {
        bottom: 8%;
        left: 5%;
        transform: rotate(-10deg) scale(0.8);
    }
}

/* 
=================
Games Section
=================
*/
.games-section {
    background-color: var(--surface-color);
    position: relative;
    margin-top: -1px; /* Ensures no gap between hero waves and this section */
    z-index: 2;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

.section-header h2 {
    margin-bottom: var(--space-md);
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.section-header p {
    color: var(--text-color-light);
    font-size: calc(var(--font-size-lg) * 1.1);
    max-width: 85%;
    margin: 0 auto;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: var(--space-xl);
    gap: var(--space-sm);
}

.filter-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color-light);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.game-card {
    background-color: var(--background-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    width: 100%;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.game-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4/5;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

.game-badge {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background-color: var(--primary-color);
    color: white;
    font-size: var(--font-size-xs);
    padding: 2px var(--space-sm);
    border-radius: var(--border-radius-sm);
}

.game-details {
    padding: var(--space-sm);
}

.game-details h3 {
    font-size: var(--font-size-md);
    margin-bottom: var(--space-xs);
}

.game-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-color-lighter);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-sm);
}

.game-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-md);
}

.price {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--primary-color);
}

.view-more {
    text-align: center;
    margin-top: var(--space-xl);
}

/* 
=================
GamePass Section
=================
*/
.game-pass-section {
    background-color: var(--background-color);
}

.plans {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
}

.plan-card {
    background-color: var(--surface-color);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    width: 100%;
    max-width: 350px;
    position: relative;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform var(--transition-normal);
}

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

.plan-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.badge {
    position: absolute;
    top: -15px;
    right: 50%;
    transform: translateX(50%);
    background-color: var(--primary-color);
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-sm);
    font-weight: 700;
}

.plan-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.price {
    margin-top: var(--space-md);
}

.amount {
    font-size: var(--font-size-xxl);
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: var(--font-size-sm);
    color: var(--text-color-light);
}

.plan-features {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.plan-features li {
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
}

.plan-features li i {
    margin-left: var(--space-sm);
    color: var(--success-color);
}

.plan-features li.disabled {
    color: var(--text-color-lighter);
}

.plan-features li.disabled i {
    color: var(--error-color);
}

.plan-card .btn {
    width: 100%;
}

/* 
=================
Accounts Section
=================
*/
.accounts-section {
    background-color: var(--surface-color);
}

.accounts-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.account-card {
    background-color: var(--background-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform var(--transition-normal);
}

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

.account-image {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.account-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account-badge {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background-color: var(--secondary-color);
    color: white;
    padding: 2px var(--space-sm);
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-xs);
}

.account-details {
    padding: var(--space-lg);
}

.account-details h3 {
    margin-bottom: var(--space-sm);
}

.account-meta {
    display: flex;
    gap: var(--space-md);
    color: var(--text-color-light);
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-sm);
}

.account-meta span {
    display: flex;
    align-items: center;
}

.account-meta i {
    margin-left: var(--space-xs);
}

.account-details p {
    color: var(--text-color-light);
    margin-bottom: var(--space-md);
    font-size: var(--font-size-sm);
}

.account-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 
=================
Testimonials Section
=================
*/
.testimonials-section {
    background-color: var(--background-color);
}

.testimonial-card {
    background-color: var(--surface-color);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    margin: 0 var(--space-sm);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--space-lg);
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    right: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-circle);
    overflow: hidden;
    margin-left: var(--space-md);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0;
}

.author-info p {
    color: var(--text-color-light);
    margin-bottom: 0;
    font-size: var(--font-size-sm);
}

/* 
=================
About Section
=================
*/
.about-section {
    background-color: var(--surface-color);
}

.about-content {
    display: flex;
    gap: var(--space-xxl);
    align-items: center;
}

.about-image {
    flex: 1;
    max-width: 500px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    flex: 1;
}

.text-start {
    text-align: right;
}

.stats {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: var(--font-size-xxl);
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-text {
    color: var(--text-color-light);
}

/* 
=================
Contact Section
=================
*/
.contact-section {
    background-color: var(--background-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
}

.contact-form {
    background-color: var(--surface-color);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: inherit;
    font-size: var(--font-size-md);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form .btn {
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.info-card {
    display: flex;
    align-items: center;
    background-color: var(--surface-color);
    padding: var(--space-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    color: white;
    margin-left: var(--space-lg);
}

.info-details h3 {
    margin-bottom: var(--space-xs);
}

.info-details p {
    margin-bottom: 0;
    color: var(--text-color-light);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--surface-color);
    border-radius: var(--border-radius-circle);
    color: var(--text-color);
    font-size: var(--font-size-lg);
    transition: all var(--transition-fast);
    box-shadow: 0 2px 5px var(--shadow-color);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* 
=================
Footer
=================
*/
footer {
    background-color: var(--surface-color-dark);
    padding-top: var(--space-xxl);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border-color);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 60px;
    margin-bottom: var(--space-sm);
}

.footer-logo p {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
}

.footer-links {
    display: flex;
    flex: 1;
    justify-content: space-around;
}

.footer-column h3 {
    margin-bottom: var(--space-lg);
    color: var(--primary-color);
    font-size: var(--font-size-lg);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: var(--space-sm);
}

.footer-column ul li a {
    color: var(--text-color);
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.contact-list li {
    display: flex;
    align-items: center;
}

.contact-list li i {
    margin-left: var(--space-sm);
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) 0;
}

.payment-methods img {
    height: 30px;
}

/* 
=================
Animations & Effects
=================
*/
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-section {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.animate-section.animate-in {
    opacity: 1;
}

.hero-content.animate-in h1 {
    animation: slideInRight 0.8s ease-out forwards;
}

.hero-content.animate-in p {
    animation: slideInRight 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-content.animate-in .hero-buttons {
    animation: slideInRight 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-image.animate-in {
    animation: scaleIn 1s ease-out forwards;
}

.section-header.animate-in h2 {
    animation: fadeIn 0.8s ease-out forwards;
}

.section-header.animate-in p {
    animation: fadeIn 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.filter-buttons.animate-in {
    animation: fadeIn 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

.games-grid.animate-in .game-card {
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
}

.games-grid.animate-in .game-card:nth-child(1) {
    animation-delay: 0.1s;
}

.games-grid.animate-in .game-card:nth-child(2) {
    animation-delay: 0.2s;
}

.games-grid.animate-in .game-card:nth-child(3) {
    animation-delay: 0.3s;
}

.games-grid.animate-in .game-card:nth-child(4) {
    animation-delay: 0.4s;
}

.games-grid.animate-in .game-card:nth-child(5) {
    animation-delay: 0.5s;
}

.games-grid.animate-in .game-card:nth-child(6) {
    animation-delay: 0.6s;
}

.games-grid.animate-in .game-card:nth-child(7) {
    animation-delay: 0.7s;
}

.games-grid.animate-in .game-card:nth-child(8) {
    animation-delay: 0.8s;
}

.plans.animate-in .plan-card {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.plans.animate-in .plan-card:nth-child(1) {
    animation-delay: 0.2s;
}

.plans.animate-in .plan-card:nth-child(2) {
    animation-delay: 0.4s;
}

.plans.animate-in .plan-card:nth-child(3) {
    animation-delay: 0.6s;
}

.accounts-slider.animate-in .account-card {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.accounts-slider.animate-in .account-card:nth-child(1) {
    animation-delay: 0.2s;
}

.accounts-slider.animate-in .account-card:nth-child(2) {
    animation-delay: 0.4s;
}

.accounts-slider.animate-in .account-card:nth-child(3) {
    animation-delay: 0.6s;
}

.testimonials-slider.animate-in .testimonial-card {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.testimonials-slider.animate-in .testimonial-card:nth-child(1) {
    animation-delay: 0.2s;
}

.testimonials-slider.animate-in .testimonial-card:nth-child(2) {
    animation-delay: 0.4s;
}

.testimonials-slider.animate-in .testimonial-card:nth-child(3) {
    animation-delay: 0.6s;
}

.about-content.animate-in .about-image {
    animation: slideInRight 0.8s ease-out forwards;
    opacity: 0;
}

.about-content.animate-in .about-text {
    animation: slideInLeft 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

.contact-content.animate-in .contact-form-wrapper {
    animation: slideInRight 0.8s ease-out forwards;
    opacity: 0;
}

.contact-content.animate-in .contact-info {
    animation: slideInLeft 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

.btn:active {
    transform: scale(0.95);
}

.hover-float {
    transition: transform 0.3s ease;
}

.hover-float:hover {
    transform: translateY(-5px);
}

.hover-glow:hover {
    box-shadow: 0 0 15px var(--primary-color);
}

/* Special effects for buttons */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover::after {
    transform: translateX(0);
}

/* Glowing effect for featured items */
@keyframes glow {
    0% {
        box-shadow: 0 0 5px var(--primary-color);
    }
    50% {
        box-shadow: 0 0 20px var(--primary-color);
    }
    100% {
        box-shadow: 0 0 5px var(--primary-color);
    }
}

.plan-card.featured {
    animation: glow 3s infinite;
}

/* Smooth transition between dark/light mode */
body {
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* 
=================
Preloader
=================
*/
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 80px;
    height: 80px;
    border: 5px solid var(--surface-color-dark);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* 
=================
Responsive
=================
*/
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: calc(var(--font-size-xxxl) * 0.9);
    }

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

    .about-image {
        max-width: 100%;
        margin-bottom: var(--space-xl);
    }
}

@media (max-width: 992px) {
    .hero-section .container {
        flex-direction: column;
        justify-content: center;
        min-height: calc(100vh - 80px);
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: var(--space-xl);
    }

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

    .hero-image {
        max-width: 70%;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        margin-top: var(--space-xl);
    }
}


/* Floating Icon Styles */
.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 3;
    backdrop-filter: blur(5px);
}

/* Material 3 Mobile Specific Classes */
.touch-device button:active,
.touch-device a:active {
    transform: scale(0.95);
}

.mobile-layout {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}

.mobile-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    display: flex;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
}

.mobile-scroll::-webkit-scrollbar {
    display: none;
}

.touch-active {
    position: relative;
}

.touch-active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: inherit;
    pointer-events: none;
}

.btn.touch-active::after {
    background-color: rgba(255, 255, 255, 0.25);
}

/* Mobile bottom sheet dialog for Material 3 design */
.mobile-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--surface-color);
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1005;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-sheet.visible {
    transform: translateY(0);
}

.mobile-sheet-handle {
    width: 40px;
    height: 4px;
    background-color: var(--border-color);
    border-radius: 2px;
    margin: 12px auto;
}

.mobile-sheet-content {
    padding: 0 16px 24px 16px;
}

/* State animations for Material 3 */
@keyframes state-animation {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.state-change {
    animation: state-animation 0.3s forwards;
}

/* Enhanced Hero Section Responsiveness */
@media (max-width: 767px) {
    .hero-section {
        min-height: auto;
        padding: 6rem 0 3rem;
    }

    .hero-wrapper {
        flex-direction: column-reverse;
        padding: 0;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 1rem;
    }

    .hero-visual {
        transform: scale(0.85);
        margin-bottom: -3rem;
    }

    .main-image-container {
        max-width: 90%;
        height: auto;
        margin: 0 auto;
    }

    .controller-image {
        max-width: 100%;
        filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.4));
    }

    .glass-info-card {
        display: none;
    }

    /* Improved mobile hero effects */
    .nebula-bg {
        opacity: 0.7;
    }

    .morph-shape {
        opacity: 0.3;
    }

    .hero-title {
        font-size: calc(7vw + 1rem);
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }

    .hero-title-animated {
        font-size: calc(5vw + 0.8rem);
    }

    .hero-description {
        max-width: 100%;
        padding: 0 0.5rem;
        font-size: calc(0.9rem + 0.5vw);
    }

    .feature-cards {
        width: 100%;
        max-width: 450px;
        margin: 1.5rem auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: calc(8vw + 0.8rem);
    }

    .hero-title-animated {
        font-size: calc(6vw + 0.6rem);
    }

    .hero-visual {
        transform: scale(0.75);
        margin-bottom: -4rem;
    }

    /* Enhance mobile hero layout */
    .hero-content {
        padding: 0 0.5rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .glass-tag {
        transform: scale(0.9);
    }

    /* Improve mobile visuals */
    .game-button, .deco-circle, .deco-line {
        display: none; /* Hide decorative elements that might clutter mobile view */
    }

    .particles {
        opacity: 0.5; /* Reduce visual noise */
    }

    .circuit-patterns {
        opacity: 0.3;
    }

    /* Show hero content with nicer animation */
    .hero-content > * {
        animation: mobileFadeIn 0.5s ease-out forwards;
        opacity: 0;
    }

    .hero-content > *:nth-child(1) {
        animation-delay: 0.1s;
    }

    .hero-content > *:nth-child(2) {
        animation-delay: 0.2s;
    }

    .hero-content > *:nth-child(3) {
        animation-delay: 0.3s;
    }

    .hero-content > *:nth-child(4) {
        animation-delay: 0.4s;
    }

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

@media (max-height: 700px) and (max-width: 767px) {
    /* Optimize for shorter mobile screens */
    .hero-section {
        padding: 5rem 0 2rem;
    }

    .hero-visual {
        transform: scale(0.7);
        margin-bottom: -5rem;
    }

    .feature-cards {
        margin: 1rem auto;
    }
}

/* Enhanced Games Section Responsiveness */
@media (max-width: 767px) {
    .games-section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .filter-buttons {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        padding: 0.5rem;
        margin: 0 -1rem 2rem -1rem;
        padding-left: 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        position: relative;
    }

    .filter-buttons::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex: 0 0 auto;
        margin-right: 0.75rem;
        padding: 0.6rem 1.2rem;
        border-radius: 50px;
        font-weight: 500;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        background-color: var(--surface-color);
        border: none;
        transition: all 0.25s ease;
    }

    .filter-btn:hover,
    .filter-btn.active {
        background-color: #a8e6cf;
        color: #1a1a1a;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

    .games-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .games-section {
        padding: 2.5rem 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .games-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .game-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 16px;
        overflow: hidden;
        transition: all 0.3s ease;
        margin-bottom: 1rem;
    }

    .game-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        background: rgba(255, 255, 255, 0.06);
    }

    .game-image {
        width: 90px;
        height: 90px;
        flex-shrink: 0;
        border-radius: 12px;
        overflow: hidden;
        margin-right: 1rem;
    }

    .game-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .game-details {
        flex-grow: 1;
    }

    .game-details h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .game-meta {
        margin-bottom: 0.5rem;
    }

    .game-price {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 0.5rem;
    }

    .price {
        font-size: 1.2rem;
        font-weight: 700;
        color: #a8e6cf;
    }

    .game-card .btn {
        padding: 0.4rem 1rem;
        font-size: 0.875rem;
    }

    .view-more {
        margin-top: 2rem;
    }

    .view-more .btn {
        width: 100%;
        padding: 0.8rem;
        font-weight: 600;
        border-radius: 50px;
    }
}

@media (max-width: 400px) {
    .game-image {
        width: 70px;
        height: 70px;
    }

    .game-details h3 {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }
}

/* Hide the Xbox controller image on mobile */
@media (max-width: 767px) {
    .controller-image {
        display: none !important;
    }

    .controller-wrapper {
        display: none !important;
    }
}

.icon-controller {
    top: 10%;
    left: 0;
    background: linear-gradient(135deg, #9146FF, #7D31E2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3),
    0 0 0 2px rgba(145, 70, 255, 0.3),
    0 0 20px rgba(145, 70, 255, 0.6);
    animation: float-icon 5s ease-in-out infinite;
}

.icon-star {
    top: 70%;
    left: -5%;
    background: linear-gradient(135deg, #00E1A0, #00BFFF);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3),
    0 0 0 2px rgba(0, 225, 160, 0.3),
    0 0 20px rgba(0, 225, 160, 0.6);
    animation: float-icon 7s ease-in-out infinite;
    animation-delay: 1s;
}

.icon-trophy {
    top: 30%;
    right: -5%;
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3),
    0 0 0 2px rgba(255, 215, 0, 0.3),
    0 0 20px rgba(255, 215, 0, 0.6);
    animation: float-icon 6s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes float-icon {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(10px, -10px) rotate(10deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* Neomorphic Elements */
.neomorph {
    border-radius: 25px;
    background: linear-gradient(145deg, rgba(30, 30, 60, 0.5), rgba(20, 20, 40, 0.5));
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5),
    -10px -10px 20px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.neomorph:hover {
    box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.6),
    -15px -15px 30px rgba(255, 255, 255, 0.07);
    transform: translateY(-5px);
}

.neomorph-inset {
    border-radius: 25px;
    background: linear-gradient(145deg, rgba(20, 20, 40, 0.5), rgba(30, 30, 60, 0.5));
    box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.5),
    inset -5px -5px 10px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animation Classes */
.neon-flash {
    animation: neonFlash 2s ease-in-out infinite alternate;
}

@keyframes neonFlash {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff,
        0 0 20px var(--primary-color), 0 0 35px var(--primary-color),
        0 0 40px var(--primary-color), 0 0 50px var(--primary-color);
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

/* Scroll Down Arrow Indicator */
.scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 20;
    cursor: pointer;
    text-decoration: none;
}

.scroll-arrow .arrow {
    width: 36px;
    height: 70px;
    display: flex;
    justify-content: center;
    position: relative;
}

.scroll-arrow .arrow span {
    width: 24px;
    height: 24px;
    border-right: 3px solid rgba(168, 230, 207, 0.8);
    border-bottom: 3px solid rgba(168, 230, 207, 0.8);
    transform: rotate(45deg);
    display: block;
    animation: scrollArrow 2s infinite;
    position: absolute;
}

.scroll-arrow .arrow span:nth-child(2) {
    animation-delay: -0.2s;
    transform: rotate(45deg) translate(-15px, -15px);
    opacity: 0.6;
}

.scroll-arrow .arrow span:nth-child(3) {
    animation-delay: -0.4s;
    transform: rotate(45deg) translate(-30px, -30px);
    opacity: 0.3;
}

@keyframes scrollArrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-30px, -30px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(0, 0);
    }
}

/* Responsive adjustments for scroll arrow */
@media (max-width: 768px) {
    .scroll-arrow {
        bottom: 20px;
    }

    .scroll-arrow .arrow {
        width: 30px;
        height: 50px;
    }

    .scroll-arrow .arrow span {
        width: 18px;
        height: 18px;
        border-right: 2px solid rgba(168, 230, 207, 0.8);
        border-bottom: 2px solid rgba(168, 230, 207, 0.8);
    }

    .scroll-arrow .arrow span:nth-child(2) {
        transform: rotate(45deg) translate(-12px, -12px);
    }

    .scroll-arrow .arrow span:nth-child(3) {
        transform: rotate(45deg) translate(-24px, -24px);
    }
}

.glitch {
    position: relative;
    animation: glitch 5s infinite step-end;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--background-color);
    clip: rect(0, 0, 0, 0);
}

.glitch::before {
    left: -2px;
    text-shadow: 2px 0 #ff00c1;
}

.glitch::after {
    left: 2px;
    text-shadow: -2px 0 #00fff9;
}

@keyframes glitch {
    0% {
        clip: rect(76px, 9999px, 31px, 0);
    }
    5% {
        clip: rect(25px, 9999px, 99px, 0);
    }
    10% {
        clip: rect(53px, 9999px, 44px, 0);
    }
    15% {
        clip: rect(77px, 9999px, 33px, 0);
    }
    20% {
        clip: rect(90px, 9999px, 98px, 0);
    }
    25% {
        clip: rect(0, 9999px, 0, 0);
    }
    100% {
        clip: rect(0, 9999px, 0, 0);
    }
}