* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #150332 0%, #0C021E 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 8% 5rem;
    justify-content: space-between;
    gap: 4rem;
}

/* Add pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: 
        linear-gradient(45deg, #D5F1FC 25%, transparent 25%),
        linear-gradient(-45deg, #D5F1FC 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #D5F1FC 75%),
        linear-gradient(-45deg, transparent 75%, #D5F1FC 75%);
    background-size: 240px 240px;
    background-position: 0 0, 0 120px, 120px -120px, -120px 0px;
    animation: patternMove 50s linear infinite;
}

/* Add subtle radial gradient overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, 
        rgba(42, 14, 97, 0) 0%, 
        rgba(31, 4, 67, 0.8) 100%);
    pointer-events: none;
}

@keyframes patternMove {
    0% {
        background-position: 0 0, 0 120px, 120px -120px, -120px 0px;
    }
    100% {
        background-position: 240px 240px, 240px 360px, 360px 120px, 120px 240px;
    }
}

@keyframes subtleScale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.content-wrapper {
    position: relative;
    width: 45%;
    z-index: 2;
    padding-left: 3%;
}

.hero-content {
    color: white;
    text-align: left;
    max-width: 600px;
    position: relative;
    padding-right: 2rem;
}

/* Add a decorative line */
.hero-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: -30px;
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #FFD700, #FFA500);
    border-radius: 2px;
}

