/* Logo image styling */
.logo img {
    max-height: 70px;
    width: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
    transition: transform 0.2s;
}

.logo img:hover {
    transform: scale(1.04) rotate(-2deg);
}
/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: #555555;
}

a {
    color: #003f7f;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #002a5c;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #003f7f 0%, #002a5c 100%);
    color: #ffffff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 63, 127, 0.3);
}

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

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    font-weight: 700;
}

.logo h1 a {
    color: #ffffff;
    text-decoration: none;
}

.logo .tagline {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 300;
}

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

.navigation a {
    color: #ffffff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navigation a:hover,
.navigation a.active {
    background: rgba(255, 255, 255, 0.1);
    color: #e6f3ff;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e6f3ff 0%, #ffffff 50%, #e6f3ff 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

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

.hero-text h2 {
    font-size: 3rem;
    color: #003f7f;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.2rem;
    color: #555555;
    margin-bottom: 2rem;
    max-width: 500px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #003f7f 0%, #002a5c 100%);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 63, 127, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 63, 127, 0.4);
    color: #ffffff;
}

.hero-visual {
    position: relative;
    width: 200px;
    height: 200px;
}

.ice-crystal {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #e6f3ff, #ffffff);
    border: 2px solid #003f7f;
    border-radius: 50% 0 50% 0;
    position: absolute;
    top: 20px;
    right: 30px;
    animation: float 3s ease-in-out infinite;
}

.hockey-puck {
    width: 60px;
    height: 20px;
    background: #333333;
    border-radius: 30px;
    position: absolute;
    bottom: 40px;
    left: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: slide 4s ease-in-out infinite;
}

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

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #003f7f 0%, #002a5c 100%);
    color: #ffffff;
    padding: 3rem 0;
    text-align: center;
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    color: #e6f3ff;
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Games Section */
.featured-games {
    padding: 4rem 0;
    background: #ffffff;
}

.featured-games h3 {
    text-align: center;
    font-size: 2.5rem;
    color: #003f7f;
    margin-bottom: 3rem;
}

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

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

.game-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 63, 127, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e6f3ff;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 63, 127, 0.2);
}

.game-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 63, 127, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-button {
    background: #ffffff;
    color: #003f7f;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: #e6f3ff;
    transform: scale(1.05);
}

.game-info {
    padding: 1.5rem;
}

.game-info h4 {
    color: #003f7f;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.game-info p {
    color: #666666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

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

.stars {
    color: #FFD700;
    font-size: 1rem;
}

.rating-number {
    color: #666666;
    font-weight: 500;
}

.play-count {
    color: #888888;
    font-size: 0.85rem;
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #e6f3ff;
    color: #003f7f;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Games Section */
.games-section {
    padding: 2rem 0 4rem;
    background: #f8f9fa;
}

.games-stats {
    text-align: center;
    margin-bottom: 2rem;
    color: #666666;
}

.games-stats strong {
    color: #003f7f;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

.view-all-button {
    display: inline-block;
    background: transparent;
    color: #003f7f;
    border: 2px solid #003f7f;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-button:hover {
    background: #003f7f;
    color: #ffffff;
}

/* Benefits Section */
.benefits {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e6f3ff 100%);
}

.benefits h3 {
    text-align: center;
    font-size: 2.5rem;
    color: #003f7f;
    margin-bottom: 3rem;
}

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

.benefit-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 63, 127, 0.1);
    border: 1px solid #e6f3ff;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-3px);
}

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

.benefit-card h4 {
    color: #003f7f;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.benefit-card p {
    color: #666666;
    line-height: 1.6;
}

/* Game Statistics Section */
.game-statistics {
    padding: 4rem 0;
    background: #f8f9fa;
}

.game-statistics h3 {
    text-align: center;
    font-size: 2.5rem;
    color: #003f7f;
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 63, 127, 0.1);
    border: 1px solid #e6f3ff;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 63, 127, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #003f7f;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: #666666;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.9rem;
    color: #888888;
    line-height: 1.4;
}

