/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Ретро-гламур палитра */
    --background-primary: #2D1810;
    --background-secondary: #3D2418;
    --background-light: #4A3024;
    --text-primary: #F5E6D3;
    --text-secondary: #E8D5C4;
    --text-muted: #D4C4B0;
    --accent-gold: #D4AF37;
    --accent-gold-light: #E6C866;
    --accent-gold-dark: #B8941F;
    --button-primary: #D4AF37;
    --button-hover: #E6C866;
    --secondary-brown: #8B4513;
    --secondary-brown-light: #A0522D;
    --white: #F5E6D3;
    --light-gray: #3D2418;
    --gray: #A0522D;
    --dark-gray: #2D1810;
    --text-dark: #F5E6D3;
    --shadow: rgba(0, 0, 0, 0.4);
    --shadow-hover: rgba(212, 175, 55, 0.3);
    --shadow-gold: rgba(212, 175, 55, 0.5);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-primary);
    overflow-x: hidden;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--background-secondary) 0%, var(--secondary-brown) 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px var(--shadow), 0 0 20px rgba(212, 175, 55, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--accent-gold);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gold);
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    transition: text-shadow 0.3s;
}

.logo:hover {
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
}

.logo img {
    width: 40px;
    height: 40px !important;
}



.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, text-shadow 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s;
    box-shadow: 0 0 5px var(--accent-gold);
}

.nav-menu a:hover {
    color: var(--accent-gold);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Burger Menu Button */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.burger-menu span {
    width: 100%;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--background-secondary) 0%, var(--secondary-brown) 100%);
    color: var(--text-primary);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 2px solid var(--accent-gold);
    border-bottom: 2px solid var(--accent-gold);
    box-shadow: inset 0 0 50px rgba(212, 175, 55, 0.1);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300" stroke="rgba(255,255,255,0.1)" fill="none" stroke-width="2"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.5);
    color: var(--accent-gold);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.feature-card {
    background: var(--background-secondary);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    position: relative;
    overflow: hidden;
    /* Морфизм - выпуклый эффект */
    box-shadow: 
        inset 8px 8px 16px rgba(0, 0, 0, 0.4),
        inset -8px -8px 16px rgba(212, 175, 55, 0.15),
        0 4px 8px rgba(0, 0, 0, 0.3);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.08), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    /* Усиленный выпуклый эффект при hover */
    box-shadow: 
        inset 6px 6px 12px rgba(0, 0, 0, 0.5),
        inset -6px -6px 12px rgba(212, 175, 55, 0.25),
        0 12px 24px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(212, 175, 55, 0.3);
}

.feature-card:active {
    transform: translateY(-4px) scale(0.98);
    /* Вдавленный эффект при нажатии */
    box-shadow: 
        inset 10px 10px 20px rgba(0, 0, 0, 0.6),
        inset -4px -4px 8px rgba(212, 175, 55, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.feature-card p {
    color: var(--text-secondary);
}

/* Games Section */
.games-section {
    background: var(--background-primary);
    padding: 4rem 2rem;
    position: relative;
}

.games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    box-shadow: 0 0 10px var(--accent-gold);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    color: var(--accent-gold);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-gold);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.game-card {
    background: var(--background-secondary);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    position: relative;
    /* Морфизм - выпуклый эффект для карточки */
    box-shadow: 
        inset 10px 10px 20px rgba(0, 0, 0, 0.4),
        inset -10px -10px 20px rgba(212, 175, 55, 0.15),
        0 6px 12px rgba(0, 0, 0, 0.3);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 1;
}

.game-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    border: 2px solid transparent;
    background: linear-gradient(var(--background-secondary), var(--background-secondary)) padding-box,
                linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.6), rgba(212, 175, 55, 0.3)) border-box;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 2;
}

.game-card:hover::before {
    opacity: 1;
}

.game-card:hover::after {
    opacity: 1;
}