.title {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #FFD700, #FFA500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
    line-height: 1.1;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    line-height: 1.4;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    background: linear-gradient(45deg, #FF4D4D, #FF8C00);
    border: none;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(255, 77, 77, 0.3);
    margin-left: 0;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 77, 77, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

.floating-chips {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.chip {
    position: absolute;
    border-radius: 50%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    animation: float 20s linear infinite;
    transition: all 0.3s ease;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(0, 100px) rotate(180deg);
    }
    75% {
        transform: translate(-50px, 50px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Add shine effect to chips */
.chip::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    animation: shine 4s linear infinite;
}

@keyframes shine {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Fade in animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
}

.subtitle.fade-in {
    animation-delay: 0.2s;
}

.cta-button.fade-in {
    animation-delay: 0.4s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .hero {
        padding: 7rem 6% 4rem;
        gap: 3rem;
    }

    .content-wrapper {
        width: 48%;
        padding-left: 2%;
    }

    .hero-image-wrapper {
        width: 48%;
        margin-right: 2%;
    }

    .title {
        font-size: 3.8rem;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 6rem 5% 3rem;
        gap: 2rem;
    }

    .content-wrapper {
        width: 100%;
        padding: 0 1rem;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
        padding-right: 0;
    }

    .title {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
        margin: 0 auto 2rem;
    }

    .hero-image-wrapper {
        width: 90%;
        margin: 2rem auto;
        height: 50vh;
        padding: 1rem;
    }
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(21, 3, 50, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header:hover::before {
    opacity: 1;
}

.header.scroll-down {
    transform: translateY(-100%);
}

.header.scroll-up {
    transform: translateY(0);
    background: rgba(42, 14, 97, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    gap: 0.8rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    color: #FFD700;
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
}

.logo span {
    background: linear-gradient(to right, #FFD700, #FFA500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #FFD700, #FFA500);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: white;
}

.nav-link:hover::after {
    width: 100%;
}

.contact-link {
    color: #FFD700;
    font-weight: 600;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #FFD700;
    border-radius: 20px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #FFD700;
    transform: translateY(-2px);
}

.contact-link:hover::before {
    transform: scale(1.1);
    opacity: 0;
}

.contact-link::after {
    display: none;
}

.login-btn {
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    background: transparent;
    border: 2px solid #FFD700;
    color: #FFD700;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #FFD700;
    transition: width 0.3s ease;
    z-index: -1;
}

.login-btn:hover::before {
    width: 100%;
}

.login-btn:hover {
    color: #2A0E61;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 100;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: white;
    margin: 6px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn span.rotate-45 {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn span.opacity-0 {
    opacity: 0;
}

.mobile-menu-btn span.rotate-negative-45 {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(42, 14, 97, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 6rem 2rem 2rem;
        flex-direction: column;
        justify-content: flex-start;
        gap: 2rem;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-link {
        font-size: 1.2rem;
        opacity: 0;
        transform: translateY(20px);
    }

    .contact-link {
        margin: 1rem 0;
    }

    .nav-menu.active .nav-link {
        opacity: 1;
        transform: translateY(0);
        transition: all 0.3s ease;
    }

    .nav-menu.active .nav-link:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active .nav-link:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active .nav-link:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active .nav-link:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active .contact-link { transition-delay: 0.5s; }
}

/* Hero Image Styles */
.hero-image-wrapper {
    position: relative;
    width: 45%;
    margin-right: 3%;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    padding: 2rem;
    background-image: url('images/h_image.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation: imageFloat 8s ease-in-out infinite;
    position: relative;
    overflow: visible;
    filter: drop-shadow(0 0 25px rgba(147, 51, 234, 0.3));
}

/* Border glow effect */
.hero-image-wrapper::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: linear-gradient(45deg, 
        rgba(147, 51, 234, 0.3),  /* Violet */
        rgba(168, 85, 247, 0.3),  /* Purple */
        rgba(126, 34, 206, 0.3)   /* Deep Purple */
    );
    opacity: 0.4;
    filter: blur(15px);
}

.hero-image-wrapper:hover::after {
    opacity: 0.3;
}

/* Enhanced glow effect */
.hero-image-glow {
    position: absolute;
    width: 180%;
    height: 180%;
    background: radial-gradient(
        circle at center,
        rgba(147, 51, 234, 0.3) 0%,    /* Violet */
        rgba(126, 34, 206, 0.2) 30%,    /* Deep Purple */
        rgba(88, 28, 135, 0.1) 50%,     /* Darker Purple */
        transparent 70%
    );
    mix-blend-mode: soft-light;
    filter: blur(60px);
    z-index: -1;
    transform-origin: center;
    opacity: 0.5;
}

/* Remove hover effects */
.hero-image-wrapper:hover {
    transform: none;
    filter: drop-shadow(0 0 30px rgba(147, 51, 234, 0.4));
}

/* Simplify animations */
@keyframes imageFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes shine {
    0%, 100% {
        opacity: 0;
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.4;
    }
}

/* Add particle effect */
.hero-image-wrapper .particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    mix-blend-mode: screen;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(168, 85, 247, 0.4);  /* Purple */
    border-radius: 50%;
    filter: blur(1px);
    animation: particleFloat 4s ease-in-out infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-80px) translateX(40px);
        opacity: 0;
    }
}

/* Remove the img tag styles since we're using background image */
.hero-image {
    display: none;
}

/* Game Section Styles */
.game-section {
    background: linear-gradient(135deg, #1F0443 0%, #150332 100%);
    padding: 120px 5% 8rem;
    position: relative;
    overflow: hidden;
}

/* Background pattern for game section */
.game-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.02;
    background-image: 
        linear-gradient(45deg, #D5F1FC 25%, transparent 25%),
        linear-gradient(-45deg, #D5F1FC 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #D5F1FC 75%),
        linear-gradient(-45deg, transparent 75%, #D5F1FC 75%);
    background-size: 240px 240px;
}

.game-section-title {
    text-align: center;
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.game-section-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 0 1rem;
    font-weight: 400;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(126, 34, 206, 0.1));
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border-radius: 24px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    transition: transform 0.6s ease;
    transform: translateX(-100%);
}

.game-card:hover::before {
    transform: translateX(100%);
}

.game-card-content {
    position: relative;
    z-index: 1;
    backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
}

.game-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.1),
        transparent 50%,
        rgba(0, 0, 0, 0.2)
    );
    border-radius: 16px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.game-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.game-card:hover .game-image {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 
        0 12px 25px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

.game-title {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: #fff;
    text-align: center;
    position: relative;
    font-weight: 600;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    margin-bottom: 1.5rem;
}

.game-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, transparent, #FFD700, transparent);
    transition: width 0.3s ease;
}

.game-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, transparent, #FFA500, transparent);
    transition: width 0.3s ease;
}

.game-card:hover .game-title {
    transform: translateY(-5px);
    letter-spacing: 0.5px;
}

.game-card:hover .game-title::before {
    width: 80px;
}

.game-card:hover .game-title::after {
    width: 60px;
}

.play-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    background: rgba(147, 51, 234, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    width: fit-content;
}

.play-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.play-button:hover {
    transform: translateY(-2px);
    background: rgba(147, 51, 234, 0.9);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.play-button:hover::before {
    transform: translateX(100%);
}

/* Add glass reflection effect */
.glass-reflection {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 30%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 70%,
        transparent 100%
    );
    transform: rotate(45deg);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .glass-reflection {
    opacity: 1;
}

@media (max-width: 768px) {
    .game-card {
        padding: 1.2rem;
        border-radius: 20px;
    }

    .game-image {
        height: 180px;
        margin-bottom: 1.2rem;
        border-radius: 14px;
    }

    .game-card-content {
        padding: 0.3rem;
    }
}

/* Remove the floating glass elements styles */
.floating-glass-elements {
    display: none;
}

.glass-element {
    display: none;
}

@keyframes floatGlass {
    0% { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes rotateGlassGradient {
    0% { opacity: 0; }
    100% { opacity: 0; }
} 