/* CSS Variables */
:root {
    /* Primary Colors - Cyberpunk Theme */
    --primary-cyan: #00ffff;
    --primary-cyan-dark: #0099cc;
    --primary-neon: #ff00ff;
    --primary-neon-light: #ff66ff;

    /* Secondary Colors */
    --secondary-electric: #00ff88;
    --secondary-electric-light: #33ff99;
    --secondary-red: #ff3366;
    --bg-gradient: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);

    --bg-white: #ffffff;
    --bg-dark: #0a0a0a;
    --bg-gray: #1a1a2e;
    --bg-light-gray: #16213e;
    
    /* Text Colors */
    --text-white: #ffffff;
    --text-dark: #0a0a0a;
    --text-gray: #cccccc;
    --text-light-gray: #999999;
    --text-light: #00ffff;
    
    /* Glass Effects */
    --glass-bg: rgba(0, 255, 255, 0.1);
    --glass-bg-light: rgba(0, 255, 255, 0.15);
    --glass-border: rgba(0, 255, 255, 0.3);
    
    /* Shadows */
    --shadow-light: 0 5px 15px rgba(0, 255, 255, 0.2);
    --shadow-medium: 0 10px 25px rgba(0, 255, 255, 0.3);
    --shadow-heavy: 0 15px 35px rgba(0, 255, 255, 0.4);
    --shadow-gold: 0 6px 20px rgba(255, 0, 255, 0.5);
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', 'Courier New', monospace;
    line-height: 1.6;
    color: var(--text-white);
    background: var(--bg-gradient);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.9);
    color: var(--text-white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

.logo-image {
    height: 70px;
    width: auto;
    max-width: 280px;
    transition: transform var(--transition-fast);
}

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

.site-name {
    color: var(--text-white);
    font-size: 1.2rem;
    font-weight: 800;
    font-family: 'Orbitron', 'Courier New', monospace;
    letter-spacing: 1px;
    text-shadow: 
        0 0 10px var(--primary-cyan),
        0 0 20px var(--primary-cyan),
        0 0 30px var(--primary-cyan);
    transition: all var(--transition-fast);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.site-name::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
    transition: left 0.6s ease;
}

.site-name:hover {
    color: var(--primary-cyan);
    text-shadow: 
        0 0 15px var(--primary-cyan),
        0 0 25px var(--primary-cyan),
        0 0 35px var(--primary-cyan);
    transform: scale(1.05);
}

.site-name:hover::before {
    left: 100%;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: bold;
    transition: color var(--transition-fast);
}

.nav a:hover {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px var(--primary-cyan);
}

/* Main Content */
.main {
    padding: 2rem 0;
}

/* Hero Section */
.hero {
    text-align: center;
    color: var(--text-white);
    padding: 6rem 0;
    background: 
        linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
        url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}


.hero-auth {
    margin-top: 2rem;
    text-align: center;
}

.hero-auth .auth-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hero-auth .auth-link {
    padding: 0.75rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-fast);
    display: inline-block;
    min-width: 160px;
    text-align: center;
}

