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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #F4F1E8;
    background: linear-gradient(135deg, #2D1810 0%, #4A2C17 25%, #5D2E1A 50%, #2D1810 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(139, 69, 19, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(160, 82, 45, 0.1) 0%, transparent 40%),
        linear-gradient(90deg, transparent 49%, rgba(139, 69, 19, 0.05) 50%, transparent 51%),
        linear-gradient(180deg, transparent 49%, rgba(160, 82, 45, 0.05) 50%, transparent 51%);
    background-size: 100px 100px, 120px 120px, 30px 30px, 30px 30px;
    animation: stoneTexture 30s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes stoneTexture {
    0% { background-position: 0 0, 0 0, 0 0, 0 0; }
    100% { background-position: 100px 100px, -120px -120px, 30px 30px, -30px -30px; }
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(45, 24, 16, 0.98) 0%, rgba(74, 44, 23, 0.95) 100%);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 3px solid #B8860B;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #B8860B, #DAA520, #CD853F, #B8860B);
    animation: heraldicGlow 4s ease-in-out infinite alternate;
}

@keyframes heraldicGlow {
    from { 
        box-shadow: 0 0 5px #B8860B;
        filter: brightness(1);
    }
    to { 
        box-shadow: 0 0 15px #DAA520;
        filter: brightness(1.2);
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h1 {
    font-size: 2rem;
    color: #DAA520;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 10px rgba(218, 165, 32, 0.5);
    animation: royalGlow 3s ease-in-out infinite alternate;
    font-family: 'Georgia', serif;
}

@keyframes royalGlow {
    from {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 10px rgba(218, 165, 32, 0.5);
    }
    to {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 15px rgba(218, 165, 32, 0.8), 0 0 20px rgba(139, 69, 19, 0.6);
    }
}

.logo-tagline {
    font-size: 0.8rem;
    color: #CD853F;
    font-weight: 600;
    display: block;
    margin-top: -5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-family: 'Georgia', serif;
    font-style: italic;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #F4F1E8;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 8px;
    white-space: nowrap;
    position: relative;
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.2), rgba(160, 82, 45, 0.2));
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #B8860B;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link:hover {
    color: #DAA520;
    text-shadow: 0 0 8px rgba(218, 165, 32, 0.8);
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.4), rgba(160, 82, 45, 0.4));
}

.nav-link:hover::before {
    opacity: 1;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: rgba(139, 69, 19, 0.3);
    border: 2px solid #B8860B;
    border-radius: 8px;
    padding: 12px;
    backdrop-filter: blur(10px);
    z-index: 1600;
}

.burger span {
    width: 25px;
    height: 3px;
    background: #DAA520;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(218, 165, 32, 0.5);
}

/* Hero Section */
.hero-section {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding-top: 8rem;
    position: relative;
    overflow: hidden;
}

