:root {
    --primary-color: #2c5530;
    --primary-dark: #1a3a1f;
    --secondary-color: #8b4513;
    --accent-color: #d4a574;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-cream: #faf8f5;
    --bg-warm: #f5f0e8;
    --bg-card: #ffffff;
    --border-color: #e0dcd4;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: #fff;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    box-shadow: var(--shadow-medium);
}

.site-header .navbar {
    padding: 0.8rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-icon {
    border-radius: 8px;
    object-fit: cover;
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.navbar-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-color);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.dropdown-menu {
    background: var(--bg-card);
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    font-family: 'Open Sans', sans-serif;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--bg-warm);
    color: var(--primary-color);
}

.burger-btn {
    border: none;
    background: transparent;
    padding: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.burger-line {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

.burger-btn[aria-expanded="true"] .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.burger-btn[aria-expanded="true"] .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-btn[aria-expanded="true"] .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.hero-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-cream) 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(44, 85, 48, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.featured-section {
    padding: 80px 0;
    background: var(--bg-card);
}

.game-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.game-card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-card-image img {
    transform: scale(1.05);
}

.game-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.game-card-body {
    padding: 1.5rem;
}

.game-card-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary-dark);
}

.game-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.game-card-text {
    color: var(--text-light);
    margin-bottom: 1.2rem;
    font-family: 'Lora', serif;
}

.game-card-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rating-stars {
    color: #f4c430;
    letter-spacing: 2px;
}

.rating-value {
    font-weight: 600;
    color: var(--text-dark);
}

.btn-read-more {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-read-more:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateX(5px);
}

.info-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-cream) 100%);
}

.info-box {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    height: 100%;
    border-left: 4px solid var(--primary-color);
}

.info-box h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.info-box p {
    color: var(--text-light);
    font-family: 'Lora', serif;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.info-box ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.article-header {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-cream) 100%);
}

.article-header h1 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-content {
    padding: 60px 0;
}

.article-body {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.article-body h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin: 2rem 0 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.article-body h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.article-body p {
    margin-bottom: 1.2rem;
    font-family: 'Lora', serif;
    color: var(--text-dark);
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
    font-family: 'Lora', serif;
}

.article-image {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-image figcaption {
    background: var(--bg-warm);
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}

.article-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-box {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 1.5rem;
}

.sidebar-box h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.sidebar-box ul {
    list-style: none;
    padding: 0;
}

.sidebar-box ul li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-box ul li:last-child {
    border-bottom: none;
}

.sidebar-box ul li a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.sidebar-box ul li a:hover {
    color: var(--primary-color);
}

.quick-facts {
    background: var(--bg-warm);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.quick-facts h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.quick-facts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.quick-fact-item {
    text-align: center;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 8px;
}

.quick-fact-item strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.quick-fact-item span {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.pros-cons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.pros-box,
.cons-box {
    padding: 1.5rem;
    border-radius: 12px;
}

.pros-box {
    background: rgba(44, 85, 48, 0.1);
    border-left: 4px solid var(--primary-color);
}

.cons-box {
    background: rgba(139, 69, 19, 0.1);
    border-left: 4px solid var(--secondary-color);
}

.pros-box h4,
.cons-box h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.pros-box ul,
.cons-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pros-box li,
.cons-box li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.pros-box li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.cons-box li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.page-header {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-cream) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.page-content {
    padding: 60px 0;
}

.content-box {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.content-box h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin: 2rem 0 1rem;
}

.content-box h2:first-of-type {
    margin-top: 0;
}

.content-box p {
    margin-bottom: 1.2rem;
    font-family: 'Lora', serif;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background: var(--bg-warm);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.contact-item h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
    font-family: 'Open Sans', sans-serif;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.site-footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0f1f12 100%);
    color: #fff;
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-brand img {
    border-radius: 8px;
}

.footer-brand h3 {
    color: #fff;
    font-size: 1.4rem;
    margin: 0;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-top h4 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    font-family: 'Montserrat', sans-serif;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.contact-info strong {
    color: var(--accent-color);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright,
.update-info {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0f1f12 100%);
    padding: 1.5rem;
    z-index: 9998;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

.cookie-text a {
    color: var(--accent-color);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.btn-cookie {
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
}

.stores-section {
    padding: 60px 0;
    background: var(--bg-card);
}

.store-card {
    background: var(--bg-warm);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    height: 100%;
}

.store-card h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.store-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.store-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.store-card a:hover {
    text-decoration: underline;
}

.external-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.external-link:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--primary-dark);
        padding: 1rem;
        border-radius: 12px;
        margin-top: 1rem;
    }

    .navbar-nav .nav-link {
        padding: 0.8rem 1rem;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-image {
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .article-body {
        padding: 1.5rem;
    }

    .pros-cons {
        grid-template-columns: 1fr;
    }

    .quick-facts-grid {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .content-box {
        padding: 1.5rem;
    }
}
