
@import url('https://fonts.cdnfonts.com/css/geoform');
@import url('https://fonts.cdnfonts.com/css/montserrat');

*,*::before,*::after{box-sizing:border-box}
:root {
    --orange: #FC4D00;
    --yellow: #CF7300;
    --blue: #08A1F7;
    --heavy-blue: #6142FF;
    --bg: #1B1E26;
    --brand-gradient: linear-gradient(135deg, #ffffff, #a855f7);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    background: #0a0a0a;
    color: white;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(120, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(252, 77, 0, 0.08) 0%, transparent 60%);
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%);
    animation: globalVeil 12s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes globalVeil {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(-50%) rotate(0deg);
    }
    50% {
        opacity: 0.7;
        transform: translateX(50%) translateY(50%) rotate(180deg);
    }
}

header {
    background: #0a0a0a;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 50%, rgba(120, 119, 198, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 50%, rgba(255, 119, 198, 0.15) 0%, transparent 40%);
    z-index: 1;
}

header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%);
    animation: headerShimmer 6s ease-in-out infinite;
    z-index: 2;
}

@keyframes headerShimmer {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(100%);
        opacity: 1;
    }
}

header > * {
    position: relative;
    z-index: 3;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 10px;
}

.logo-text {
    font-weight: 800;
    font-size: 24px;
    font-family: 'Geoform', 'Nunito', sans-serif;
}

.brand-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    background: var(--brand-gradient);
    -webkit-mask: url('https://cdn.jsdelivr.net/npm/simple-icons@v9/icons/roblox.svg') no-repeat center / contain;
    mask: url('https://cdn.jsdelivr.net/npm/simple-icons@v9/icons/roblox.svg') no-repeat center / contain;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle div {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.menu-toggle:hover div {
    background: #888;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    font-style: normal;
    padding: 10px 18px;
    border-radius: 24px;
    overflow: hidden;
    transition: color 0.3s ease, transform 0.3s ease;
    font-family: 'Geoform', 'Nunito', sans-serif;
    z-index: 0;
}

nav a:hover {
    color: #f5f5f5;
    transform: translateY(-2px);
}

nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(97, 66, 255, 0.35), rgba(252, 77, 0, 0.3));
    border-radius: inherit;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: -1;
}

nav a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6142FF, #08A1F7, #FC4D00);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 2px 12px rgba(97, 66, 255, 0.4);
    transition: width 0.3s ease;
}

nav a:hover::before {
    opacity: 1;
    transform: scale(1);
}

nav a:hover::after {
    width: 60%;
    animation: navPulse 1.6s ease-in-out infinite;
}

@keyframes navPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

.hero-banner {
    min-height: 90vh;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    color: white;
}

.hero-banner .hero-container {
    position: relative;
    z-index: 1;
}

.hero-container {
    max-width: 700px;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    margin: 0 0 30px;
    line-height: 1.1;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    font-family: 'Geoform', 'Nunito', sans-serif;
}

.glitch {
    position: relative;
    color: white;
    background: transparent;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: #ff0040;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: #00ffff;
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 14%, 15%, 49%, 50%, 99%, 100% {
        transform: translate(0);
    }
    1%, 13% {
        transform: translate(-2px, 2px);
    }
    16%, 48% {
        transform: translate(2px, -2px);
    }
}

@keyframes glitch-2 {
    0%, 20%, 21%, 62%, 63%, 99%, 100% {
        transform: translate(0);
    }
    1%, 19% {
        transform: translate(2px, -2px);
    }
    22%, 61% {
        transform: translate(-2px, 2px);
    }
}

