/* ============================================
   ПРИРОДНАЯ ЕСТЕСТВЕННАЯ ПАЛИТРА №9
   + ПЛОСКИЙ МИНИМАЛИЗМ (FLAT) - СТИЛЬ КАРТОЧЕК
   ============================================ */

/* Цветовая палитра */
:root {
    --bg-primary: #F5F1E8;
    --bg-secondary: #EDE8DD;
    --bg-card: #FFFFFF;
    --text-primary: #3E2723;
    --text-secondary: #5D4037;
    --accent-primary: #8B6F47;
    --accent-secondary: #A1887F;
    --accent-tertiary: #6D4C41;
    --shadow-material: rgba(62, 39, 35, 0.15);
    --shadow-material-hover: rgba(62, 39, 35, 0.25);
    --shadow-material-strong: rgba(62, 39, 35, 0.35);
    --neon-pink: #8B6F47;
    --neon-cyan: #A1887F;
    --neon-purple: #6D4C41;
}

/* Базовые стили */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(139, 111, 71, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(161, 136, 127, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(109, 76, 65, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 500;
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    border-radius: 2px;
}

.bg-light-blue {
    background-color: var(--bg-secondary);
    background-image: 
        radial-gradient(circle at 30% 50%, rgba(139, 111, 71, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(161, 136, 127, 0.08) 0%, transparent 50%);
}

/* Кнопки - Плоский минимализм */
.btn-primary {
    background-color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    color: #FFFFFF;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 28px;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: none;
    position: relative;
}

.btn-primary:hover {
    background-color: var(--accent-tertiary);
    border-color: var(--accent-tertiary);
    color: #FFFFFF;
}

.btn-primary:active {
    background-color: var(--accent-secondary);
    border-color: var(--accent-secondary);
}

.btn-secondary {
    background-color: var(--bg-card);
    border: 1px solid var(--accent-primary);
    color: var(--text-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 28px;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #FFFFFF;
}

.custom-btn-gradient {
    background-color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    color: #FFFFFF;
    padding: 12px 30px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    box-shadow: none;
    position: relative;
    transition: all 0.2s ease;
}

.custom-btn-gradient:hover {
    background-color: var(--accent-secondary);
    border-color: var(--accent-secondary);
    color: #FFFFFF;
}

/* ============================================
   HEADER - Плоский минимализм
   ============================================ */
header {
    background-color: rgba(245, 241, 232, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: none;
    padding: 15px 0;
    z-index: 1030;
    border-bottom: 1px solid rgba(139, 111, 71, 0.2);
    position: relative;
}

header .container-fluid,
header .container {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.navbar-brand {
    position: relative;
    z-index: 1;
}

.navbar-brand .logo-img {
    height: 45px;
    width: auto;
    transition: filter 0.3s ease;
}

.navbar-brand:hover .logo-img {
    filter: brightness(1.1);
}

.navbar-brand .site-name {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.navbar-brand:hover .site-name {
    color: var(--accent-primary);
}

.navbar-toggler {
    border: 1px solid rgba(139, 111, 71, 0.5);
    border-radius: 6px;
    padding: 5px 10px;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(139, 111, 71, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(62, 39, 35, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 15px !important;
    border-radius: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--accent-primary) !important;
    background-color: rgba(139, 111, 71, 0.1);
    box-shadow: none;
}

.nav-link:hover::after {
    width: calc(100% - 30px);
}

.nav-link.active {
    color: var(--accent-primary) !important;
}

.nav-link.active::after {
    width: calc(100% - 30px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    color: var(--text-primary);
    padding-top: 120px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(245, 241, 232, 0.85), rgba(237, 232, 221, 0.9));
    z-index: 0;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(245, 241, 232, 0.6), rgba(255, 255, 255, 0.8));
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.8;
}

.hero-section .game-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(139, 111, 71, 0.2);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.2s ease;
    height: 100%;
    position: relative;
}

.hero-section .game-card:hover {
    border-color: var(--accent-primary);
    background-color: var(--bg-secondary);
}

.hero-section .game-card img {
    height: 120px;
    object-fit: cover;
    transition: opacity 0.2s ease;
}

.hero-section .game-card:hover img {
    opacity: 0.9;
}

.hero-section .game-card .card-body {
    padding: 15px;
    background: transparent;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hero-section .game-card {
    display: flex;
    flex-direction: column;
}

.hero-section .game-card .card-title {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.hero-section .game-card .card-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    flex-grow: 1;
}

.hero-section .game-card .btn {
    margin-top: auto;
}

/* ============================================
   GAMES SECTION - Плоский минимализм карточки
   ============================================ */
.game-item {
    border: 1px solid rgba(139, 111, 71, 0.2);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.2s ease;
    background-color: var(--bg-card);
    position: relative;
}

.game-item:hover {
    border-color: var(--accent-primary);
    background-color: var(--bg-secondary);
}

.game-item img {
    height: 200px;
    object-fit: cover;
    width: 100%;
    transition: opacity 0.2s ease;
}

.game-item:hover img {
    opacity: 0.9;
}

.game-item .card-body {
    padding: 24px;
    position: relative;
    z-index: 1;
    background: transparent;
}

.game-item .card-title {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.game-item .card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.game-item .card-body .btn {
    margin-top: auto;
}

.play-game-btn {
    text-decoration: none;
}

.game-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* ============================================
   TOURNAMENTS SECTION
   ============================================ */
.tournament-leader-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(139, 111, 71, 0.2);
    border-radius: 8px;
    box-shadow: none;
    transition: all 0.2s ease;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.tournament-leader-card:hover {
    border-color: var(--accent-primary);
    background-color: var(--bg-secondary);
}

.tournament-leader-card .avatar-icon {
    color: var(--accent-primary);
    transition: color 0.3s ease;
}

.tournament-leader-card:hover .avatar-icon {
    color: var(--accent-secondary);
}

.tournament-leader-card .trophy-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
    text-shadow: none;
}

.tournament-leader-card .card-title {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.tournament-leader-card .card-text {
    color: var(--text-secondary);
    font-weight: 500;
}

.badge {
    font-size: 0.9rem;
    padding: 0.5em 0.8em;
    border-radius: 16px;
    font-weight: 500;
    box-shadow: none;
    border: 1px solid transparent;
}

.badge.bg-primary {
    background-color: var(--accent-primary) !important;
}

.badge.bg-secondary {
    background-color: var(--bg-secondary) !important;
}

.badge.bg-info {
    background-color: var(--accent-secondary) !important;
}

/* ============================================
   ACHIEVEMENTS SECTION
   ============================================ */
.achievement-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(139, 111, 71, 0.2);
    border-radius: 8px;
    box-shadow: none;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/abstract-achievement-pattern_2.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.achievement-card .card-body {
    position: relative;
    z-index: 1;
}

.achievement-card .achievement-icon {
    font-size: 3.5rem;
    color: var(--accent-primary);
    margin-bottom: 16px;
    text-shadow: none;
}

.achievement-card .card-title {
    color: var(--text-primary);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.achievement-card .card-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.progress {
    background-color: var(--bg-secondary);
    border-radius: 4px;
    border: 1px solid rgba(139, 111, 71, 0.2);
    box-shadow: none;
    overflow: hidden;
    position: relative;
    height: 32px;
}

.progress-bar {
    background-color: var(--accent-primary);
    border-radius: 4px;
    transition: width 1s ease;
    font-weight: 500;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

/* ============================================
   CLANS SECTION
   ============================================ */
.clan-icon {
    font-size: 4rem;
    color: var(--accent-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.clan-icon:hover {
    transform: scale(1.15);
    color: var(--accent-secondary);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonial-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(139, 111, 71, 0.2);
    border-radius: 8px;
    box-shadow: none;
    padding: 32px;
    max-width: 600px;
    margin: 0 auto;
    transition: all 0.2s ease;
}

.testimonial-card:hover {
    border-color: var(--accent-primary);
    background-color: var(--bg-secondary);
}

.testimonial-card .avatar-icon {
    color: var(--accent-primary);
    transition: color 0.3s ease;
}

.testimonial-card:hover .avatar-icon {
    color: var(--accent-secondary);
}

.testimonial-card .card-subtitle {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.testimonial-card .star-rating i {
    color: var(--accent-primary);
    font-size: 1.2rem;
    text-shadow: none;
}

.testimonial-card .card-text {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 1rem;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: var(--accent-primary);
    border-radius: 50%;
    padding: 15px;
    box-shadow: none;
    border: 1px solid rgba(139, 111, 71, 0.3);
    transition: all 0.2s ease;
}

.carousel-control-prev-icon:hover, .carousel-control-next-icon:hover {
    background-color: var(--accent-secondary);
    border-color: var(--accent-primary);
}

/* ============================================
   CONTACT FORM
   ============================================ */
#contact .card {
    border-radius: 8px;
    background-color: var(--bg-card);
    border: 1px solid rgba(139, 111, 71, 0.2);
    box-shadow: none;
}

#contact .form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

#contact .form-control {
    border-radius: 6px;
    border: 2px solid rgba(139, 111, 71, 0.2);
    padding: 12px 16px;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#contact .form-control:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 0.25rem rgba(139, 111, 71, 0.3), 0 0 15px rgba(139, 111, 71, 0.15);
    background-color: var(--bg-card);
    outline: none;
}

#contact .form-control::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* ============================================
   ACCORDION (FAQ)
   ============================================ */
.accordion-button {
    font-weight: 500;
    color: var(--text-primary);
    background-color: var(--bg-card);
    border: none;
    border-bottom: 1px solid rgba(139, 111, 71, 0.2);
    padding: 16px 20px;
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-button:not(.collapsed) {
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(139, 111, 71, 0.3);
    border-color: var(--accent-primary);
}

.accordion-body {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 20px;
    border: none;
    border-top: 1px solid rgba(139, 111, 71, 0.2);
}

.accordion-item {
    border: 1px solid rgba(139, 111, 71, 0.2);
    border-radius: 4px;
    margin-bottom: 8px;
    overflow: hidden;
    box-shadow: none;
}

/* ============================================
   DISCLAIMER SECTION
   ============================================ */
.disclaimer-section {
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    color: var(--text-primary);
    padding: 60px 0;
    border-top: 1px solid rgba(139, 111, 71, 0.2);
    border-bottom: 1px solid rgba(161, 136, 127, 0.2);
    position: relative;
}

.disclaimer-content {
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(139, 111, 71, 0.3);
    border-radius: 8px;
    box-shadow: none;
    backdrop-filter: blur(10px);
    padding: 32px;
}

.disclaimer-title {
    color: var(--accent-primary);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-shadow: none;
}

.disclaimer-title i {
    color: var(--accent-tertiary);
    text-shadow: none;
}

.disclaimer-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.disclaimer-link {
    color: var(--accent-primary);
    font-weight: 500;
    text-decoration: underline;
    transition: all 0.2s ease;
    text-shadow: none;
}

.disclaimer-link:hover {
    color: var(--accent-tertiary);
    text-shadow: none;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
    color: var(--text-secondary);
    padding: 40px 0;
    border-top: 1px solid rgba(139, 111, 71, 0.2);
    position: relative;
    box-shadow: none;
}

.footer-logo-link {
    text-decoration: none;
}

footer .footer-logo-link .logo-img {
    height: 35px;
    transition: filter 0.3s ease;
}

footer .footer-logo-link:hover .logo-img {
    filter: brightness(1.1);
}

footer .footer-logo-link .site-name {
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

footer h5 {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 20px;
}

footer .footer-links {
    padding-left: 0;
}

footer .footer-links li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    padding: 8px 0;
    position: relative;
    padding-left: 0;
}

footer .footer-links li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--accent-primary);
}

footer .footer-links li a:hover {
    color: var(--accent-secondary);
    text-decoration: none;
    padding-left: 20px;
}

footer .footer-links li a:hover::before {
    opacity: 1;
    left: 0;
}

footer .bi-person-fill {
    color: var(--accent-primary);
}

.footer-hr {
    border-color: rgba(139, 111, 71, 0.2);
    margin: 24px 0;
}

.footer-partners {
    padding-top: 20px;
}

.footer-partner-logo {
    max-width: 120px;
    height: auto;
    margin: 0 10px;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.8);
}

.footer-partner-logo:hover {
    transform: scale(1.1);
    filter: brightness(1);
}

.no-link-logo {
    cursor: default;
}

/* ============================================
   AGE VERIFICATION MODAL
   ============================================ */
.age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 241, 232, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.age-verification-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.age-verification-overlay.is-hiding {
    opacity: 0;
}

.age-verification-modal {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: none;
    max-width: 500px;
    width: 90%;
    color: var(--text-primary);
    border: 1px solid rgba(139, 111, 71, 0.4);
    position: relative;
    overflow: hidden;
}

.age-verification-modal h2 {
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.age-verification-modal p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.age-verification-modal .form-check-input:checked {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.age-verification-modal .form-check-label {
    color: var(--text-primary);
}

/* ============================================
   GAME MODAL
   ============================================ */
.game-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 241, 232, 0.98);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.game-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.game-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.close-game-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-primary);
    color: #FFFFFF;
    border: 1px solid rgba(139, 111, 71, 0.3);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1050;
    transition: all 0.2s ease;
    box-shadow: none;
}

.close-game-modal:hover {
    background-color: var(--accent-secondary);
    border-color: var(--accent-primary);
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

/* Планшеты и меньше */
@media (max-width: 991.98px) {
    header .container-fluid,
    header .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar-brand .site-name {
        font-size: 1.5rem;
    }

    .navbar-brand .logo-img {
        height: 35px;
    }

    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
        border: 1px solid rgba(139, 111, 71, 0.3);
        box-shadow: none;
    }

    .navbar-nav .nav-item {
        margin: 5px 0;
    }

    .nav-link {
        padding: 12px 15px !important;
        text-align: center;
        border-radius: 4px;
        margin: 5px 0;
    }

    .nav-link::after {
        display: none;
    }

    .hero-section {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

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

    .tournament-leader-card .avatar-icon {
        font-size: 60px;
    }

    .tournament-leader-card .trophy-icon {
        font-size: 2rem;
    }

    .achievement-card .achievement-icon {
        font-size: 2.5rem;
    }

    .clan-icon {
        font-size: 3rem;
    }

    .testimonial-card {
        padding: 20px;
    }

    .footer-partners {
        flex-direction: column;
        gap: 20px;
    }

    .footer-partner-logo {
        max-width: 100px;
    }

    .age-verification-modal {
        padding: 30px 20px;
    }

    .age-verification-modal h2 {
        font-size: 1.5rem;
    }
}

/* Мобильные устройства */
@media (max-width: 767.98px) {
    header .container-fluid,
    header .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    body {
        font-size: 14px;
    }

    .hero-section .game-card {
        margin-bottom: 15px;
    }

    .hero-section .game-card img {
        height: 100px;
    }

    .hero-section .game-card .card-title {
        font-size: 1rem;
    }

    .hero-section .game-card .card-text {
        font-size: 0.8rem;
    }

    .game-item {
        margin-bottom: 20px;
    }

    .game-item img {
        height: 180px;
    }

    .game-item .card-title {
        font-size: 1.2rem;
    }

    .game-item .card-text {
        font-size: 0.9rem;
    }

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

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 0.9rem;
    }

    .tournament-leader-card {
        margin-bottom: 20px;
    }

    .testimonial-card {
        padding: 15px;
    }

    .achievement-card {
        padding: 20px;
    }

    .disclaimer-content {
        padding: 20px !important;
    }

    .disclaimer-title {
        font-size: 1.5rem;
    }

    footer {
        padding: 30px 0;
    }

    footer .footer-logo-link .site-name {
        font-size: 1.2rem;
    }

    .close-game-modal {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: 10px;
        right: 10px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 575.98px) {
    header .container-fluid,
    header .container {
        padding-left: 8px;
        padding-right: 8px;
    }

    .hero-section h1 {
        font-size: 1.75rem;
    }

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

    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .game-item .card-body {
        padding: 15px;
    }

    .tournament-leader-card {
        padding: 15px;
    }

    .achievement-card {
        padding: 15px;
    }

    .age-verification-modal {
        padding: 20px 15px;
    }

    .age-verification-modal h2 {
        font-size: 1.3rem;
    }

    .age-verification-modal p {
        font-size: 1rem;
    }
}

@media (max-width: 350px) {
    .form-control {
        font-size: 0.8rem;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

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

/* Дополнительные стили для других страниц */
.regShieldWrap {
    margin-top: 30px;
    margin-left: 20px;
    margin-right: 20px;
    color: var(--text-primary);
}

.regShieldWrap h1 {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.regShieldWrap h2 {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    margin-top: 25px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.regShieldWrap h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.regShieldWrap h4 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.regShieldWrap h5 {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 16px;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.regShieldWrap p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.regShieldWrap ul {
    margin-top: 16px;
    margin-bottom: 16px;
    padding-left: 25px;
    list-style-type: disc;
    color: var(--text-secondary);
}

.regShieldWrap li {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.frameHames {
    margin-top: 80px;
}

.frameHames iframe {
    width: 100%;
    height: 100vh;
    border: 1px solid rgba(139, 111, 71, 0.3);
    border-radius: 8px;
    box-shadow: none;
}

.pageImage img {
    width: 100%;
    height: 450px;
    object-fit: contain;
    margin-bottom: 30px;
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: none;
    border: 1px solid rgba(139, 111, 71, 0.3);
}

/* Стили для bg-light на других страницах */
.bg-light {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card)) !important;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(139, 111, 71, 0.2);
    box-shadow: none;
}