/* How to Play Section */
.how-to-play {
    padding: 4rem 0;
    background: linear-gradient(135deg, #e6f3ff 0%, #ffffff 100%);
}

.how-to-play h3 {
    text-align: center;
    font-size: 2.5rem;
    color: #003f7f;
    margin-bottom: 3rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 63, 127, 0.1);
    border: 1px solid #e6f3ff;
    position: relative;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-3px);
}

.step-number {
    background: linear-gradient(135deg, #003f7f 0%, #002a5c 100%);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-card h4 {
    color: #003f7f;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step-card p {
    color: #666666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #002a5c 0%, #001a3d 100%);
    color: #ffffff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #e6f3ff;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.link-group h5 {
    color: #e6f3ff;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.link-group ul {
    list-style: none;
}

.link-group ul li {
    margin-bottom: 0.5rem;
}

.link-group ul li a {
    color: #ffffff;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.link-group ul li a:hover {
    opacity: 1;
}

.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-disclaimer p {
    color: #e6f3ff;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.footer-disclaimer p:last-child {
    margin-bottom: 0;
    opacity: 0.7;
    font-size: 0.85rem;
}

/* Legal Pages */
.legal-page {
    padding: 2rem 0 4rem;
    background: #ffffff;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    color: #003f7f;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.last-updated {
    color: #888888;
    font-style: italic;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e6f3ff;
    padding-bottom: 1rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h3 {
    color: #003f7f;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid #003f7f;
    padding-left: 1rem;
}

.legal-section h4 {
    color: #002a5c;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem;
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section ul li {
    margin-bottom: 0.5rem;
    color: #555555;
}

.legal-footer {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #003f7f;
    margin-top: 3rem;
}

.legal-footer p {
    margin-bottom: 0;
    font-weight: 500;
    color: #003f7f;
}

/* Popups */
.popup {
    position: fixed;
    z-index: 1000;
    padding: 1rem;
    display: none; /* Hidden by default */
}

.popup-content {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #e6f3ff;
}

.age-verification {
    bottom: 20px;
    right: 20px;
    max-width: 300px;
}

.age-verification .popup-content {
    text-align: center;
}

.age-verification h4 {
    color: #003f7f;
    margin-bottom: 1rem;
}

.age-verification p {
    margin-bottom: 1.5rem;
    color: #555555;
}

.popup-buttons {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.accept-btn {
    background: #003f7f;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.accept-btn:hover {
    background: #002a5c;
}

.decline-btn {
    background: #ffffff;
    color: #003f7f;
    border: 2px solid #003f7f;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.decline-btn:hover {
    background: #003f7f;
    color: #ffffff;
}

.cookies-consent {
    bottom: 20px;
    left: 20px;
    max-width: 350px;
}

.cookies-consent .popup-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cookies-consent p {
    margin: 0;
    color: #555555;
    font-size: 0.9rem;
    flex: 1;
}

.cookies-consent .accept-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .navigation ul {
        gap: 1rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .hero-visual {
        margin: 0 auto;
    }
    
    .games-grid,
    .games-grid-full {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-links {
        justify-content: center;
        gap: 2rem;
    }
    
    .age-verification,
    .cookies-consent {
        position: fixed;
        bottom: 10px;
        left: 10px;
        right: 10px;
        max-width: none;
    }
    
    .cookies-consent .popup-content {
        flex-direction: column;
        text-align: center;
    }
    
    .popup-buttons {
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 1.75rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .page-header h2 {
        font-size: 2rem;
    }
    
    .featured-games h3,
    .benefits h3 {
        font-size: 2rem;
    }
    
    .game-card {
        margin-bottom: 1rem;
    }
    
    .legal-content h2 {
        font-size: 2rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none; }
.visible { display: block; }

/* End of CSS */