.hero-explanation {
    font-size: 1.4rem;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0 0 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.title-main {
    display: block;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 10px;
}

.title-sub {
    display: block;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    opacity: 0.8;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0 0 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn-explore {
    background: #ffffff;
    color: black;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
}

.btn-contact {
    background: transparent;
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-contact:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.number-box {
    text-align: center;
}

.number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
    
    font-family: 'Montserrat';
}

.label {
    font-size: 14px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glitch:hover::before {
    animation: glitch-1 0.2s infinite;
}

.glitch:hover::after {
    animation: glitch-2 0.2s infinite;
}

.cta-button {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-button::after {
    content: '→';
    font-size: 18px;
    transition: transform 0.3s ease;
}

.cta-button:hover::after {
    transform: translateX(4px);
}

.featured-games {
    padding: 100px 40px;
    text-align: center;
    background: transparent;
    position: relative;
}



.featured-games > * {
    position: relative;
    z-index: 1;
}

.why-choose {
    position: relative;
    padding: 120px 20px 80px 20px;
    overflow: hidden;
}

.why-choose-container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.why-choose-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 64px auto;
}

.why-choose-subtitle {
    margin: 16px 0 0 0;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.why-card {
    position: relative;
    padding: 36px 32px;
    border-radius: 26px;
    background: rgba(12, 12, 16, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle at bottom right, rgba(178, 0, 255, 0.35), transparent 55%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.55);
    border-color: rgba(168, 85, 247, 0.4);
}

.why-card:hover::before {
    opacity: 1;
}

.why-card > * {
    position: relative;
    z-index: 2;
}

.why-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(206, 94, 255, 0.8), rgba(178, 0, 255, 0.95));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    box-shadow: 0 15px 30px rgba(178, 0, 255, 0.45);
    margin-bottom: 24px;
}

.why-card-title {
    margin: 0 0 16px 0;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
}

.why-card-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Adjusted minmax */
    gap: 20px;
    text-align: left;
    margin-bottom: 40px;
    justify-content: center;
}

.home-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    align-items: start;
    flex-wrap: wrap;
}

.home-grid .game-card {
    max-width: 280px;
    min-height: auto;
    width: 280px;
    flex: 0 0 280px;
}

.game-card {
    width: 100%;
    /* max-width: 318.4px; Removed */
}

.home-grid .game-card-link {
    display: block;
}

.game-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    text-align: left;
    height: 100%;
    position: relative;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.6s ease;
    border-radius: 20px;
    z-index: 1;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        0 0 40px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.game-card:hover::before {
    opacity: 1;
}

.game-card > * {
    position: relative;
    z-index: 2;
}

.game-card:hover .game-card-image-container img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.rank-trophy {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 10;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.game-card:hover .rank-trophy {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 0 20px rgba(255, 215, 0, 0.4);
}

.rank-trophy.rank-1 {
    background: rgba(255, 215, 0, 0.2);
    border-color: #FFD700;
}

.rank-trophy.rank-2 {
    background: rgba(192, 192, 192, 0.2);
    border-color: #C0C0C0;
}

.rank-trophy.rank-3 {
    background: rgba(205, 127, 50, 0.2);
    border-color: #CD7F32;
}

.game-card-image-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #f0f0f0, #e8e8e8);
    aspect-ratio: 16 / 9;
}

.game-card img, .new-game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    filter: brightness(1) saturate(1);
}

.game-card:hover img, .new-game-card:hover img {
    transform: scale(1.08);
    filter: brightness(1.1) saturate(1.2);
}

.game-card-info {
    /* position: absolute; Removed */
    /* left: 0; Removed */
    /* right: 0; Removed */
    /* bottom: 0; Removed */
    padding: 15px; /* Adjusted padding */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Changed to flex-start */
    align-items: flex-start;
    gap: 10px; /* Adjusted gap */
    /* min-height: 45%; Removed */
    /* background: linear-gradient(...) Removed */
    /* color: white; Removed */
}

.game-card-info .game-name {
    margin: 0;
    color: #ffffff;
    font-size: 18px; /* Adjusted font size */
    font-weight: 700; /* Adjusted font weight */
    line-height: 1.2;
    letter-spacing: normal; /* Removed letter-spacing */
    text-transform: none; /* Removed text-transform */
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.game-card-footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px; /* Adjusted gap */
    /* margin-top: auto; Removed */
}

.game-card-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Changed to flex-start */
    gap: 10px; /* Adjusted gap */
    flex-wrap: wrap;
    font-size: 12px; /* Adjusted font size */
    color: rgba(255, 255, 255, 0.6); /* Adjusted color */
}

