/* === ИСПРАВЛЕНИЕ CLS: Создание резервного шрифта с метриками Montserrat === */
@font-face {
  font-family: 'Montserrat Fallback';
  src: local('Arial'); /* Используем распространенный системный шрифт */
  ascent-override: 92.54%;
  descent-override: 22.48%;
  line-gap-override: 0.00%;
  size-adjust: 105.90%;
}

:root {
    /* Цветовая палитра */
    --primary-color: #ff1f1f;
    --primary-color-rgb: 255, 31, 31;
    --primary-yellow: #ffd60a;
    --primary-yellow-rgb: 255, 214, 10;
    --dark-bg: #101010; 
    --card-bg: #1a1a1a;
    --sector-bg: #212121;
    --text-light: #f5f5f5;
    --text-secondary: #888;
    --border-color: rgba(var(--primary-color-rgb), 0.2);
    --shadow-color: rgba(var(--primary-color-rgb), 0.25);
    --shadow-color-yellow: rgba(var(--primary-yellow-rgb), 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body { 
    /* ИСПРАВЛЕНИЕ CLS: Добавлен резервный шрифт */
    font-family: 'Montserrat', 'Montserrat Fallback', sans-serif; 
    background-color: var(--dark-bg); 
    color: var(--text-light); 
    display: flex; 
    flex-direction: column;
    align-items: center;
    min-height: 100vh; 
    padding: 20px 20px 0 20px;
    overflow-x: hidden;
}

#particles-js { position: fixed; width: 100%; height: 100%; z-index: 0; }

.container { 
    position: relative; z-index: 1; text-align: center; 
    display: flex; flex-direction: column; align-items: center; 
    gap: 40px; width: 100%;
    max-width: 1000px;
}

.site-header {
    width: 100%; max-width: 1000px; padding: 15px 25px;
    display: flex; justify-content: space-between; align-items: center;
    border: 1px solid var(--border-color); background-color: rgba(29, 29, 29, 0.5);
    backdrop-filter: blur(5px); border-radius: 15px; z-index: 2; margin-bottom: 40px;
}
.logo a { display: block; height: 40px; }
.logo img { height: 100%; width: auto; }
.main-nav ul { list-style: none; display: flex; gap: 40px; margin: 0; padding: 0; }
.main-nav a { font-size: 1rem; font-weight: 500; color: var(--text-light); text-decoration: none; transition: color 0.3s ease; position: relative; padding-bottom: 5px; }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--primary-color); transition: width 0.3s ease; }
.main-nav a:hover { color: var(--primary-color); }
.main-nav a:hover::after { width: 100%; }

.main-title h1 { font-size: 2.5rem; font-weight: 600; }
.main-title p { font-size: 1rem; color: var(--text-secondary); margin-top: 8px; }

