/* Marsbahis - Premium Casino Design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Marsbahis Color Palette */
    --primary-dark: #0a0a0f;
    --secondary-dark: #1a1a2e;
    --accent-red: #e50914;
    --accent-gold: #ffd700;
    --accent-gold-light: #ffed4e;
    --text-white: #ffffff;
    --text-gray: #b8b8b8;
    --text-dark: #6b6b6b;
    --gradient-primary: linear-gradient(135deg, #e50914 0%, #b8070f 100%);
    --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
    --shadow-glow: 0 0 20px rgba(229, 9, 20, 0.3);
    --shadow-gold: 0 0 30px rgba(255, 215, 0, 0.4);
}

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;
}

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

/* Header Styles */
.header {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--accent-red);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.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;
}

.burger-menu span {
    width: 100%;
    height: 3px;
    background: var(--text-white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.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(8px, -8px);
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
}

.header-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    border-top: 2px solid var(--accent-red);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    max-height: 500px;
}

.mobile-nav-list {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav-link {
    display: block;
    color: var(--text-white);
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--accent-gold);
    padding-left: 10px;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-gold);
}

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

.btn-primary, .btn-secondary {
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(229, 9, 20, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0;
    background: var(--gradient-dark);
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(229, 9, 20, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    padding: 18px 45px;
    background: var(--gradient-primary);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 35px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(229, 9, 20, 0.6);
}

.btn-hero-secondary {
    padding: 18px 45px;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 35px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow-gold);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-hero-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-white);
    font-weight: 600;
}

.feature-icon {
    font-size: 2rem;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #ffffff 0%, #ffd700 50%, #e50914 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Advantages Section */
.advantages {
    background: var(--secondary-dark);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.advantage-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.advantage-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
}

.advantage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-gold);
}

.advantage-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Games Section */
.games {
    background: var(--primary-dark);
}

.games-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--gradient-dark);
    border: 2px solid var(--accent-red);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.1) 0%, transparent 70%);
    transition: all 0.5s ease;
    opacity: 0;
}

.category-card:hover::before {
    opacity: 1;
    transform: scale(1.2);
}

.category-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 50px rgba(229, 9, 20, 0.4);
}

.category-image {
    font-size: 4rem;
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--accent-gold);
}

.category-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.category-link {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.category-link:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

/* Bonuses Section */
.bonuses {
    background: var(--secondary-dark);
}

.bonuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.bonus-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 35px;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.bonus-card.featured {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-gold);
    grid-column: span 2;
}

.bonus-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.bonus-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

.bonus-amount {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.bonus-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.bonus-list {
    list-style: none;
    margin-bottom: 25px;
}

.bonus-list li {
    color: var(--text-white);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-bonus {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient-primary);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.btn-bonus:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.bonus-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
}

/* How to Play Section */
.how-to {
    background: var(--primary-dark);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.step {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.step:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-glow);
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-gold);
}

.step p {
    color: var(--text-gray);
    line-height: 1.8;
}

.cta-section {
    text-align: center;
}

.btn-cta {
    display: inline-block;
    padding: 20px 50px;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 35px;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: var(--shadow-gold);
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.5);
}

/* FAQ Section */
.faq {
    background: var(--secondary-dark);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-gold);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 215, 0, 0.1);
}

.faq-question h3 {
    font-size: 1.3rem;
    color: var(--text-white);
    font-weight: 600;
}

.faq-toggle {
    font-size: 2rem;
    color: var(--accent-gold);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 25px;
}

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

/* Footer */
.footer {
    background: var(--primary-dark);
    border-top: 2px solid var(--accent-red);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo a {
    display: inline-block;
    text-decoration: none;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-section p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

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

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    padding: 10px 20px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--accent-gold);
    border-radius: 20px;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav {
        display: none;
    }

    .header-content {
        gap: 15px;
    }

    .logo {
        flex: 1;
        text-align: center;
    }

    .header-buttons {
        gap: 10px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 8px 15px;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-menu.active {
        max-height: 500px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .bonus-card.featured {
        grid-column: span 1;
    }

    .hero-features {
        flex-direction: column;
        gap: 20px;
    }

    .steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-buttons {
        gap: 8px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 7px 12px;
        font-size: 0.8rem;
    }

    .logo img {
        height: 40px;
    }

    .burger-menu {
        width: 25px;
        height: 25px;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
    }

    .advantages-grid,
    .games-categories,
    .bonuses-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.advantage-card,
.category-card,
.bonus-card,
.step {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red);
}