.hero-auth .login-link {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-auth .login-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero-auth .signup-link {
    background: linear-gradient(135deg, var(--primary-neon) 0%, var(--secondary-electric) 100%);
    color: var(--text-white);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(255, 0, 255, 0.3);
}

.hero-auth .signup-link:hover {
    background: linear-gradient(135deg, var(--primary-neon-light) 0%, var(--secondary-electric-light) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 255, 0.4);
}

.hero-auth .user-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-auth .user-greeting {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-auth .user-menu .auth-link {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    min-width: 120px;
}

.hero-auth .profile-link {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-auth .profile-link:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-auth .logout-link {
    background: rgba(255, 107, 107, 0.2);
    color: var(--text-white);
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.hero-auth .logout-link:hover {
    background: rgba(255, 107, 107, 0.3);
}

/* Features Section */
.features-section {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 3rem 0;
    text-align: center;
}

.features-section h3 {
    color: var(--text-white);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--glass-bg-light);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-cyan);
    box-shadow: var(--shadow-heavy);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h4 {
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 4rem 0;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.text-content h3 {
    color: var(--text-white);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    background: var(--glass-bg);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.step-number {
    background: var(--primary-cyan);
    color: var(--text-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 0 15px var(--primary-cyan);
}

.step-content h4 {
    color: var(--text-white);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.image-content {
    position: relative;
    height: 400px;
}

.casino-image {
    background: url('../images/bg2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* Games Section */
.games-section {
    background: var(--glass-bg-light);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-heavy);
}

.games-section h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-white);
}

/* Games Search */
.games-search-container {
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-bar {
    position: relative;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 25px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-cyan);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 20px var(--primary-cyan), 0 4px 20px rgba(0, 0, 0, 0.3);
    color: var(--text-white);
}

.search-input:focus::placeholder {
    color: rgba(255, 255, 255, 0.9);
}

.clear-search-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    color: var(--text-white);
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.clear-search-btn:hover {
    background: rgba(255, 107, 107, 0.9);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.search-results-info {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.no-results p {
    margin: 0;
    color: #000000;
}


.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 100%;
}

/* Responsive games grid */
@media (min-width: 600px) and (max-width: 899px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Limit to maximum 3 columns on larger screens */
@media (min-width: 900px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.game-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity 0.3s ease;
    border: 2px solid transparent;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-cyan);
}

.game-icon {
    width: 100%;
    height: 120px;
    margin: 0 auto 1rem;
    display: block;
    object-fit: cover;
}

.game-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.game-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.play-btn {
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-neon));
    color: var(--text-dark);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-gold);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: var(--text-dark);
    text-decoration: none;
}

/* Testimonials Section */
.testimonials-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 3rem 0;
}

.testimonials-section h3 {
    color: var(--text-white);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-cyan);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.3);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-cyan);
    position: absolute;
    top: -20px;
    left: -20px;
    font-family: serif;
}

.testimonial-content p::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-cyan);
    position: absolute;
    bottom: -40px;
    right: 0px;
    font-family: serif;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-neon));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
    box-shadow: 0 0 15px var(--primary-cyan);
}

.author-info h5 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.author-info span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-neon) 100%);
    padding: 4rem 0;
    margin: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h3 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn.primary {
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-neon));
    color: var(--text-dark);
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.4);
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.6);
}

.cta-btn.secondary {
    background: #333;
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover {
    background: white;
    color: #ff6b6b;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.disclaimer {
    background: #ff6b6b;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: bold;
}

.footer-main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-section h4 {
    color: var(--primary-cyan);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-shadow: 0 0 10px var(--primary-cyan);
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px var(--primary-cyan);
}

/* Footer Icons with Links */
.footer-icons-with-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.footer-link-image {
    max-width: 200px;
    height: auto;
    max-height: 80px;
    background: var(--bg-white);
    padding: 10px;
    border-radius: 8px;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    box-shadow: var(--shadow-light);
}

.footer-link-image:hover {
    opacity: 0.8;
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

/* Footer Icons without Links */
.footer-icons-no-links {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.footer-icons-image {
    max-width: 100%;
    height: auto;
    max-height: 60px;
    filter: brightness(0) invert(1); /* Makes the image white */
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-icons-image:hover {
    opacity: 1;
}

/* Copyright */
.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #999;
}

/* Page Styles */
.page-hero {
    text-align: center;
    color: var(--text-white);
    padding: 3rem 0;
}

.page-hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About Page Styles */
.about-content {
    background: var(--glass-bg-light);
    border-radius: 15px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-heavy);
}

.about-content .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h3 {
    color: var(--text-white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    color: var(--text-light);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.values-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-cyan);
    font-weight: bold;
}

.about-image {
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-neon));
    border-radius: 20px;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-heavy);
}