.main-content-wrapper {
    width: 100%;
}
/* === СТИЛИ ИГРОВОГО ХАБА === */
.game-hub {
    width: 100%;
    background-color: rgba(29, 29, 29, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
}
.game-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}
.game-tab-btn {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 25px;
    border: 2px solid var(--border-color);
    background-color: transparent;
    color: var(--text-secondary);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.game-tab-btn i {
    margin-right: 8px;
}
.game-tab-btn:hover {
    color: var(--text-light);
    border-color: var(--primary-yellow);
}
.game-tab-btn.active {
    background-color: var(--primary-yellow);
    color: var(--dark-bg);
    border-color: var(--primary-yellow);
}
.game-block {
    display: none; /* Скрываем по-умолчанию */
    align-items: center;
    justify-content: center;
    gap: 50px;
    width: 100%;
}
.game-block.active {
    display: flex; /* Показываем активный */
}

/* === СТИЛИ КРЕСТИКОВ-НОЛИКОВ === */
.tictactoe-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
.tictactoe-title {
    font-size: 1.4rem;
    font-weight: 500;
}
.tictactoe-status {
    font-size: 1.1rem;
    font-weight: 600;
    min-height: 25px; /* Резервируем место */
}
.tictactoe-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 360px;
    height: 360px;
    background-color: var(--dark-bg);
    border-radius: 10px;
    overflow: hidden;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--border-color);
}
.tictactoe-cell {
    background-color: var(--card-bg);
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: background-color 0.2s ease;
}
.tictactoe-cell:hover {
    background-color: #2a2a2a;
}
.tictactoe-cell.x::before, .tictactoe-cell.x::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 5px;
}
.tictactoe-cell.x::before { transform: rotate(45deg); }
.tictactoe-cell.x::after { transform: rotate(-45deg); }
.tictactoe-cell.o::before {
    content: '';
    position: absolute;
    width: 70%;
    height: 70%;
    border: 10px solid var(--primary-yellow);
    border-radius: 50%;
}
.tictactoe-reset-btn {
    font-family: inherit;
    background-color: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.tictactoe-reset-btn:hover {
    color: var(--text-light);
    border-color: var(--primary-color);
}

.wheel-section {
    display: flex; flex-direction: column;
    align-items: center; gap: 30px; flex-shrink: 0;
}
.wheel-container { position: relative; width: 450px; height: 450px; filter: drop-shadow(0 15px 15px rgba(0,0,0,0.3)); }
.wheel-pointer {
    position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
    width: 45px; height: 60px; z-index: 10;
    background: linear-gradient(165deg, #ff4d4d 5%, var(--primary-color) 40%, #c00 95%);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    filter: drop-shadow(0 6px 6px rgba(0,0,0,0.5)); box-shadow: inset 0 0 5px rgba(0,0,0,0.4);
    transform-origin: bottom center;
}
.wheel-pointer::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(165deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 50%);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); border-radius: 5px;
}
.wheel-wrapper {
    width: 100%; height: 100%; border-radius: 50%; position: relative; overflow: hidden;
    transition: transform 7s cubic-bezier(0.1, 0.7, 0.3, 1); border: 8px solid #2c2c2c;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5), 0 0 25px rgba(var(--primary-yellow-rgb), 0.25), 0 0 40px rgba(0, 0, 0, 0.7);
    background-image: radial-gradient(circle at center, rgba(255,255,255,0.08) 0%, transparent 40%), conic-gradient(from 0deg, var(--sector-bg) 0% 12.5%, var(--dark-bg) 12.5% 25%, var(--sector-bg) 25% 37.5%, var(--dark-bg) 37.5% 50%, var(--sector-bg) 50% 62.5%, var(--dark-bg) 62.5% 75%, var(--sector-bg) 75% 87.5%, var(--dark-bg) 87.5% 100%);
}
.wheel-wrapper::before { content: ''; position: absolute; width: 140px; height: 140px; top: 50%; left: 50%; transform: translate(-50%, -50%); background: radial-gradient(#444, #222); border-radius: 50%; z-index: 4; box-shadow: 0 0 10px rgba(0,0,0,0.5); }
.wheel-wrapper::after { content: ''; position: absolute; width: 120px; height: 120px; top: 50%; left: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle at 65% 35%, #505050, var(--dark-bg)); border-radius: 50%; z-index: 5; border: 6px solid #333; box-shadow: inset 0 0 10px rgba(0,0,0,0.7); }

.prize-item { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform: rotate(var(--rotation)); }
.prize-item span { display: block; position: absolute; top: 35px; left: 50%; transform: translateX(-50%) rotate(90deg); font-size: 1.6rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; text-shadow: 0 2px 3px rgba(0, 0, 0, 0.5); }
.prize-item .best-prize { color: #fff; font-weight: 900; font-size: 1.9rem; top: 45px; text-shadow: 0 0 5px rgba(255, 255, 255, 0.8), 0 0 10px var(--primary-color), 0 0 15px var(--primary-color), 0 0 20px var(--shadow-color), 0 2px 3px rgba(0, 0, 0, 0.5); }
.prize-item .long-text { font-size: 1.4rem; top: 55px; color: var(--primary-yellow); }

.info-block {
    max-width: 420px; background-color: transparent;
    border: none;
    padding: 0; text-align: left;
}
.info-block h2 { font-size: 1.6rem; font-weight: 600; margin-bottom: 25px; }
.steps-list { display: flex; flex-direction: column; gap: 20px; }
.step { display: flex; align-items: flex-start; gap: 15px; }
.step-icon {
    flex-shrink: 0; width: 45px; height: 45px;
    border-radius: 50%; background-color: var(--primary-yellow);
    display: flex; align-items: center; justify-content: center;
}
.step-icon i { font-size: 1.2rem; color: var(--dark-bg); }
.step-content h3 { font-size: 1rem; font-weight: 600; margin-bottom: 5px; }
.step-content p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }

.spin-button { 
    position: relative;
    font-family: inherit; background-color: var(--primary-yellow); color: var(--dark-bg);
    border: none; border-radius: 12px; padding: 18px 40px; 
    font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; 
}
.spin-button:hover:not(:disabled) { transform: scale(1.05); box-shadow: 0 5px 20px var(--shadow-color-yellow); }
.spin-button:disabled { background-color: #555; color: var(--text-secondary); cursor: not-allowed; }

@keyframes wobble-pointer {
    0%, 100% { transform: translateX(-50%) rotate(0deg); }
    25% { transform: translateX(-50%) rotate(-10deg); }
    75% { transform: translateX(-50%) rotate(10deg); }
}
.wheel-section.spinning .wheel-pointer {
    animation: wobble-pointer 0.4s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.spin-button.loading {
    padding-left: 55px;
}

.spin-button.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    width: 22px;
    height: 22px;
    margin-top: -11px;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-top-color: var(--dark-bg);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.app-section {
    position: relative; z-index: 1; width: 100vw;
    padding: 60px 20px; margin-top: 60px;
    border-top: 1px solid var(--border-color);
    background-color: #141414;
}
.app-content {
    max-width: 1000px; margin: 0 auto;
    display: flex; align-items: center; gap: 50px;
}
.app-visuals {
    flex: 1;
}
.app-visuals img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}
.app-visuals img:hover {
    transform: rotate(0deg);
}
.app-details {
    flex: 1.2;
    text-align: left;
}
.app-details h2 {
    font-size: 2.2rem; font-weight: 700; margin-bottom: 15px;
}
.app-details p {
    font-size: 1rem; color: var(--text-secondary);
    line-height: 1.6; margin-bottom: 30px; max-width: 500px;
}

.requirements-container {
    width: 100%;
    margin: 35px 0;
}
.requirements-container h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: left;
    padding-left: 20px;
}
.requirements-wrapper {
    display: flex;
    gap: 20px;
}
.requirements-table {
    flex: 1;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px 20px;
}
.requirements-table table {
    width: 100%;
    border-collapse: collapse;
}
.requirements-table th {
    font-size: 1.1rem;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    font-weight: 600;
}
.requirements-table th i {
    margin-right: 10px;
    color: var(--primary-yellow);
}
.requirements-table td {
    padding: 12px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(var(--primary-color-rgb), 0.08);
}
.requirements-table tbody tr:last-child td {
    border-bottom: none;
}
.requirements-table td:first-child {
    color: var(--text-secondary);
    text-align: left;
}
.requirements-table td:last-child {
    text-align: right;
    font-weight: 500;
    color: var(--text-light);
}

.download-buttons { display: flex; gap: 20px; }
.download-btn {
    display: flex; align-items: center; gap: 15px;
    background-color: var(--card-bg); border: 1px solid var(--border-color);
    border-radius: 10px; padding: 12px 20px; color: var(--text-light);
    text-decoration: none; transition: all 0.3s ease;
}
.download-btn:hover {
    background-color: var(--primary-yellow); color: var(--dark-bg);
    transform: translateY(-3px); box-shadow: 0 5px 15px var(--shadow-color-yellow);
}
.download-btn i { font-size: 2.5rem; }
.btn-text { display: flex; flex-direction: column; align-items: flex-start; }
.btn-text span { font-size: 0.8rem; font-weight: 500; }
.btn-text strong { font-size: 1.1rem; font-weight: 600; }

.info-section {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1000px;
    margin-top: 40px;
    padding: 40px;
    background-color: rgba(29, 29, 29, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    text-align: center;
}
.info-section-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.info-section-icon {
    font-size: 2.5rem;
    color: var(--primary-yellow);
    margin-bottom: 10px;
}
.info-section h2 {
    font-size: 2rem;
    font-weight: 700;
}
.info-section h3 {
    font-size: 1.5rem;
    margin-top: 15px;
    font-weight: 600;
}
.info-section p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 650px;
    color: var(--text-light);
}
.info-section .secondary-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.cta-button {
    display: inline-block;
    margin-top: 15px;
    font-family: inherit;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.cta-button:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 5px 15px var(--shadow-color);
    transform: translateY(-3px);
}

.faq-section {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1000px;
    margin-top: 40px;
    padding: 40px;
    background-color: rgba(29, 29, 29, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 15px;
}
.faq-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
}
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.faq-item {
    border-bottom: 1px solid var(--border-color);
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 20px 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::-webkit-details-marker {
    display: none;
}
.faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
    color: var(--primary-yellow);
}
.faq-item[open] > .faq-question::after {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 10px 20px 10px;
    text-align: left;
    color: var(--text-secondary);
    line-height: 1.6;
}

.site-footer-main {
    position: relative;
    z-index: 1;
    width: 100vw;
    margin-top: 60px;
    padding: 50px 20px 20px 20px;
    background-color: #0a0a0a;
    border-top: 1px solid var(--border-color);
}
.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.footer-column {
    flex: 1;
    min-width: 200px;
}
.footer-column.about {
    flex-basis: 40%;
}
.footer-logo {
    height: 40px;
    margin-bottom: 15px;
}
.footer-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-light);
}
.footer-column ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-column ul a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-column ul a:hover {
    color: var(--primary-color);
}
.social-links {
    display: flex;
    gap: 20px;
}
.social-links a {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}
.social-links a:hover {
    color: var(--primary-yellow);
    transform: scale(1.1);
}
.footer-bottom {
    max-width: 1000px;
    margin: 40px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); display: flex; justify-content: center; align-items: center; z-index: 1000; opacity: 0; visibility: hidden; transition: opacity 0.3s ease; }