.game-stat {
    display: inline-flex; /* Changed to inline-flex */
    align-items: center;
    gap: 5px; /* Adjusted gap */
    color: rgba(255, 255, 255, 0.6); /* Adjusted color */
    /* flex: unset; Removed */
    /* min-width: unset; Removed */
}

.game-stat i {
    /* width: 16px; Removed */
    /* height: 16px; Removed */
    border-radius: 50%;
    background: transparent; /* Removed background */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px; /* Adjusted font size */
    color: rgba(255, 255, 255, 0.6); /* Adjusted color */
}

.stat-text {
    display: flex;
    flex-direction: row; /* Changed to row */
    line-height: 1.1;
    gap: 4px;
}

.game-card-meta .game-stat:last-child {
    justify-content: flex-start;
    text-align: left;
}

.game-card-meta .game-stat:last-child .stat-text {
    align-items: flex-start;
}

.stat-number {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: normal;
}

.stat-label {
    font-size: 10px;
    letter-spacing: normal;
    text-transform: none;
    color: rgba(255, 255, 255, 0.4);
}

.game-card-button {
    position: absolute; /* Added absolute positioning */
    bottom: 15px; /* Positioned at the bottom */
    left: 15px; /* Positioned from left */
    right: 15px; /* Positioned from right */
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto; /* Changed to auto */
    height: 36px; /* Adjusted height */
    background: linear-gradient(to right, var(--orange), var(--yellow)); /* Added gradient background */
    color: white; /* Changed color */
    border-radius: 8px; /* Adjusted border-radius */
    font-size: 14px;
    font-weight: 700; /* Adjusted font-weight */
    text-transform: uppercase;
    letter-spacing: 0.05em; /* Adjusted letter-spacing */
    gap: 8px; /* Adjusted gap */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Adjusted box-shadow */
    cursor: pointer; /* Added cursor */
    transition: all 0.3s ease; /* Added transition */
    opacity: 0; /* Hidden by default */
    pointer-events: none; /* Disable pointer events when hidden */
    transform: translateY(10px); /* Initial transform for slide-up effect */
}

.game-card:hover .game-card-button {
    opacity: 1; /* Visible on hover */
    pointer-events: auto; /* Enable pointer events on hover */
    transform: translateY(0); /* Slide up on hover */
}

.game-card-button .button-text {
    display: inline-block;
}

.game-card-button i {
    font-size: 10px; /* Adjusted font size */
}

.game-card-content {
    padding: 20px;
    background: transparent;
    position: relative;
    z-index: 2;
}

.game-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #ffffff;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 48px;
}


.game-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
    backdrop-filter: blur(5px);
    transform: scale(0.9);
}

.game-card:hover .game-card-overlay,
.new-game-card:hover .game-card-overlay {
    opacity: 1;
    transform: scale(1);
}

.play-text {
    font-size: 16px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    padding: 14px 28px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
    transform: translateY(20px) scale(0.9);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.play-text::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.6s ease;
}

.game-card:hover .play-text,
.new-game-card:hover .play-text {
    transform: translateY(0) scale(1);
    box-shadow: 
        0 12px 40px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.3),
        0 0 20px rgba(255,255,255,0.2);
}

.game-card:hover .play-text::before,
.new-game-card:hover .play-text::before {
    left: 100%;
}

.game-stats {
    display: flex;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    margin: 0 -20px -20px;
    border-radius: 0 0 16px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.game-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.game-stats i {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.game-stats span:first-child i { color: #FC4D00; }
.game-stats span:last-child i { color: #08A1F7; }

.more-games-container {
    margin-top: 40px;
    text-align: center;
}

.features-showcase {
    padding: 120px 40px;
    background: transparent;
    position: relative;
}

.features-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(120, 119, 198, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 119, 198, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(252, 77, 0, 0.1) 0%, transparent 60%);
    z-index: 1;
}

.features-showcase::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.01) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 255, 255, 0.01) 50%, transparent 70%);
    animation: featuresVeil 10s ease-in-out infinite;
    z-index: 2;
}