.game-card:hover {
    transform: translateY(-12px) scale(1.03);
    /* Усиленный выпуклый эффект при hover */
    box-shadow: 
        inset 8px 8px 16px rgba(0, 0, 0, 0.5),
        inset -8px -8px 16px rgba(212, 175, 55, 0.25),
        0 16px 32px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(212, 175, 55, 0.4);
}

.game-card:active {
    transform: translateY(-6px) scale(0.97);
    /* Вдавленный эффект при нажатии */
    box-shadow: 
        inset 12px 12px 24px rgba(0, 0, 0, 0.6),
        inset -6px -6px 12px rgba(212, 175, 55, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.3);
}

.game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--background-light) 0%, var(--secondary-brown) 100%);
}

.game-content {
    padding: 1.5rem;
    background: transparent;
    position: relative;
    z-index: 3;
}

.game-title {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.game-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--accent-gold-dark) 0%, var(--accent-gold) 100%);
    color: var(--background-primary);
    text-decoration: none;
    border-radius: 16px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    /* Морфизм - выпуклый эффект для кнопки */
    box-shadow: 
        inset 4px 4px 8px rgba(255, 255, 255, 0.2),
        inset -4px -4px 8px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(212, 175, 55, 0.3);
}

.btn:hover {
    transform: translateY(-2px) scale(1.05);
    /* Усиленный выпуклый эффект при hover */
    box-shadow: 
        inset 3px 3px 6px rgba(255, 255, 255, 0.25),
        inset -3px -3px 6px rgba(0, 0, 0, 0.4),
        0 8px 16px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
}

.btn:active {
    transform: translateY(0) scale(0.98);
    /* Вдавленный эффект при нажатии */
    box-shadow: 
        inset 6px 6px 12px rgba(0, 0, 0, 0.5),
        inset -2px -2px 4px rgba(255, 255, 255, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-brown) 0%, var(--secondary-brown-light) 100%);
    border: none;
    box-shadow: 
        inset 4px 4px 8px rgba(255, 255, 255, 0.15),
        inset -4px -4px 8px rgba(0, 0, 0, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.4);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-brown-light) 0%, #B87333 100%);
    box-shadow: 
        inset 3px 3px 6px rgba(255, 255, 255, 0.2),
        inset -3px -3px 6px rgba(0, 0, 0, 0.5),
        0 8px 16px rgba(0, 0, 0, 0.5);
}

.btn-show-more {
    display: block;
    text-align: center;
    margin: 2rem auto 0;
    max-width: 200px;
}

/* Testimonials */
.testimonials {
    padding: 4rem 2rem;
    background: var(--background-secondary);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    box-shadow: 0 0 10px var(--accent-gold);
}

.testimonial-card {
    background: var(--background-primary);
    padding: 2rem;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
    border: none;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Морфизм - мягкий вдавленный эффект */
    box-shadow: 
        inset 12px 12px 24px rgba(0, 0, 0, 0.5),
        inset -12px -12px 24px rgba(212, 175, 55, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.4);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    /* Легкий подъём при hover */
    box-shadow: 
        inset 10px 10px 20px rgba(0, 0, 0, 0.5),
        inset -10px -10px 20px rgba(212, 175, 55, 0.15),
        0 12px 24px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(212, 175, 55, 0.2);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.testimonial-author {
    font-weight: bold;
    color: var(--accent-gold);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--background-secondary) 0%, var(--secondary-brown) 100%);
    color: var(--text-primary);
    padding: 4rem 2rem 1.5rem;
    position: relative;
    overflow: hidden;
    border-top: 2px solid var(--accent-gold);
    box-shadow: inset 0 0 50px rgba(212, 175, 55, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.footer-section {
    position: relative;
}

.footer-section:first-child {
    padding-right: 1rem;
}

.footer-section img {
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-section img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.2));
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--accent-gold);
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 1rem;
    transition: opacity 0.3s;
}

.footer-section p:hover {
    opacity: 1;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.25rem;
}

