/* Водка Казино - Основные стили */

:root {
    --primary-dark: #000033;
    --primary-blue: #0055ff;
    --accent-green: #00cc66;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --bg-card: #001144;
    --bg-gradient: linear-gradient(135deg, #000033 0%, #001155 100%);
    --shadow: 0 8px 32px rgba(0, 85, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--primary-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
header {
    background: rgba(0, 17, 68, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 85, 255, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: transparent;
    border: none;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--text-white);
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* Mobile Menu Overlay */
.nav-links::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-links.active::before {
    opacity: 1;
    visibility: visible;
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-white);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo img {
    height: 160px;
    margin-right: 10px;
    filter: brightness(1.2);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-green);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: var(--bg-gradient);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 85, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--accent-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInDown 0.8s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-green) 100%);
    color: var(--text-white);
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--primary-blue) 100%);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button span {
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 204, 102, 0.4);
}

/* Banner */
.banner {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-green) 100%);
    padding: 2rem;
    border-radius: 15px;
    margin: 3rem 0;
    text-align: center;
    box-shadow: var(--shadow);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.banner p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--bg-card) 50%, var(--primary-dark) 100%);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-white);
}

h3 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
    color: var(--accent-green);
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-green);
    box-shadow: 0 12px 40px rgba(0, 204, 102, 0.3);
}

.card h3 {
    margin-top: 0;
    color: var(--primary-blue);
}

.card ul {
    list-style: none;
    padding: 0;
}

.card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

thead {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-green) 100%);
}

th {
    padding: 1rem;
    text-align: left;
    font-weight: bold;
    color: var(--text-white);
}

td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

tr:hover {
    background: rgba(0, 85, 255, 0.1);
}

/* Reviews */
.review {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 5px solid var(--accent-green);
    box-shadow: var(--shadow);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: bold;
    color: var(--accent-green);
    font-size: 1.2rem;
}

.review-rating {
    color: #FFD700;
    font-size: 1.3rem;
}

/* FAQ */
.faq-item {
    background: var(--bg-card);
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.faq-item:hover {
    border-color: var(--primary-blue);
    transform: translateX(10px);
}

.faq-question {
    font-weight: bold;
    color: var(--accent-green);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Footer */
footer {
    background: var(--bg-card);
    padding: 3rem 0 1rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: left;
}

.footer-column h3 {
    color: var(--accent-green);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-column a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-green);
}

.providers-section,
.payment-methods {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 17, 68, 0.5);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.providers-section h4,
.payment-methods h4 {
    color: var(--accent-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.providers-section p,
.payment-methods p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    color: var(--text-gray);
    font-size: 0.9rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .hero p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav {
        position: relative;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(0, 17, 68, 0.98);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 0.8rem;
        font-size: 1.1rem;
    }
    
    .logo img {
        height: 100px;
    }
    
    .cta-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    table {
        font-size: 0.8rem;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    th, td {
        padding: 0.5rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .banner {
        padding: 1.5rem;
    }
    
    .banner h2 {
        font-size: 1.6rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        text-align: left;
    }
    
    .providers-section,
    .payment-methods {
        padding: 1.5rem;
    }
    
    .providers-section h4,
    .payment-methods h4 {
        font-size: 1rem;
    }
    
    .providers-section p,
    .payment-methods p {
        font-size: 0.85rem;
    }
    
    /* Колесо фортуны на мобильных */
    #fortune-wheel div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    #wheelCanvas {
        max-width: 100%;
        height: auto;
    }
    
    #spinButton {
        font-size: 1rem !important;
        padding: 0.8rem 1.5rem !important;
    }
}

/* Дополнительная оптимизация для маленьких экранов */
@media (max-width: 480px) {
    h1 {
        font-size: 1.4rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.2rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }
    
    .logo img {
        height: 80px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .stat-item {
        padding: 1.2rem;
    }
    
    .banner h2 {
        font-size: 1.3rem;
    }
    
    .banner p {
        font-size: 0.9rem;
    }
    
    .card {
        padding: 1.2rem;
    }
    
    .card h3 {
        font-size: 1.1rem;
    }
    
    table {
        font-size: 0.75rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .providers-section p,
    .payment-methods p {
        font-size: 0.8rem;
        line-height: 1.6;
    }
    
    .review {
        padding: 1rem;
    }
    
    .faq-item {
        padding: 1rem;
    }
    
    .faq-question {
        font-size: 1rem;
    }
    
    .faq-answer {
        font-size: 0.9rem;
    }
    
    /* Адаптация для скриншотов */
    div[style*="grid-template-columns: repeat(auto-fit, minmax(400px"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Колесо фортуны на маленьких экранах */
    #fortune-wheel h2 {
        font-size: 1.3rem !important;
    }
    
    #fortune-wheel p {
        font-size: 1rem !important;
    }
    
    #wheelCanvas {
        max-width: 300px !important;
        height: 300px !important;
    }
    
    #spinButton {
        font-size: 0.9rem !important;
        padding: 0.8rem 1.2rem !important;
    }
    
    #prizeResult {
        padding: 1rem !important;
    }
    
    #prizeResult h3 {
        font-size: 1.2rem !important;
    }
    
    #prizeText {
        font-size: 1.1rem !important;
    }
}

/* Landscape mode для мобильных */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 1.5rem 0;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    .stats {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Button Styles */
.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--text-white);
    padding: 0.8rem 2rem;
    border: 2px solid var(--text-white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--primary-dark);
    transform: scale(1.05);
}

/* Stats Section */
.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-green);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-gray);
}
