/* Oyun Kupası - Main Stylesheet */
/* Critical and non-critical CSS combined */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
}

/* Animasyonlu arka plan */
.animated-bg {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    position: relative;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Yüzen partiküller */
.particle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
}

/* H1-H6 Optimized Styles */
.main-content h1 {
    font-size: 2.5em;
    text-align: center;
    margin: 0 0 30px 0;
    color: #333;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

.main-content h2 {
    font-size: 2em;
    margin: 25px 0 20px 0;
    color: #444;
    font-weight: 700;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
    text-align: center;
}

.main-content h3 {
    font-size: 1.5em;
    margin: 20px 0 15px 0;
    color: #555;
    font-weight: 600;
}

.main-content h4 {
    font-size: 1.2em;
    margin: 15px 0 10px 0;
    color: #666;
    font-weight: 600;
}

/* Screen reader only class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Site Banner */
.site-banner {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.site-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 30%),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    animation: bannerShine 4s ease-in-out infinite;
}

@keyframes bannerShine {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.banner-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
}

.banner-logo {
    font-size: 3.5em;
    margin-bottom: 15px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    font-weight: 900;
    letter-spacing: 2px;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.banner-tagline {
    font-size: 1.4em;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
    color: #FFE4B5;
}

.banner-subtitle {
    font-size: 1.1em;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    color: #E0E0E0;
    font-style: italic;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.content-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Banner areas */
.banner-left, .banner-right {
    width: 160px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex-shrink: 0;
}

.banner-left-1, .banner-left-3, .banner-left-5, .banner-left-51,
.banner-right-1, .banner-right-3, .banner-right-5, .banner-right-51 {
    width: 160px;
    height: 600px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px dashed #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-lr;
    font-weight: bold;
    color: #666;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.banner-left-2, .banner-left-4, .banner-left-6, .banner-left-61,
.banner-right-2, .banner-right-4, .banner-right-6, .banner-right-61 {
    width: 160px;
    height: 300px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px dashed #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-lr;
    font-weight: bold;
    color: #666;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.banner-left-1:hover, .banner-left-2:hover, .banner-left-3:hover, .banner-left-4:hover, 
.banner-left-5:hover, .banner-left-6:hover, .banner-left-51:hover, .banner-left-61:hover,
.banner-right-1:hover, .banner-right-2:hover, .banner-right-3:hover, .banner-right-4:hover, 
.banner-right-5:hover, .banner-right-6:hover, .banner-right-51:hover, .banner-right-61:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #007bff;
    color: #007bff;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.main-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Contest header */
.contest-header {
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.contest-header h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    text-align: center;
}

.contest-description {
    font-size: 1.4em;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Game menu */
.game-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
    perspective: 1000px;
}

.game-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    color: white;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    border: 2px solid transparent;
    display: block;
}

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

.game-card:hover::before {
    transform: translateX(100%);
}

.game-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.game-card.active {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    animation: activeCardPulse 2s infinite alternate, activeCardGlow 3s ease-in-out infinite;
    border-color: #FFD700;
}

.game-card.active::after {
    content: '✨ OYNA ✨';
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
    animation: playBadge 2s ease-in-out infinite;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

@keyframes playBadge {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.game-card.inactive {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    cursor: not-allowed;
    opacity: 0.8;
    position: relative;
}

.game-card.inactive::after {
    content: '🔒 YAKINDA';
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
    animation: comingSoonBadge 3s ease-in-out infinite;
}

@keyframes comingSoonBadge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes activeCardPulse {
    from { 
        box-shadow: 0 8px 25px rgba(17, 153, 142, 0.3);
        transform: scale(1);
    }
    to { 
        box-shadow: 0 12px 35px rgba(17, 153, 142, 0.5);
        transform: scale(1.02);
    }
}

@keyframes activeCardGlow {
    0% { border-color: #FFD700; }
    33% { border-color: #FF6B6B; }
    66% { border-color: #4ECDC4; }
    100% { border-color: #FFD700; }
}

.game-card h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.2;
    color: white;
}

.game-card.active h3 {
    color: #FFFFFF;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 215, 0, 0.2);
    font-size: 1.7em;
    font-weight: 900;
}

.game-card p {
    font-size: 1em;
    margin-bottom: 15px;
    line-height: 1.4;
    position: relative;
    z-index: 2;
    color: white;
}

.game-card small {
    display: block;
    font-weight: bold;
    font-size: 0.9em;
    padding: 8px 16px;
    border-radius: 20px;
    margin-top: 10px;
    position: relative;
    z-index: 2;
    color: white;
}

.game-card.active small {
    background: rgba(255, 255, 255, 0.2);
    color: #FFD700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: activeBadgeGlow 2s ease-in-out infinite alternate;
}

@keyframes activeBadgeGlow {
    from { background: rgba(255, 255, 255, 0.2); }
    to { background: rgba(255, 215, 0, 0.3); }
}

.game-card.inactive small {
    background: rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
}

.game-icon {
    font-size: 3em;
    display: block;
    margin-bottom: 15px;
    animation: iconFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
}

.game-card.active .game-icon {
    animation: activeIconFloat 2s ease-in-out infinite, iconSpin 8s linear infinite;
}

@keyframes activeIconFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-12px) scale(1.1); }
}

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

.game-card.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 215, 0, 0.4), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 215, 0, 0.4), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255, 255, 255, 0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkles 4s linear infinite;
    pointer-events: none;
    border-radius: 20px;
}

@keyframes sparkles {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

.game-card:not(.active):hover {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
}

.game-card.inactive:hover {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    transform: none;
    cursor: not-allowed;
}

/* Membership CTA */
.membership-cta {
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 20px;
    border: 3px solid #FF6B6B;
    animation: ctaPulse 2s ease-in-out infinite alternate, ctaGlow 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.membership-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: ctaShine 3s linear infinite;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.cta-icon {
    font-size: 2.5em;
    animation: iconBounce 1.5s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.cta-text {
    color: #8B0000;
    font-size: 1.3em;
    font-weight: 900;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    line-height: 1.3;
}

.cta-arrow {
    font-size: 2em;
    animation: arrowBounce 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes ctaPulse {
    from { 
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
    }
    to { 
        transform: scale(1.02);
        box-shadow: 0 0 30px rgba(255, 107, 107, 0.8);
    }
}

@keyframes ctaGlow {
    0% { border-color: #FF6B6B; }
    25% { border-color: #4ECDC4; }
    50% { border-color: #45B7D1; }
    75% { border-color: #96CEB4; }
    100% { border-color: #FF6B6B; }
}

@keyframes ctaShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

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

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(10px); }
}

/* Charity organizations */
.charity-organizations {
    margin-top: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.charity-organizations h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.3em;
    color: #FFE4B5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.charity-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.charity-item {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.charity-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
}

.charity-icon {
    font-size: 2em;
    min-width: 50px;
    text-align: center;
}

.charity-name {
    font-weight: bold;
    color: #2c3e50;
    min-width: 120px;
}

.charity-desc {
    font-size: 0.9em;
    color: #666;
    line-height: 1.3;
}

/* Ad support info */
.ad-support-info {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #FF1744 0%, #FF6D00 30%, #FFEA00 60%, #00E676 100%);
    border-radius: 15px;
    color: white;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 3px solid #FFD700;
    position: relative;
    overflow: hidden;
}

.ad-support-info::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 30%),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    border-radius: 15px;
    pointer-events: none;
}

.ad-support-info h4 {
    font-size: 1.5em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    font-weight: 800;
    letter-spacing: 1px;
}

.ad-support-info > p {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.4;
    position: relative;
    z-index: 2;
    font-weight: 600;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.4);
}

.support-actions {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.support-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    min-width: 150px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.support-item:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

.support-icon {
    font-size: 2.5em;
    margin-bottom: 5px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.support-text {
    font-weight: 700;
    text-align: center;
    font-size: 0.95em;
    line-height: 1.3;
    color: #fff;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
}

.support-note {
    font-style: italic;
    font-size: 1em;
    margin-top: 15px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 215, 0, 0.2));
    border-radius: 10px;
    border: 2px solid #FFD700;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(5px);
    box-shadow: inset 0 0 20px rgba(255, 215, 0, 0.3);
}

/* Authentication forms */
.auth-section {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.auth-form {
    flex: 1;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

.auth-form h3 {
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Scores section */
.scores-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.scores-section h2 {
    color: #333;
    font-size: 1.8em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.games-scoreboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.game-scoreboard {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.game-scoreboard:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
}

.game-scoreboard.active {
    border-color: #28a745;
    background: linear-gradient(135deg, #f8fff9 0%, #e8f5e8 100%);
}

.game-scoreboard.inactive {
    opacity: 0.7;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.game-scoreboard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e9ecef;
}

.game-scoreboard.active .game-scoreboard-header {
    border-bottom-color: #28a745;
}

.game-icon-score {
    font-size: 2em;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.game-title-score {
    flex: 1;
}

.game-title-score h3 {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 4px;
    font-weight: 700;
}

.game-status {
    font-size: 0.85em;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 600;
}

.game-status.active {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.game-status.inactive {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: white;
}

.scores-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 5px;
}

.scores-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 8px;
    text-align: center;
    font-size: 0.9em;
    font-weight: 600;
    border-radius: 5px 5px 0 0;
}

.scores-table td {
    padding: 12px 8px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.95em;
}

.scores-table tr:last-child td {
    border-bottom: none;
}

.rank-1 {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.rank-2 {
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
    color: #000;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(192, 192, 192, 0.4);
}

.rank-3 {
    background: linear-gradient(135deg, #CD7F32, #A0522D);
    color: #fff;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(205, 127, 50, 0.4);
}

.no-scores {
    text-align: center;
    padding: 25px;
    color: #6c757d;
    font-style: italic;
    background: rgba(108, 117, 125, 0.1);
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

.no-scores-icon {
    font-size: 2em;
    margin-bottom: 10px;
    opacity: 0.5;
}

/* Site statistics */
.stats-section {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.stat-card {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 2em;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

/* Contact section */
.contact-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    text-align: center;
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 30%);
    animation: contactShine 6s ease-in-out infinite;
}

@keyframes contactShine {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

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

.contact-section h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #FFE4B5;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    border: none;
    text-align: center;
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.contact-icon {
    font-size: 2.5em;
    color: #FFD700;
    animation: contactIconFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

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

.contact-details {
    text-align: left;
}

.contact-email {
    font-size: 1.3em;
    font-weight: 700;
    color: #FFD700;
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.contact-email:hover {
    color: #FFF;
    border-bottom-color: #FFD700;
    transform: scale(1.05);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.contact-text {
    font-size: 1.1em;
    margin-top: 5px;
    color: #E0E0E0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.contact-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.contact-feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-feature-icon {
    font-size: 1.5em;
    margin-bottom: 8px;
    color: #FFD700;
}

.contact-feature h4 {
    font-size: 1em;
    margin-bottom: 5px;
    color: #FFE4B5;
}

.contact-feature p {
    font-size: 0.9em;
    color: #E0E0E0;
    line-height: 1.4;
}

/* User info */
.user-info {
    background: #e9f7ef;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.logout-btn {
    background: #dc3545;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

/* Error and success messages */
.error {
    color: #dc3545;
    background: #f8d7da;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    border: 1px solid #f5c6cb;
}

.success {
    color: #155724;
    background: #d4edda;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    border: 1px solid #c3e6cb;
}

/* Lazy loading images */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

img.lazy.loaded {
    opacity: 1;
}

/* Site Footer */
.site-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 15px 0 10px 0;
    margin-top: 20px;
    border-top: 4px solid #667eea;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-links {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.footer-link {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 3px;
}

.footer-link:hover {
    color: #667eea;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.footer-separator {
    color: #7f8c8d;
    margin: 0 3px;
    font-size: 13px;
}

.footer-copyright {
    border-top: 1px solid #34495e;
    padding-top: 8px;
    font-size: 12px;
    color: #bdc3c7;
}

.footer-copyright p {
    margin: 3px 0;
}

.footer-tagline {
    font-style: italic;
    color: #95a5a6;
    font-size: 11px;
}

/* Footer responsive */
@media (max-width: 768px) {
    .site-footer {
        padding: 12px 0 8px 0;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 3px;
        margin-bottom: 8px;
    }
    
    .footer-separator {
        display: none;
    }
    
    .footer-link {
        font-size: 12px;
        padding: 3px 6px;
    }
    
    .footer-copyright {
        font-size: 11px;
        padding-top: 6px;
    }
    
    .footer-tagline {
        font-size: 10px;
    }
}

/* Responsive design */
@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .banner-left, .banner-right {
        width: 100%;
        flex-direction: row;
        height: auto;
        overflow-x: auto;
    }
    
    .banner-left-1, .banner-left-2, .banner-left-3, .banner-left-4, 
    .banner-left-5, .banner-left-6, .banner-left-51, .banner-left-61,
    .banner-right-1, .banner-right-2, .banner-right-3, .banner-right-4, 
    .banner-right-5, .banner-right-6, .banner-right-51, .banner-right-61 {
        height: 100px;
        min-width: 160px;
        writing-mode: horizontal-tb;
        flex-shrink: 0;
        margin-bottom: 0;
        margin-right: 10px;
    }
    
    .banner-left-6, .banner-left-61, .banner-right-6, .banner-right-61 {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .site-banner {
        height: 180px;
        margin: 10px 0;
    }
    
    .banner-logo {
        font-size: 2.5em;
        margin-bottom: 10px;
    }
    
    .banner-tagline {
        font-size: 1.1em;
    }
    
    .banner-subtitle {
        font-size: 0.95em;
    }
    
    .game-menu {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .game-card {
        padding: 20px;
    }
    
    .game-icon {
        font-size: 2.5em;
    }
    
    /* Mobile responsive H tags */
    .main-content h1 {
        font-size: 2em;
        margin: 15px 0 20px 0;
    }
    
    .main-content h2 {
        font-size: 1.6em;
    }
    
    .main-content h3 {
        font-size: 1.3em;
    }
    
    .auth-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .stats-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .banner-left, .banner-right {
        justify-content: flex-start;
        padding: 10px;
    }
    
    .banner-left-1, .banner-left-2, .banner-left-3, .banner-left-4, 
    .banner-left-5, .banner-left-6, .banner-left-51, .banner-left-61,
    .banner-right-1, .banner-right-2, .banner-right-3, .banner-right-4, 
    .banner-right-5, .banner-right-6, .banner-right-51, .banner-right-61 {
        height: 80px;
        min-width: 120px;
        font-size: 0.8em;
    }
    
    .membership-cta {
        margin: 20px 0;
        padding: 15px;
    }

    .cta-content {
        flex-direction: column;
        gap: 10px;
    }

    .cta-text {
        font-size: 1.1em;
    }

    .cta-icon, .cta-arrow {
        font-size: 2em;
    }
    
    .charity-list {
        grid-template-columns: 1fr;
    }
    
    .charity-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .charity-name, .charity-desc {
        min-width: auto;
    }

    .support-actions {
        flex-direction: column;
    }
    
    .games-scoreboard {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .game-scoreboard {
        padding: 15px;
    }
    
    .game-scoreboard-header {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .game-icon-score {
        font-size: 1.8em;
    }
    
    .scores-table th,
    .scores-table td {
        padding: 8px 4px;
        font-size: 0.85em;
    }
    
    .contact-section {
        padding: 20px;
        margin: 20px 0;
    }

    .contact-section h2 {
        font-size: 1.5em;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    .contact-details {
        text-align: center;
    }

    .contact-email {
        font-size: 1.1em;
    }

    .contact-text {
        font-size: 1em;
    }

    .contact-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .contact-icon {
        font-size: 2em;
    }
}

/* Print styles */
@media print {
    .animated-bg,
    .particle,
    .banner-left,
    .banner-right,
    .membership-cta,
    .ad-support-info {
        display: none;
    }
    
    .main-content {
        background: white;
        box-shadow: none;
        padding: 20px;
    }
    
    .game-card {
        background: white;
        border: 1px solid #ccc;
        color: black;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .game-card {
        border: 3px solid;
    }
    
    .main-content h1 {
        color: #000;
        background: none;
        -webkit-text-fill-color: initial;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}