.team-section {
    background: var(--glass-bg);
    border-radius: 15px;
    padding: 3rem;
    margin: 2rem 0;
    text-align: center;
}

.team-section h3 {
    color: var(--text-white);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--glass-bg-light);
    border-radius: 15px;
    padding: 2rem;
    transition: transform var(--transition-fast);
}

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

.member-avatar {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.team-member h4 {
    color: var(--text-white);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--primary-cyan);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.team-member span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.stats-section {
    background: var(--glass-bg);
    border-radius: 15px;
    padding: 3rem;
    margin: 2rem 0;
    text-align: center;
}

.stats-section h3 {
    color: var(--text-white);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: var(--glass-bg-light);
    border-radius: 15px;
    padding: 2rem;
    transition: transform var(--transition-fast);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-cyan);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Contact Page Styles */
.contact-content {
    background: var(--glass-bg-light);
    border-radius: 15px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-heavy);
}

.contact-content .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-section h3,
.contact-info-section h3 {
    color: var(--text-white);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-white);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

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

.submit-btn {
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-neon));
    color: var(--text-dark);
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-gold);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 2rem;
    margin-top: 0.5rem;
}

.contact-details h4 {
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.contact-details p {
    color: var(--text-light);
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.contact-details span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.faq-section {
    margin-top: 2rem;
}

.faq-section h4 {
    color: var(--text-white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h5 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.5;
}

/* Active Navigation */
.nav a.active {
    color: var(--primary-cyan);
    text-decoration: underline;
}

/* FAQ Section Main */
.faq-section-main {
    background: var(--glass-bg);
    border-radius: 15px;
    padding: 3rem;
    margin: 2rem 0;
    text-align: center;
}

.faq-section-main h3 {
    color: var(--text-white);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: left;
}

.faq-item {
    background: var(--glass-bg-light);
    border-radius: 15px;
    padding: 2rem;
    transition: transform var(--transition-fast);
}

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

.faq-item h4 {
    color: var(--text-white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Privacy and Terms Pages */
.privacy-content,
.terms-content {
    background: var(--glass-bg-light);
    border-radius: 15px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-heavy);
}

.privacy-section,
.terms-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.privacy-section:last-child,
.terms-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.privacy-section h3,
.terms-section h3 {
    color: var(--text-white);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.privacy-section p,
.terms-section p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.privacy-section ul,
.terms-section ul {
    color: var(--text-light);
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-section li,
.terms-section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.privacy-footer,
.terms-footer {
    background: var(--glass-bg);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.privacy-footer p,
.terms-footer p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.privacy-footer p:last-child,
.terms-footer p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    /* New sections responsive */
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .how-it-works .text-content {
        order: 2;
    }
    
    .how-it-works .image-content {
        order: 1;
        height: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-main-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-icons-with-links {
        justify-content: center;
    }
    
    .footer-icons-no-links {
        flex-direction: column;
        align-items: center;
    }
    
    .icon-link,
    .icon-no-link {
        width: 100%;
        max-width: 300px;
    }
    
    /* Page responsive styles */
    .about-content .content-wrapper,
    .contact-content .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content .image-content {
        order: -1;
    }
    
    .team-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .games-section {
        padding: 1rem;
    }
    
    .game-card {
        padding: 1.5rem;
    }
}

/* Cookie Policy Popup Styles */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    margin: 0 auto;
    background: var(--glass-bg-light);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    box-shadow: var(--shadow-heavy);
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--transition-slow);
    font-family: 'Inter', sans-serif;
}

.cookie-popup.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    padding: 1.5rem;
}

.cookie-header h4 {
    color: var(--text-white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-header h4::before {
    content: "🍪";
    font-size: 1.1rem;
}

.cookie-body {
    margin-bottom: 1.5rem;
}

.cookie-body p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.cookie-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 120px;
}

.cookie-btn-primary {
    background: var(--bg-gradient);
    color: var(--text-white);
    box-shadow: var(--shadow-light);
}

.cookie-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.cookie-btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--primary-purple);
}

.cookie-btn-secondary:hover {
    background: var(--primary-purple);
    color: var(--text-white);
    transform: translateY(-1px);
}

.cookie-btn-link {
    background: transparent;
    color: var(--primary-purple);
    border: none;
    text-decoration: underline;
    min-width: auto;
    padding: 0.4rem 0.8rem;
}

.cookie-btn-link:hover {
    color: var(--primary-purple-dark);
    text-decoration: none;
}

/* Mobile Responsive for Cookie Popup */
@media (max-width: 768px) {
    .cookie-popup {
        bottom: 10px;
        left: 10px;
        right: 10px;
        max-width: none;
    }
    
    .cookie-content {
        padding: 1.2rem;
    }
    
    .cookie-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-btn {
        width: 100%;
        min-width: auto;
    }
    
    .cookie-btn-link {
        order: -1;
        text-align: center;
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .cookie-popup {
        bottom: 5px;
        left: 5px;
        right: 5px;
    }
    
    .cookie-content {
        padding: 1rem;
    }
    
    .cookie-header h4 {
        font-size: 1.1rem;
    }
    
    .cookie-body p {
        font-size: 0.85rem;
    }
}

/* Authentication Pages Styles */
.auth-hero {
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.auth-content {
    max-width: 500px;
    margin: 0 auto;
    background: var(--glass-bg-light);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: var(--shadow-heavy);
    overflow: hidden;
}

.auth-header {
    text-align: center;
    padding: 2rem 2rem 1rem;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    color: var(--text-white);
}

.auth-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.auth-header p {
    opacity: 0.9;
    color: #fff;
    font-size: 1rem;
}

.auth-form-container {
    padding: 2rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-white);
    font-size: 0.9rem;
}

.form-group input {
    padding: 0.75rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--bg-white);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input.error {
    border-color: var(--secondary-red);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.error-message {
    color: var(--secondary-red);
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.25rem;
    display: none;
}

.error-message.show {
    display: block;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: -0.5rem 0;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--text-gray);
    cursor: pointer;
}

.forgot-password {
    color: var(--primary-purple);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.forgot-password:hover {
    color: var(--primary-purple-dark);
    text-decoration: underline;
}

.auth-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.auth-btn.primary {
    background: var(--bg-gradient);
    color: var(--text-white);
    box-shadow: var(--shadow-light);
}

.auth-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    background: linear-gradient(135deg, var(--primary-purple-dark) 0%, var(--primary-purple) 100%);
}

.auth-btn.primary:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.auth-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-loading::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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


.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e1e5e9;
}

.auth-footer p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.auth-footer a:hover {
    color: var(--primary-purple-dark);
    text-decoration: underline;
}

/* Auth Messages */
.auth-messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
}

.message-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    animation: slideInRight 0.3s ease;
}

.message-content.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.message-content.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.message-icon {
    font-size: 1.2rem;
}

.message-content.success .message-icon::before {
    content: '✅';
}

.message-content.error .message-icon::before {
    content: '❌';
}

.message-text {
    flex: 1;
    font-weight: 500;
}

.message-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.message-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile Responsive for Auth */
@media (max-width: 768px) {
    .auth-hero {
        padding: 1rem 0;
    }
    
    .auth-content {
        margin: 0 1rem;
    }
    
    .auth-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .auth-header h2 {
        font-size: 1.75rem;
    }
    
    .auth-form-container {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .auth-messages {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .auth-header {
        padding: 1.25rem 1.25rem 0.75rem;
    }
    
    .auth-header h2 {
        font-size: 1.5rem;
    }
    
    .auth-form-container {
        padding: 1.25rem;
    }
    
}

/* Authentication Navigation Styles */
.auth-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.auth-link {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    display: inline-block;
}

.login-link {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
    color: var(--text-white);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    font-weight: 600;
}

.login-link:hover {
    background: linear-gradient(135deg, #ff5252 0%, #ff9800 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.signup-link {
    background: var(--bg-gradient);
    color: var(--text-white);
    box-shadow: var(--shadow-light);
}

.signup-link:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-greeting {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
}

.user-menu .auth-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

.profile-link {
    color: var(--primary-purple);
    border: 1px solid var(--primary-purple);
}

.profile-link:hover {
    background: var(--primary-purple);
    color: var(--text-white);
}

.logout-link {
    color: var(--secondary-red);
    border: 1px solid var(--secondary-red);
}

.logout-link:hover {
    background: var(--secondary-red);
    color: var(--text-white);
}

/* Mobile Responsive for Auth Nav */
@media (max-width: 768px) {
    .auth-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .auth-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .auth-link {
        width: 100%;
        text-align: center;
        padding: 0.6rem 1rem;
    }
    
    .user-menu {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .user-greeting {
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .user-menu .auth-link {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .auth-buttons {
        gap: 0.5rem;
    }
    
    .auth-link {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* Mobile Responsive for Hero Auth */
@media (max-width: 768px) {
    .hero-auth .auth-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-auth .auth-link {
        width: 100%;
        max-width: 280px;
        padding: 0.875rem 1.5rem;
    }
    
    .hero-auth .user-menu {
        gap: 0.75rem;
    }
    
    .hero-auth .user-menu .auth-link {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .hero-auth .auth-link {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .hero-auth .user-menu .auth-link {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* Leaderboard Styles */
.leaderboard-section {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-neon) 50%, var(--primary-cyan) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.leaderboard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.leaderboard-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.leaderboard-header {
    text-align: center;
    margin-bottom: 3rem;
}

.leaderboard-header h3 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-white);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.leaderboard-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.leaderboard-container {
    background: linear-gradient(180deg, var(--primary-cyan) 0%, var(--primary-neon) 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.leaderboard-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}


.leaderboard {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.leaderboard-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.leaderboard-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.leaderboard-item:hover::before {
    transform: translateX(100%);
}

.leaderboard-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.leaderboard-item.grand {
    border-left: 4px solid var(--primary-cyan);
}

.leaderboard-item.major {
    border-left: 4px solid var(--secondary-electric);
}

.leaderboard-item.minor {
    border-left: 4px solid var(--primary-neon);
}

.leaderboard-item.mini {
    border-left: 4px solid var(--secondary-electric-light);
}

.item-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.item-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    color: #000;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}


.last-won {
    font-size: 0.9rem;
    color: #000;
    font-weight: 500;
}

.item-score {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.score-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.score-number.score-updating {
    animation: scoreUpdate 0.3s ease;
    color: var(--primary-cyan);
    text-shadow: 0 0 10px var(--primary-cyan);
}

.score-number.score-win {
    animation: scoreWin 1s ease;
    color: var(--primary-neon);
    text-shadow: 0 0 20px var(--primary-neon);
}

@keyframes scoreUpdate {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes scoreWin {
    0% { transform: scale(1); }
    25% { transform: scale(1.2) rotate(2deg); }
    50% { transform: scale(1.1) rotate(-2deg); }
    75% { transform: scale(1.15) rotate(1deg); }
    100% { transform: scale(1); }
}

/* Mobile Responsive for Leaderboard */
@media (max-width: 768px) {
    .leaderboard-section {
        padding: 2rem 0;
    }
    
    .leaderboard-header h3 {
        font-size: 2rem;
    }
    
    .leaderboard-container {
        padding: 1.5rem;
    }
    
    .leaderboard-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .item-score {
        align-items: flex-start;
        width: 100%;
    }
    
    .score-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .leaderboard-header h3 {
        font-size: 1.5rem;
    }
    
    .leaderboard-container {
        padding: 1rem;
    }
    
    .leaderboard-item {
        padding: 1rem;
    }
    
    .score-number {
        font-size: 1.2rem;
    }
}