@keyframes featuresVeil {
    0%, 100% {
        opacity: 0.2;
        transform: translateX(-50%) translateY(-50%);
    }
    50% {
        opacity: 0.6;
        transform: translateX(50%) translateY(50%);
    }
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.features-header {
    text-align: center;
    margin-bottom: 80px;
}

.features-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin: 0 0 20px;
    line-height: 1.1;
    background: linear-gradient(135deg, #FC4D00, #08A1F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(252, 77, 0, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(252, 77, 0, 0.1), rgba(8, 161, 247, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(252, 77, 0, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.feature-card > * {
    position: relative;
    z-index: 2;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FC4D00, #08A1F7);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: white;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(252, 77, 0, 0.3);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(252, 77, 0, 0.5);
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0 0 15px;
    line-height: 1.3;
}

.feature-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.contact-section {
    padding: 120px 20px 60px 20px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.contact-section .container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info {
    text-align: left;
}

.contact-info h2 {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin: 0 0 20px;
    line-height: 1.1;
}

.contact-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FC4D00, #08A1F7);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.feature-text {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(252, 77, 0, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    gap: 16px;
}

.form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #FC4D00;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(252, 77, 0, 0.2);
    transform: translateY(-2px);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Nunito', sans-serif;
}

.glass-button {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 16px 32px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.glass-button--arrow::after {
    content: '→';
    font-size: 18px;
    transition: transform 0.3s ease;
}

.glass-button--arrow:hover::after {
    transform: translateX(4px);
}

.glass-button--full {
    width: 100%;
}

.submit-button {
    background: linear-gradient(135deg, rgba(252, 77, 0, 0.9), rgba(97, 66, 255, 0.95));
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.35s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    box-shadow: 0 12px 30px rgba(97, 66, 255, 0.35);
}

.submit-button:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 16px 32px rgba(97, 66, 255, 0.45);
}

.submit-button::after {
    content: '→';
    font-size: 18px;
    transition: transform 0.3s ease;
}

