/*
Theme Name: Lucky Bear INSANE
Description: Мобильная тема для лендинга казино Lucky Bear. Темный дизайн с синими акцентами.
Version: 2.1
*/

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0f0f0f;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Хедер */
.header {
    background: rgba(25, 25, 35, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.header .brand {
    font-weight: 700;
    color: #ffffff;
    font-size: 24px;
    text-decoration: none;
    z-index: 1001;
}

.header .buttons {
    display: flex;
    gap: 10px;
    transition: all 0.3s ease;
}

.header .buttons a {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.header .btn-primary {
    background: linear-gradient(135deg, #0088cc, #006699);
    color: #ffffff;
    border: none;
}

.header .btn-primary:hover {
    background: linear-gradient(135deg, #006699, #004466);
    transform: translateY(-2px);
}

.header .btn-ghost {
    background: transparent;
    border: 2px solid #0088cc;
    color: #0088cc;
}

.header .btn-ghost:hover {
    background: #0088cc;
    color: #ffffff;
}

/* Мобильное меню */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    z-index: 1001;
}

/* Герой секция */
.hero {
    background: linear-gradient(135deg, rgba(0, 80, 120, 0.3), rgba(20, 20, 30, 0.7));
    border-radius: 15px;
    padding: 40px 30px;
    margin: 30px 0;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff, #aaddff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2em;
    color: #cccccc;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Блок промокода */
.promo-section {
    background: rgba(0, 100, 150, 0.2);
    border: 2px solid rgba(0, 150, 255, 0.3);
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    text-align: center;
    backdrop-filter: blur(10px);
}

.promo-text {
    font-size: 16px;
    margin-bottom: 15px;
    color: #88ccff;
    font-weight: 500;
}

.promo-code-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.promo-code {
    font-weight: 700;
    font-size: 24px;
    color: #4dc3ff;
    background: rgba(0, 0, 0, 0.4);
    padding: 12px 25px;
    border-radius: 10px;
    border: 2px dashed #4dc3ff;
    letter-spacing: 2px;
    user-select: all;
    -webkit-user-select: all;
    -moz-user-select: all;
    -ms-user-select: all;
}

.copy-promo-btn {
    background: linear-gradient(135deg, #0088cc, #006699);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    min-width: 160px;
}

.copy-promo-btn:hover {
    background: linear-gradient(135deg, #006699, #004466);
    transform: translateY(-2px);
}

/* Кнопка CTA */
.cta {
    text-align: center;
    margin: 30px 0;
}

.cta a {
    display: inline-block;
    padding: 18px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
}

.cta .btn-primary.large {
    background: linear-gradient(135deg, #0088cc, #006699);
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.3);
}

.cta .btn-primary.large:hover {
    background: linear-gradient(135deg, #006699, #004466);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
}

/* Таблица */
.table-section {
    margin: 30px 0;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(30, 30, 40, 0.6);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.table td {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.table tr:last-child td {
    border-bottom: none;
}

.table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.table tr:hover {
    background: rgba(0, 136, 204, 0.1);
}

/* SEO блок */
.seo-block {
    background: rgba(30, 30, 40, 0.6);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.8;
}

.seo-block h2, .seo-block h3 {
    color: #88ccff;
    margin-top: 25px;
    margin-bottom: 15px;
}

.seo-block p {
    margin-bottom: 15px;
    color: #cccccc;
}

.seo-block ul, .seo-block ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.seo-block li {
    margin-bottom: 8px;
    color: #cccccc;
}

/* Футер */
.site-footer {
    background: rgba(25, 25, 35, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    margin-top: 50px;
    text-align: center;
}

.site-footer p {
    color: #888888;
    margin: 0;
}

/* АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ */

/* Планшеты */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 2.2em;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Мобильное меню */
    .mobile-menu-btn {
        display: block;
    }
    
    .header .buttons {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(25, 25, 35, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        border-radius: 0 0 15px 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .header .buttons.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .header .buttons a {
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }
    
    .hero {
        padding: 30px 20px;
        margin: 20px 0;
    }
    
    .hero h1 {
        font-size: 1.8em;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1.1em;
        line-height: 1.5;
    }
    
    .promo-section {
        padding: 20px 15px;
        margin: 20px 0;
    }
    
    .promo-code-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .promo-code {
        font-size: 20px;
        padding: 15px 20px;
        width: 100%;
        text-align: center;
    }
    
    .copy-promo-btn {
        width: 100%;
        padding: 15px;
    }
    
    .cta a {
        padding: 16px 30px;
        font-size: 16px;
        width: 100%;
        max-width: 300px;
    }
    
    .table td {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .seo-block {
        padding: 25px 20px;
        margin: 25px 0;
    }
    
    .seo-block h2 {
        font-size: 1.5em;
    }
    
    .seo-block h3 {
        font-size: 1.3em;
    }
}

/* Маленькие мобильные устройства */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .header .brand {
        font-size: 20px;
    }
    
    .hero {
        padding: 25px 15px;
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 1.6em;
    }
    
    .hero p {
        font-size: 1em;
    }
    
    .promo-code {
        font-size: 18px;
        padding: 12px 15px;
    }
    
    .table {
        font-size: 13px;
    }
    
    .table td {
        padding: 10px 12px;
    }
    
    .seo-block {
        padding: 20px 15px;
    }
    
    .site-footer {
        padding: 25px 0;
        margin-top: 35px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.4em;
    }
    
    .promo-code {
        font-size: 16px;
    }
    
    .copy-promo-btn {
        font-size: 14px;
    }
}

/* Поддержка ориентации */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 20px;
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 1.5em;
        margin-bottom: 10px;
    }
    
    .hero p {
        font-size: 1em;
        margin-bottom: 15px;
    }
    
    .promo-section {
        padding: 15px;
        margin: 15px 0;
    }
}

/* Поддержка темной темы */
@media (prefers-color-scheme: dark) {
    body {
        background: #0a0a0a;
    }
}

/* Улучшение доступности для касаний */
@media (hover: none) and (pointer: coarse) {
    .header .buttons a,
    .cta a,
    .copy-promo-btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .header .buttons a {
        padding: 12px 20px;
    }
}

/* Анимации для мобильных */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Дополнительные улучшения для SEO контента */
.seo-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.seo-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(30, 30, 40, 0.6);
    border-radius: 8px;
    overflow: hidden;
}

.seo-content table th {
    background: rgba(0, 136, 204, 0.3);
    color: #88ccff;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

.seo-content table td {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #cccccc;
}

.seo-content table tr:last-child td {
    border-bottom: none;
}

.seo-content blockquote {
    border-left: 4px solid #0088cc;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #aaddff;
    background: rgba(0, 136, 204, 0.1);
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
}

/* Улучшения для мобильных */
@media (max-width: 768px) {
    .seo-content table {
        font-size: 14px;
    }
    
    .seo-content table th,
    .seo-content table td {
        padding: 8px 10px;
    }
    
    .seo-content img {
        margin: 15px 0;
    }
}