.popup-overlay.active { opacity: 1; visibility: visible; }
.popup-content { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 20px; padding: 40px; text-align: center; width: 90%; max-width: 420px; transform: scale(0.9); transition: transform 0.3s ease; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.popup-overlay.active .popup-content { transform: scale(1); }
.popup-close { position: absolute; top: 15px; right: 20px; font-size: 2rem; color: var(--text-secondary); background: none; border: none; cursor: pointer; transition: color 0.2s ease; }
.popup-close:hover { color: var(--text-light); }
.popup-icon { width: 90px; height: 90px; margin: 0 auto 20px; background: rgba(var(--primary-color-rgb), 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.popup-icon img { width: 50px; }
.popup-title { font-size: 1.8rem; font-weight: 600; color: var(--text-light); margin-bottom: 8px; }
.popup-description { color: var(--text-secondary); margin-bottom: 25px; font-size: 1rem; }
.promo-code-box { background: var(--dark-bg); border: 2px dashed var(--border-color); border-radius: 12px; padding: 15px 20px; margin-bottom: 25px; display: flex; justify-content: space-between; align-items: center; }
#promo-code { font-size: 1.5rem; font-weight: 700; color: var(--text-light); letter-spacing: 2px; }
.copy-btn { background: none; border: none; color: var(--text-secondary); font-size: 1.5rem; cursor: pointer; transition: color 0.2s ease; }
.copy-btn:hover { color: var(--primary-color); }
.claim-bonus-btn { display: block; width: 100%; background-color: var(--primary-color); color: var(--text-light); text-decoration: none; border: none; border-radius: 12px; padding: 16px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.claim-bonus-btn:hover { transform: scale(1.02); box-shadow: 0 5px 15px var(--shadow-color); }

/* === СТИЛИ ДЛЯ БЛОКА ПАРТНЕРСКОЙ ПРОГРАММЫ === */
.features-container {
    max-width: 650px;
    width: 100%;
    margin: 20px 0;
}
.partner-features-list {
    list-style: none;
    padding: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.partner-features-list li {
    position: relative;
    padding-left: 35px;
    line-height: 1.6;
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.partner-features-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--primary-yellow);
    font-size: 1.2rem;
    display: inline-block;
    width: 1.25em;
    text-align: center;
}
.partner-features-list li > strong {
    font-weight: 600;
    color: var(--text-light);
    display: block;
    margin-bottom: 5px;
    font-size: 1.3em;
    letter-spacing: 0.5px;
}
.feature-description {
    margin: 0;
    padding: 0;
}
.feature-description + .feature-description {
    margin-top: 10px;
}

/* === ГЛОБАЛЬНЫЕ СТИЛИ ДЛЯ ВЫДЕЛЕНИЯ ТЕКСТА === */
strong {
    font-weight: 600;
    color: var(--primary-yellow);
}

/* === СТИЛИ ДЛЯ СТРАНИЦЫ 404 === */
.error-page-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
}
.error-code {
    font-family: 'Montserrat', sans-serif;
    font-size: 10rem;
    font-weight: 900;
    color: var(--text-light);
    text-shadow: 
        0 0 10px rgba(var(--primary-color-rgb), 0.5),
        0 0 20px rgba(var(--primary-color-rgb), 0.3),
        0 5px 25px rgba(0, 0, 0, 0.5);
    line-height: 1;
    margin: 10px 0;
}
.error-page-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-top: 10px;
}
.error-page-content .secondary-text {
    max-width: 500px;
    margin-top: 5px;
}

/* === МЕДИА-ЗАПРОСЫ (АДАПТИВНОСТЬ) === */

@media (max-width: 950px) {
    .game-block, .main-content-wrapper { flex-direction: column; gap: 40px; }
    .app-content { flex-direction: column; text-align: center; }
    .requirements-wrapper { flex-direction: column; }
    .app-details { text-align: center; display: flex; flex-direction: column; align-items: center; }
    .app-visuals { 
        margin-bottom: 40px;
        max-width: 380px;
    }
    .app-visuals img { transform: none; }
    .btn-text { align-items: flex-start; }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-column.about {
        flex-basis: 100%;
    }
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    body { padding: 15px 15px 0 15px; }
    .container { gap: 25px; }
    .site-header { padding: 10px 15px; margin-bottom: 25px; }
    .logo a { height: 35px; }
    .main-nav ul { gap: 20px; }
    .main-nav a { font-size: 0.9rem; }
    .main-title h1 { font-size: 2rem; }
    .main-title p { font-size: 0.9rem; }
    .wheel-container { width: 320px; height: 320px; }
    .wheel-wrapper { border-width: 6px; }
    .wheel-wrapper::before { width: 100px; height: 100px; }
    .wheel-wrapper::after { width: 85px; height: 85px; border-width: 4px; }
    .prize-item span { font-size: 1.2rem; top: 25px; }
    .prize-item .best-prize { font-size: 1.4rem; top: 35px; }
    .prize-item .long-text { font-size: 1rem; top: 40px; }
    .tictactoe-board { width: 300px; height: 300px; }
    .info-block { padding: 0; }
    .info-block h2 { font-size: 1.5rem; margin-bottom: 25px; text-align: center; }
    .step-icon { width: 45px; height: 45px; }
    .step-icon i { font-size: 1.2rem; }
    .spin-button { padding: 15px 30px; font-size: 1rem; }
    .popup-content { padding: 30px 20px; }
    .app-section { padding: 40px 15px; margin-top: 40px; }
    .app-visuals { 
        max-width: 320px;
    }
    .app-details h2 { font-size: 1.8rem; }
    .download-buttons { flex-direction: column; gap: 15px; width: 100%; max-width: 250px; }
    
    .info-section, .faq-section {
        padding: 30px 20px;
        margin-top: 25px;
    }
    .info-section h2, .faq-section h2 {
        font-size: 1.8rem;
    }
    .cta-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    .faq-question {
        font-size: 1rem;
    }

    /* Стили для 404 на мобильных */
    .error-code {
        font-size: 6rem;
    }
    .error-page-content h2 {
        font-size: 1.8rem;
    }
}

@media (min-width: 601px) {
    .main-nav { margin-left: 60px; }
}