.footer-links li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
    opacity: 0.6;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

.footer-links li:hover::before {
    opacity: 1;
    transform: translateX(3px);
    text-shadow: 0 0 10px var(--accent-gold);
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.85;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
    box-shadow: 0 0 5px var(--accent-gold);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-gold);
    transform: translateX(5px);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-orgs {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-orgs a {
    display: flex;
    opacity: 0.85;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    height: 60px;
    width: auto;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-orgs a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.footer-orgs img {
    height: auto;
    width: 120px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-orgs a:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
    transform: scale(1.05);
}

.footer-orgs img[alt="18+"] {
    filter: none;
    height: auto;
    width: 60px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    opacity: 0.85;
    position: relative;
    z-index: 1;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    box-shadow: 0 0 5px var(--accent-gold);
}

.footer-bottom p {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 24, 16, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--background-secondary);
    padding: 2rem;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 175, 55, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s;
    border: 2px solid var(--accent-gold);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal h2 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.modal p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-modal {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    /* Морфизм - выпуклый эффект для модальной кнопки */
    box-shadow: 
        inset 4px 4px 8px rgba(255, 255, 255, 0.2),
        inset -4px -4px 8px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.4);
}

.btn-modal:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        inset 3px 3px 6px rgba(255, 255, 255, 0.25),
        inset -3px -3px 6px rgba(0, 0, 0, 0.4),
        0 8px 16px rgba(0, 0, 0, 0.5);
}