.castle-towers {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.tower {
    position: absolute;
    width: 60px;
    height: 200px;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    border: 3px solid #654321;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.tower::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    border-bottom: 25px solid #654321;
}

.tower-left {
    top: 15%;
    left: 5%;
    animation: towerSway 8s ease-in-out infinite;
}

.tower-right {
    top: 20%;
    right: 8%;
    animation: towerSway 8s ease-in-out infinite 4s;
}

@keyframes towerSway {
    0%, 100% {
        transform: rotateZ(0deg);
    }
    50% {
        transform: rotateZ(1deg);
    }
}

.medieval-flags {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.flag {
    position: absolute;
    width: 40px;
    height: 25px;
    border-radius: 0 4px 4px 0;
    animation: flagWave 3s ease-in-out infinite;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.flag::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 0;
    width: 3px;
    height: 60px;
    background: #654321;
    border-radius: 2px;
}

.flag-red {
    top: 25%;
    left: 15%;
    background: linear-gradient(45deg, #8B0000, #DC143C);
    animation-delay: 0s;
}

.flag-blue {
    top: 35%;
    right: 20%;
    background: linear-gradient(45deg, #191970, #4169E1);
    animation-delay: 1s;
}

.flag-gold {
    top: 60%;
    left: 75%;
    background: linear-gradient(45deg, #B8860B, #DAA520);
    animation-delay: 2s;
}

@keyframes flagWave {
    0%, 100% {
        transform: rotateY(0deg) rotateZ(0deg);
    }
    25% {
        transform: rotateY(10deg) rotateZ(1deg);
    }
    75% {
        transform: rotateY(-10deg) rotateZ(-1deg);
    }
}

.hero-content {
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
    z-index: 2;
    padding: 0 2rem;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #DAA520;
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(218, 165, 32, 0.6),
        0 0 25px rgba(139, 69, 19, 0.4);
    animation: knightlyGlow 4s ease-in-out infinite alternate;
    font-family: 'Georgia', serif;
    letter-spacing: 2px;
}

@keyframes knightlyGlow {
    from {
        text-shadow: 
            3px 3px 6px rgba(0, 0, 0, 0.8),
            0 0 15px rgba(218, 165, 32, 0.6),
            0 0 25px rgba(139, 69, 19, 0.4);
    }
    to {
        text-shadow: 
            3px 3px 6px rgba(0, 0, 0, 0.8),
            0 0 20px rgba(218, 165, 32, 0.9),
            0 0 35px rgba(139, 69, 19, 0.7),
            0 0 45px rgba(205, 133, 63, 0.5);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: #F4F1E8;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 400;
    font-family: 'Georgia', serif;
    font-style: italic;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Heraldic Elements */
.heraldic-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.coat-of-arms {
    position: absolute;
    top: 30%;
    right: 12%;
    width: 50px;
    height: 60px;
    background: linear-gradient(135deg, #B8860B, #DAA520);
    border: 3px solid #654321;
    border-radius: 50% 50% 0 0;
    animation: heraldFloat 6s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(184, 134, 11, 0.5);
}

.coat-of-arms::before {
    content: '⚔️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
}

.sword-cross {
    position: absolute;
    top: 50%;
    left: 10%;
    width: 6px;
    height: 50px;
    background: linear-gradient(135deg, #C0C0C0, #DCDCDC);
    border-radius: 3px;
    animation: swordGlow 5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(192, 192, 192, 0.5);
}

.sword-cross::before {
    content: '';
    position: absolute;
    top: 8px;
    left: -8px;
    width: 22px;
    height: 6px;
    background: linear-gradient(135deg, #C0C0C0, #DCDCDC);
    border-radius: 3px;
}

.sword-cross::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: -3px;
    width: 12px;
    height: 8px;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    border-radius: 0 0 6px 6px;
}

.crown-symbol {
    position: absolute;
    bottom: 25%;
    right: 25%;
    width: 40px;
    height: 30px;
    border: 3px solid #DAA520;
    border-radius: 0 0 20px 20px;
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.3), rgba(184, 134, 11, 0.3));
    animation: crownShine 7s ease-in-out infinite;
    box-shadow: 0 0 12px rgba(218, 165, 32, 0.4);
}

.crown-symbol::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 15px solid #DAA520;
}

@keyframes heraldFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
        opacity: 1;
    }
}

@keyframes swordGlow {
    0%, 100% {
        transform: rotate(15deg);
        box-shadow: 0 0 10px rgba(192, 192, 192, 0.5);
    }
    50% {
        transform: rotate(20deg);
        box-shadow: 0 0 20px rgba(192, 192, 192, 0.8);
    }
}

@keyframes crownShine {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 12px rgba(218, 165, 32, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(218, 165, 32, 0.7);
    }
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border: 3px solid;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    font-family: 'Georgia', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #B8860B, #DAA520);
    color: #2D1810;
    border-color: #8B4513;
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(184, 134, 11, 0.6);
    background: linear-gradient(135deg, #DAA520, #CD853F);
    border-color: #654321;
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.8), rgba(160, 82, 45, 0.8));
    color: #F4F1E8;
    border-color: #8B4513;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(160, 82, 45, 0.9), rgba(205, 133, 63, 0.9));
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(160, 82, 45, 0.5);
    border-color: #654321;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
}

/* Games Section */
.games-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(45, 24, 16, 0.9) 0%, rgba(74, 44, 23, 0.8) 100%);
    position: relative;
    z-index: 2;
}

.games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(184, 134, 11, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(139, 69, 19, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #DAA520;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 15px rgba(218, 165, 32, 0.6);
    animation: titleGlow 3s ease-in-out infinite alternate;
    font-family: 'Georgia', serif;
    letter-spacing: 2px;
}

@keyframes titleGlow {
    from {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 15px rgba(218, 165, 32, 0.6);
    }
    to {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 20px rgba(218, 165, 32, 0.9), 0 0 30px rgba(205, 133, 63, 0.5);
    }
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #F4F1E8;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Georgia', serif;
    font-style: italic;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.game-card {
    background: linear-gradient(135deg, rgba(45, 24, 16, 0.95) 0%, rgba(74, 44, 23, 0.85) 100%);
    border: 3px solid #8B4513;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(184, 134, 11, 0.1), rgba(139, 69, 19, 0.1));
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(184, 134, 11, 0.3);
    border-color: #B8860B;
}

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

.game-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(45deg, rgba(45, 24, 16, 0.8), rgba(74, 44, 23, 0.8));
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: sepia(0.2) contrast(1.1);
}

.game-card:hover .game-image img {
    transform: scale(1.05);
    filter: sepia(0.3) contrast(1.2) brightness(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(184, 134, 11, 0.9), rgba(139, 69, 19, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-btn {
    background: linear-gradient(135deg, rgba(45, 24, 16, 0.95), rgba(74, 44, 23, 0.95));
    color: #DAA520;
    padding: 1rem 2rem;
    border: 3px solid #B8860B;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(184, 134, 11, 0.5);
    font-family: 'Georgia', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.play-btn:hover {
    background: linear-gradient(135deg, #B8860B, #DAA520);
    color: #2D1810;
    transform: scale(1.05);
    text-shadow: none;
}

.game-info {
    padding: 1.5rem;
    background: rgba(45, 24, 16, 0.98);
    position: relative;
    z-index: 1;
}

.game-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #DAA520;
    font-weight: bold;
    font-family: 'Georgia', serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.game-info p {
    color: #F4F1E8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-family: 'Georgia', serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Rating System */
.game-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.rating-label {
    font-size: 0.9rem;
    color: #CD853F;
    font-weight: 600;
    font-family: 'Georgia', serif;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.star {
    font-size: 1.4rem;
    color: #654321;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    text-shadow: 0 0 5px rgba(101, 67, 33, 0.5);
    filter: grayscale(0.7);
}

.star:hover,
.star.active {
    color: #DAA520;
    text-shadow: 0 0 10px rgba(218, 165, 32, 0.8), 0 0 15px rgba(184, 134, 11, 0.6);
    transform: scale(1.1);
    filter: grayscale(0);
}

.rating-value {
    font-size: 0.9rem;
    color: #CD853F;
    font-weight: 600;
    font-family: 'Georgia', serif;
}

/* Newsletter Section */
.newsletter-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.2) 0%, rgba(139, 69, 19, 0.2) 100%);
    position: relative;
    z-index: 2;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(184, 134, 11, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(139, 69, 19, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #DAA520;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 15px rgba(218, 165, 32, 0.6);
    font-weight: bold;
    font-family: 'Georgia', serif;
    letter-spacing: 2px;
}

.newsletter-content p {
    font-size: 1.1rem;
    color: #F4F1E8;
    margin-bottom: 3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-family: 'Georgia', serif;
    line-height: 1.7;
    font-style: italic;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.form-group input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 3px solid #8B4513;
    border-radius: 8px;
    background: rgba(244, 241, 232, 0.95);
    color: #2D1810;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-group input:focus {
    outline: none;
    border-color: #B8860B;
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.2), inset 0 2px 5px rgba(0, 0, 0, 0.1);
    background: #F4F1E8;
}

.form-group input::placeholder {
    color: #8B4513;
    font-family: 'Georgia', serif;
    font-style: italic;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: 'Georgia', serif;
}

.form-message.success {
    background: rgba(139, 69, 19, 0.9);
    color: #F4F1E8;
    border: 3px solid #8B4513;
}

.form-message.error {
    background: rgba(139, 0, 0, 0.9);
    color: #F4F1E8;
    border: 3px solid #8B0000;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2D1810 0%, #4A2C17 100%);
    padding: 4rem 0 2rem;
    border-top: 4px solid #B8860B;
    position: relative;
    z-index: 2;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #B8860B, #DAA520, #CD853F, #B8860B);
    animation: heraldicBorder 5s ease-in-out infinite alternate;
}

@keyframes heraldicBorder {
    from {
        box-shadow: 0 0 10px rgba(184, 134, 11, 0.5);
    }
    to {
        box-shadow: 0 0 20px rgba(218, 165, 32, 0.8);
    }
}

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

.footer-section h3,
.footer-section h4 {
    color: #DAA520;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    font-family: 'Georgia', serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.footer-section p,
.footer-section li {
    color: #F4F1E8;
    line-height: 1.6;
    font-family: 'Georgia', serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

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

.footer-section ul li a {
    color: #F4F1E8;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Georgia', serif;
}

.footer-section ul li a:hover {
    color: #DAA520;
    text-shadow: 0 0 5px rgba(218, 165, 32, 0.8);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid rgba(184, 134, 11, 0.3);
    color: #CD853F;
    font-family: 'Georgia', serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 400px;
    background: linear-gradient(135deg, rgba(45, 24, 16, 0.98) 0%, rgba(74, 44, 23, 0.95) 100%);
    backdrop-filter: blur(15px);
    padding: 1.5rem;
    z-index: 2000;
    border: 3px solid #B8860B;
    border-radius: 12px;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.cookie-banner.show {
    transform: translateX(0);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    color: #F4F1E8;
    font-size: 0.9rem;
    line-height: 1.4;
    font-family: 'Georgia', serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

.cookie-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 6px;
}

.cookie-buttons .btn-primary {
    background: linear-gradient(135deg, #B8860B, #DAA520);
    color: #2D1810;
    border-color: #8B4513;
}

.cookie-buttons .btn-secondary {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.8), rgba(160, 82, 45, 0.8));
    border: 3px solid #8B4513;
    color: #F4F1E8;
}

.cookie-link {
    color: #DAA520;
    text-decoration: none;
    font-size: 0.9rem;
    font-family: 'Georgia', serif;
}

.cookie-link:hover {
    text-decoration: underline;
    text-shadow: 0 0 5px rgba(218, 165, 32, 0.8);
}

/* Policy Pages */
.policy-section {
    padding: 8rem 2rem 4rem;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(45, 24, 16, 0.95) 0%, rgba(74, 44, 23, 0.9) 100%);
    position: relative;
    z-index: 2;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(45, 24, 16, 0.98) 0%, rgba(74, 44, 23, 0.95) 100%);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 3px solid #B8860B;
}

.policy-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #DAA520;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 15px rgba(218, 165, 32, 0.6);
    font-family: 'Georgia', serif;
    letter-spacing: 2px;
}

.policy-date {
    text-align: center;
    color: #CD853F;
    margin-bottom: 3rem;
    font-style: italic;
    font-family: 'Georgia', serif;
}

.policy-text h2 {
    color: #DAA520;
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem 0;
    border-bottom: 2px solid rgba(184, 134, 11, 0.3);
    padding-bottom: 0.5rem;
    font-family: 'Georgia', serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.policy-text h3 {
    color: #CD853F;
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
    font-family: 'Georgia', serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.policy-text p {
    color: #F4F1E8;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-family: 'Georgia', serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.policy-text ul {
    color: #F4F1E8;
    margin: 1rem 0 1.5rem 2rem;
    line-height: 1.8;
}

.policy-text li {
    margin-bottom: 0.5rem;
    font-family: 'Georgia', serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.policy-footer {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(45deg, rgba(184, 134, 11, 0.2), rgba(139, 69, 19, 0.2));
    border-radius: 12px;
    border: 2px solid rgba(184, 134, 11, 0.3);
    text-align: center;
    font-weight: 600;
    color: #DAA520;
    font-family: 'Georgia', serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 1200px) and (min-width: 901px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .game-image {
        height: 160px;
    }
    
    .game-info {
        padding: 1.25rem;
    }
}

@media (max-width: 900px) {
    .burger {
        display: flex !important;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        max-width: 400px;
        background: linear-gradient(135deg, rgba(45, 24, 16, 0.98) 0%, rgba(74, 44, 23, 0.95) 100%);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1500;
        border-left: 3px solid #B8860B;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        color: #F4F1E8 !important;
        display: block;
        padding: 1rem 0.5rem;
        border-bottom: 1px solid rgba(184, 134, 11, 0.2);
        z-index: 10;
        font-size: 1.2rem;
        text-align: center;
        width: 80%;
    }

    .nav-menu a:hover {
        background: rgba(184, 134, 11, 0.1);
        color: #DAA520 !important;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 400px;
    }

    .newsletter-form {
        max-width: 100%;
    }

    .cookie-banner {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(120%);
    }

    .cookie-banner.show {
        transform: translateY(0);
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-buttons .btn {
        flex: 1;
        min-width: 80px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hero-section {
        padding-top: 12rem;
    }

    .container {
        padding: 0;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .game-card {
        margin: 0 1rem;
    }

    .newsletter-content h2 {
        font-size: 2rem;
    }

    .policy-content {
        padding: 1rem;
    }

    .policy-title {
        font-size: 2rem;
    }

    .policy-text h2 {
        font-size: 1.5rem;
    }

    .policy-text h3 {
        font-size: 1.2rem;
    }
}