.submit-button:hover::after {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .all-games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-choose {
        padding: 100px 20px 70px 20px;
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }

    .why-card {
        padding: 32px 28px;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info h2 {
        font-size: 40px;
    }

    .contact-subtitle {
        margin-bottom: 30px;
    }

    .contact-form-wrapper {
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .why-choose {
        padding: 90px 18px 60px 18px;
    }

    .why-choose-header {
        margin-bottom: 48px;
    }

    .why-choose-subtitle {
        font-size: 17px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .why-card {
        padding: 28px 24px;
    }

    .why-card-title {
        font-size: 20px;
    }

    .why-icon {
        width: 54px;
        height: 54px;
        border-radius: 16px;
        font-size: 22px;
    }
}

@media (max-width: 600px) {
    .contact-section {
        padding: 80px 16px 50px;
    }

    .why-choose-subtitle {
        font-size: 16px;
    }

    .contact-form-wrapper {
        padding: 28px 20px;
    }

    .form-group {
        flex-direction: column;
    }

    .contact-info h2 {
        font-size: 32px;
    }

    .contact-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .submit-button {
        width: 100%;
    }
}

.success-message, .error-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 500;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.admin-container {
    position: relative;
    min-height: calc(100vh - 70px);
    padding: 120px 20px 80px;
    background: transparent;
    overflow: hidden;
}

.admin-container::before,
.admin-container::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.admin-container::before {
    background:
        radial-gradient(circle at 15% 20%, rgba(120, 119, 198, 0.2) 0%, transparent 55%),
        radial-gradient(circle at 85% 80%, rgba(252, 77, 0, 0.18) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(8, 161, 247, 0.12) 0%, transparent 60%);
}

.admin-container::after {
    background:
        linear-gradient(60deg, transparent 35%, rgba(255, 255, 255, 0.04) 50%, transparent 65%),
        linear-gradient(-60deg, transparent 35%, rgba(255, 255, 255, 0.04) 50%, transparent 65%);
    opacity: 0.6;
}

.admin-container > * {
    position: relative;
    z-index: 2;
}

.admin-container.is-login {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form {
    width: min(100%, 420px);
    margin: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    padding: 48px 40px;
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(252, 77, 0, 0.25);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.login-form h2 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.login-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-form input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.login-form input:focus {
    outline: none;
    border-color: #FC4D00;
    box-shadow: 0 0 0 4px rgba(252, 77, 0, 0.2);
}



.admin-dashboard {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    padding: 0 20px;
    align-items: start;
}

.admin-dashboard > p {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(252, 77, 0, 0.2);
    color: white;
    padding: 20px 30px;
    border-radius: 16px;
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.game-management-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(252, 77, 0, 0.2);
    min-height: 500px;
}

.change-password-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(252, 77, 0, 0.2);
}

.messages-management {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(252, 77, 0, 0.2);
}

.game-management-form h3,
.change-password-form h3,
.messages-management h3 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0 0 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.game-management-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.change-password-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 0;
}

.game-management-form input {
    flex: 1;
}

.change-password-form form input:first-of-type {
    grid-column: 1 / -1;
}

.change-password-form form button {
    margin-top: 4px;
}

.game-management-form input,
.change-password-form input {
    padding: 16px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    width: 100%;
    box-sizing: border-box;
}

.game-management-form input:focus,
.change-password-form input:focus {
    outline: none;
    border-color: #FC4D00;
    box-shadow: 0 0 0 3px rgba(252, 77, 0, 0.2);
}

.game-management-form button,
.change-password-form button {
    white-space: nowrap;
}

.current-games {
    margin-top: 25px;
}

.current-games h4 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin: 0 0 15px;
}

.current-games ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.current-games li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 8px;
    font-weight: 500;
    color: white;
}

.delete-game-btn,
.delete-message-btn {
    background: #ef4444;
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-game-btn:hover,
.delete-message-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.messages-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.message-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.message-item:hover {
    border-color: #FC4D00;
    box-shadow: 0 4px 15px rgba(252, 77, 0, 0.2);
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.message-sender {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.message-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.message-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.message-body {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.logout-form {
    display: inline;
    margin: 0;
}

@media (max-width: 900px) {
    .admin-dashboard {
        grid-template-columns: 1fr;
    }

    .admin-dashboard > p {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .admin-container {
        padding: 100px 16px 60px;
    }

    .admin-dashboard {
        gap: 24px;
    }

    .game-management-form form {
        flex-direction: column;
        align-items: stretch;
    }

    .game-management-form button,
    .change-password-form button {
        width: 100%;
    }

    .message-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .message-meta {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 600px) {
    .login-form {
        padding: 40px 24px;
        border-radius: 20px;
    }

    .admin-container.is-login {
        align-items: flex-start;
    }

    .game-management-form,
    .change-password-form,
    .messages-management {
        padding: 24px;
    }

    .current-games li {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .message-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .login-form {
        padding: 32px 20px;
    }

    .glass-button,
    .submit-button,
    .logout-button {
        padding: 14px 24px;
    }

    .admin-dashboard > p {
        font-size: 16px;
    }
}

.logout-button {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 22px;
    border-radius: 999px;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.logout-button:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.error {
    background: rgba(239, 68, 68, 0.16);
    color: #fca5a5;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(239, 68, 68, 0.35);
    font-weight: 600;
    margin: 10px 0;
}

.success {
    background: rgba(34, 197, 94, 0.16);
    color: #bbf7d0;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(34, 197, 94, 0.35);
    font-weight: 600;
    margin: 10px 0;
}

.all-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    justify-items: center;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.all-games-grid .new-game-card {
    width: 100%;
    max-width: 360px;
}

.hero-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.new-game-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
    max-width: 280px;
}

.new-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.new-game-card--expanded {
    max-width: 340px;
    border-radius: 20px;
}

.new-game-card--expanded .new-game-card-image-container {
    height: 210px;
}

.new-game-card-info--expanded {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.new-game-card--expanded .game-name {
    font-size: 20px;
    line-height: 1.35;
}


.new-game-card-stats--expanded {
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
}

.new-game-card-stat span {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.new-rank-badge--expanded {
    top: 18px;
    left: 18px;
    width: 36px;
    height: 36px;
    font-size: 16px;
    font-weight: 700;
}

.new-game-card-image-container {
    position: relative;
    overflow: hidden;
    height: 180px;
    background: #111;
}

.new-game-card-info {
    padding: 15px;
}

.new-game-card .game-name {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.new-game-card-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.new-game-card-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.new-game-card-stat i {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.new-rank-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: white;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1200px) {
    .all-games-grid {
        gap: 28px;
    }
}

.team-section {
    padding: 120px 40px;
    background: transparent;
    position: relative;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(120, 119, 198, 0.25) 0%, transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(255, 119, 198, 0.25) 0%, transparent 45%),
        radial-gradient(circle at 50% 10%, rgba(8, 161, 247, 0.15) 0%, transparent 55%);
    z-index: 1;
}

.team-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(60deg, transparent 25%, rgba(255, 255, 255, 0.03) 50%, transparent 75%),
        linear-gradient(-60deg, transparent 25%, rgba(255, 255, 255, 0.03) 50%, transparent 75%);
    animation: teamVeil 14s ease-in-out infinite;
    z-index: 2;
}

@keyframes teamVeil {
    0%, 100% {
        opacity: 0.4;
        transform: translateX(-30%) translateY(-30%) rotate(0deg);
    }
    33% {
        opacity: 0.8;
        transform: translateX(30%) translateY(30%) rotate(120deg);
    }
    66% {
        opacity: 0.6;
        transform: translateX(-30%) translateY(30%) rotate(240deg);
    }
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.team-header {
    text-align: center;
    margin-bottom: 80px;
}

.team-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin: 0 0 20px;
    line-height: 1.1;
    background: linear-gradient(135deg, #FC4D00, #08A1F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.team-slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.team-slider {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    align-items: stretch;
}

.team-card {
    box-sizing: border-box;
    flex: 0 0 calc((100% - 60px)/3);
    width: calc((100% - 60px)/3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(252, 77, 0, 0.1), rgba(8, 161, 247, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.team-card:hover::before {
    opacity: 1;
}

.team-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(252, 77, 0, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.team-card > * {
    position: relative;
    z-index: 2;
}

.team-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FC4D00, #08A1F7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: white;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(252, 77, 0, 0.3);
}

.team-card:hover .team-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(252, 77, 0, 0.5);
}

.team-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0 0 8px;
    line-height: 1.3;
}

.team-role {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-bio {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .features-showcase {
        padding: 80px 20px;
    }
    
    .features-title {
        font-size: 36px;
    }
    
    .features-subtitle {
        font-size: 18px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }

    .all-games-grid {
        padding: 0 16px;
        grid-template-columns: 1fr;
    }

    .all-games-grid .new-game-card {
        max-width: 100%;
    }

    .team-slider-wrapper {
        width: 100%;
        max-width: 300px;
    }
    
    .team-card {
    box-sizing: border-box;
        flex: 0 0 280px;
        width: 280px;
        padding: 25px 15px;
    }
    
    header {
        padding: 18px 25px;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, rgba(34, 34, 34, 0.98), rgba(0, 0, 0, 0.95));
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        animation: slideDownMobile 0.4s ease-out;
    }
    
    @keyframes slideDownMobile {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    nav.active {
        display: flex;
    }
    
    nav a {
        text-align: center;
        padding: 18px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        margin: 0;
        border-radius: 0;
        font-size: 16px;
    }

    nav .logout-form {
        width: 100%;
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: block;
    }

    nav .logout-button {
        width: calc(100% - 40px);
        justify-content: center;
        margin: 0 auto;
    }

    nav a::before {
        background: linear-gradient(90deg, rgba(97, 66, 255, 0.2), rgba(252, 77, 0, 0.2));
        border-radius: 0;
        transform: scale(1);
    }

    nav a:hover {
        transform: none;
    }

    nav a:hover::before {
        opacity: 1;
    }

    nav a::after {
        display: none;
    }
    
    nav a:last-child {
        border-bottom: none;
    }

    nav .logout-form:last-child {
        border-bottom: none;
        padding-bottom: 24px;
    }

    .hero-banner {
        min-height: 80vh;
        padding: 60px 20px;
    }

    .title-main {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .title-sub {
        font-size: clamp(1rem, 4vw, 1.5rem);
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        margin-bottom: 50px;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .btn-explore, .btn-contact {
        padding: 16px 24px;
        font-size: 16px;
        width: 100%;
        text-align: center;
    }
}