.btn-modal:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 
        inset 6px 6px 12px rgba(0, 0, 0, 0.5),
        inset -2px -2px 4px rgba(255, 255, 255, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-accept {
    background: linear-gradient(135deg, var(--accent-gold-dark) 0%, var(--accent-gold) 100%);
    color: var(--background-primary);
    border: none;
    box-shadow: 
        inset 4px 4px 8px rgba(255, 255, 255, 0.2),
        inset -4px -4px 8px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(212, 175, 55, 0.3);
}

.btn-accept:hover {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    box-shadow: 
        inset 3px 3px 6px rgba(255, 255, 255, 0.25),
        inset -3px -3px 6px rgba(0, 0, 0, 0.4),
        0 8px 16px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(212, 175, 55, 0.5);
}

.btn-decline {
    background: linear-gradient(135deg, var(--secondary-brown) 0%, var(--secondary-brown-light) 100%);
    color: var(--text-primary);
    border: none;
    box-shadow: 
        inset 4px 4px 8px rgba(255, 255, 255, 0.15),
        inset -4px -4px 8px rgba(0, 0, 0, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.4);
}

.btn-decline:hover {
    background: linear-gradient(135deg, var(--secondary-brown-light) 0%, #B87333 100%);
    box-shadow: 
        inset 3px 3px 6px rgba(255, 255, 255, 0.2),
        inset -3px -3px 6px rgba(0, 0, 0, 0.5),
        0 8px 16px rgba(0, 0, 0, 0.5);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--background-secondary);
    color: var(--text-primary);
    padding: 1.5rem;
    box-shadow: 0 -4px 12px var(--shadow), 0 0 20px rgba(212, 175, 55, 0.2);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s;
    border-top: 2px solid var(--accent-gold);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* Game Page */
.game-page {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.game-header {
    text-align: center;
    margin-bottom: 2rem;
}

.game-header h1 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.game-iframe-container {
    background: var(--background-secondary);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 12px var(--shadow), 0 0 20px rgba(212, 175, 55, 0.1);
    border: 1px solid var(--accent-gold-dark);
}

.game-iframe {
    width: 100%;
    min-height: 600px;
    border: none;
    border-radius: 8px;
    background: var(--background-primary);
}

.game-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background: var(--background-secondary);
    padding: 2rem;
    border-radius: 20px;
    border: none;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Морфизм - выпуклый эффект */
    box-shadow: 
        inset 8px 8px 16px rgba(0, 0, 0, 0.4),
        inset -8px -8px 16px rgba(212, 175, 55, 0.15),
        0 6px 12px rgba(0, 0, 0, 0.3);
}

.info-card:hover {
    transform: translateY(-6px) scale(1.02);
    /* Усиленный выпуклый эффект при hover */
    box-shadow: 
        inset 6px 6px 12px rgba(0, 0, 0, 0.5),
        inset -6px -6px 12px rgba(212, 175, 55, 0.25),
        0 12px 24px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(212, 175, 55, 0.3);
}

.info-card:active {
    transform: translateY(-3px) scale(0.98);
    /* Вдавленный эффект при нажатии */
    box-shadow: 
        inset 10px 10px 20px rgba(0, 0, 0, 0.6),
        inset -4px -4px 8px rgba(212, 175, 55, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.3);
}

.info-card h2 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.info-card ul {
    list-style: none;
    padding-left: 0;
}

.info-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.info-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }

    .burger-menu {
        display: flex;
    }

    /* Убираем nav из потока на мобильных, чтобы он не занимал место */
    nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 0;
        height: 0;
        overflow: visible;
        z-index: 1000;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, var(--background-secondary) 0%, var(--secondary-brown) 100%);
        flex-direction: column;
        gap: 0;
        padding: 5rem 2rem 2rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.2);
        z-index: 1000;
        overflow-y: auto;
        border-left: 2px solid var(--accent-gold);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        width: 100%;
    }

    .nav-menu a:hover {
        opacity: 1;
        padding-left: 1rem;
        transition: padding-left 0.3s;
    }

    .hero {
        padding: 3rem 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .features {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 1.5rem;
        margin: 2rem auto;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .games-section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .game-card {
        margin: 0 auto;
        max-width: 100%;
    }

    .game-content {
        padding: 1.25rem;
    }

    .game-title {
        font-size: 1.25rem;
    }

    .testimonials {
        padding: 3rem 1rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .game-page {
        padding: 1.5rem 1rem;
    }

    .game-header h1 {
        font-size: 2rem;
    }

    .game-iframe-container {
        padding: 0.5rem;
    }

    .game-iframe {
        min-height: 500px;
    }

    .game-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .info-card h2 {
        font-size: 1.25rem;
    }

    .footer {
        padding: 3rem 1.5rem 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section:first-child {
        padding-right: 0;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }

    .footer-orgs {
        justify-content: center;
        gap: 1rem;
    }

    .footer-orgs img {
        width: 100px;
    }

    .modal {
        padding: 1.5rem;
        width: 95%;
        margin: 1rem;
    }

    .modal-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-modal {
        width: 100%;
    }

    .policy-page,
    .contact-page {
        padding: 2rem 1rem;
    }

    .policy-page h1,
    .contact-page h1 {
        font-size: 2rem;
    }

    .policy-page h2,
    .contact-page h2 {
        font-size: 1.25rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0.75rem 1rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo img {
        width: 35px;
        height: 35px !important;
    }

    .burger-menu {
        width: 25px;
        height: 25px;
    }

    .nav-menu {
        width: 100%;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .game-header h1 {
        font-size: 1.75rem;
    }

    .game-iframe {
        min-height: 400px;
    }

    .btn {
        padding: 0.65rem 1.5rem;
        font-size: 0.95rem;
    }

    .footer {
        padding: 2rem 1rem 1rem;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-orgs {
        flex-direction: column;
        align-items: center;
    }

    .footer-orgs a {
        width: 100%;
        max-width: 200px;
    }

    .footer-orgs img {
        width: 90px;
    }

    .policy-page h1,
    .contact-page h1 {
        font-size: 1.75rem;
    }

    .policy-page h2,
    .contact-page h2 {
        font-size: 1.1rem;
    }
}

/* Overlay for mobile menu */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 768px) {
    .menu-overlay.active {
        display: block;
    }
}

