
:root {
    --color-bg: #1a0033;
    --color-primary: #ff00cc;
    --color-secondary: #00ffff;
    --color-text: #fff;
    --color-accent: #ffcc00;
    --color-shadow: rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            linear-gradient(rgba(255, 0, 204, 0.1) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 0, 204, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
    animation: discoGrid 10s linear infinite;
}

@keyframes discoGrid {
    0% { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

.groove-container {
    max-width: 1070px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.disco-header {
    background-color: rgba(26, 0, 51, 0.9);
    padding: 20px 0;
    box-shadow: 0 2px 20px var(--color-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--color-primary);
}

.neon-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.vinyl-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 0, 204, 0.5);
    border: 3px solid var(--color-primary);
}

.vinyl-icon::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background:
            radial-gradient(circle at center, var(--color-bg) 15%, transparent 16%),
            radial-gradient(circle at center, var(--color-primary) 20%, transparent 21%),
            repeating-radial-gradient(circle at center, var(--color-text) 0, var(--color-text) 2px, transparent 2px, transparent 4px);
    background-size: 100% 100%;
    border-radius: 50%;
}

.neon-logo-text {
    font-family: 'Press Start 2P', cursive;
    font-size: 24px;
    font-weight: 400;
    color: var(--color-primary);
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--color-primary), 0 0 20px var(--color-primary);
    animation: neonPulse 1.5s infinite alternate;
}

@keyframes neonPulse {
    from { text-shadow: 0 0 10px var(--color-primary), 0 0 20px var(--color-primary); }
    to { text-shadow: 0 0 15px var(--color-primary), 0 0 30px var(--color-primary), 0 0 40px var(--color-secondary); }
}

.disco-nav {
    display: flex;
    align-items: center;
}

.disco-nav-list {
    display: flex;
    list-style: none;
}

.disco-nav-item {
    margin-left: 30px;
}

.disco-nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.disco-nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width 0.3s ease;
}

.disco-nav-link:hover {
    color: var(--color-secondary);
    text-shadow: 0 0 5px var(--color-secondary);
}

.disco-nav-link:hover::after {
    width: 100%;
}

.record-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    position: relative;
    cursor: pointer;
    background:
            radial-gradient(circle at center, var(--color-bg) 30%, transparent 31%),
            radial-gradient(circle at center, var(--color-primary) 40%, transparent 41%),
            repeating-radial-gradient(circle at center, var(--color-text) 0, var(--color-text) 1px, transparent 1px, transparent 2px);
    background-size: 100% 100%;
    border-radius: 50%;
    border: 2px solid var(--color-secondary);
    transition: transform 0.5s ease;
}

.record-menu-toggle::after {
    content: "MENU";
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    color: var(--color-secondary);
    letter-spacing: 1px;
    animation: bounceLetters 1s infinite;
}

@keyframes bounceLetters {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(-60%); }
}

.record-menu-toggle.active {
    transform: rotate(360deg);
}

/* Mobile menu */
.disco-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: rgba(26, 0, 51, 0.95);
    box-shadow: -5px 0 15px var(--color-shadow);
    z-index: 90;
    display: flex;
    flex-direction: column;
    padding: 80px 30px;
    transition: right 0.5s ease;
    overflow-y: auto;
    border-left: 1px solid var(--color-secondary);
}

.disco-mobile-menu.active {
    right: 0;
}

.disco-mobile-nav-list {
    list-style: none;
    margin-top: 40px;
}

.disco-mobile-nav-item {
    margin-bottom: 25px;
}

.disco-mobile-nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    display: inline-block;
    letter-spacing: 1px;
}

.disco-mobile-nav-link::before {
    content: "♫";
    margin-right: 10px;
    color: var(--color-secondary);
}

.disco-mobile-nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width 0.3s ease;
}

.disco-mobile-nav-link:hover {
    color: var(--color-secondary);
    text-shadow: 0 0 5px var(--color-secondary);
}

.disco-mobile-nav-link:hover::after {
    width: 100%;
}

/* Main content */
.party-main {
    padding: 60px 0;
}

/* Sections */
.disco-section {
    margin-bottom: 80px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
}

.disco-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.disco-section::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.disco-section-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--color-text);
    position: relative;
    display: inline-block;
    padding-left: 60px;
    text-shadow: 0 0 10px var(--color-primary);
    letter-spacing: 2px;
}

.disco-section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffcc00"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

.disco-section-subtitle {
    font-family: 'Press Start 2P', cursive;
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--color-secondary);
    position: relative;
    padding-left: 45px;
    letter-spacing: 1px;
}

.disco-section-subtitle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2300ffff"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

.disco-section-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.party-feature-list {
    list-style: none;
    margin: 30px 0;
}

.party-feature-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 15px;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.party-feature-item::before {
    content: "♫";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-secondary);
    font-size: 20px;
}

/* Intro section */
.dance-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.dance-content {
    flex: 1 1 500px;
}

.disco-ball-image {
    flex: 1 1 500px;
    position: relative;
    min-height: 300px;
    border: 5px solid transparent;
    animation: borderFlash 2s infinite;
    clip-path: circle(40% at 50% 50%);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--color-shadow);
}

@keyframes borderFlash {
    0%, 100% { border-color: var(--color-primary); }
    25% { border-color: var(--color-secondary); }
    50% { border-color: var(--color-accent); }
    75% { border-color: var(--color-primary); }
}

.disco-ball-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            135deg,
            rgba(255, 0, 204, 0.3) 0%,
            rgba(0, 255, 255, 0.1) 50%,
            rgba(255, 204, 0, 0.3) 100%
    );
    z-index: 1;
}

.disco-ball-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.1);
}

/* Games slider */
.slot-hits-slider {
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.slot-hits-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slot-hit-card {
    min-width: 300px;
    background-color: rgba(26, 0, 51, 0.7);
    border: 1px solid var(--color-primary);
    border-radius: 5px;
    padding: 25px;
    margin-right: 20px;
    box-shadow: 0 5px 15px var(--color-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.slot-hit-card::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(
            45deg,
            var(--color-primary),
            var(--color-secondary),
            var(--color-accent),
            var(--color-primary)
    );
    background-size: 400% 400%;
    z-index: -1;
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: gradientGlow 4s ease infinite;
}

@keyframes gradientGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.slot-hit-card:hover::before {
    opacity: 0.7;
}

.slot-hit-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--color-accent);
    letter-spacing: 1px;
}

.slot-hit-text {
    font-size: 16px;
    margin-bottom: 15px;
}

.slot-hit-rating {
    display: flex;
    align-items: center;
    color: var(--color-primary);
    font-weight: 600;
}

.slot-hit-rating::before {
    content: "★★★★★";
    letter-spacing: 3px;
    margin-right: 10px;
    font-size: 18px;
    color: var(--color-accent);
}

.slot-slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 15px;
}

.slot-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-primary);
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.slot-slider-dot.active {
    opacity: 1;
    transform: scale(1.2);
    background-color: var(--color-secondary);
}

/* Bonuses section */
.dance-bonuses {
    margin-top: 40px;
}

.disco-comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 30px 0;
    position: relative;
    background-color: rgba(26, 0, 51, 0.7);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--color-shadow);
    border: 1px solid var(--color-primary);
}

.disco-comparison-table tr:nth-child(even) {
    background-color: rgba(255, 0, 204, 0.1);
}

.disco-comparison-table tr:hover {
    background-color: rgba(255, 0, 204, 0.3);
    box-shadow: 0 0 15px rgba(255, 0, 204, 0.5);
    transition: all 0.3s ease;
}

.disco-comparison-table th,
.disco-comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--color-primary);
}

.disco-comparison-table th {
    background-color: var(--color-primary);
    color: var(--color-text);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 16px;
}

.disco-comparison-table td:first-child {
    font-weight: 600;
    color: var(--color-accent);
}

/* Buttons */
.disco-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(to right, var(--color-primary), #cc00a3);
    color: var(--color-text);
    border: none;
    border-radius: 0;
    font-family: 'Press Start 2P', cursive;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 20px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(255, 0, 204, 0.4);
    border: 1px solid var(--color-secondary);
    animation: buttonPulse 2s infinite;
}

@keyframes buttonPulse {
    0%, 100% { box-shadow: 0 0 10px var(--color-primary); }
    50% { box-shadow: 0 0 20px var(--color-secondary); }
}

.disco-button::before {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            to bottom,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent
    );
    transition: all 0.5s ease;
}

.disco-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 255, 255, 0.6);
    background: linear-gradient(to right, #cc00a3, var(--color-primary));
}

.disco-button:hover::before {
    top: 100%;
}

/* Footer */
.boogie-footer {
    background-color: rgba(26, 0, 51, 0.95);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--color-primary);
}

.boogie-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%231a0033" opacity="0.8"/><path d="M0 0L100 100M0 100L100 0" stroke="%23ff00cc" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 100px 100px;
    z-index: -1;
}

.boogie-footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.boogie-footer-logo {
    font-family: 'Press Start 2P', cursive;
    font-size: 24px;
    font-weight: 400;
    color: var(--color-primary);
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-shadow: 0 0 10px var(--color-primary);
}

.boogie-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.boogie-footer-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.boogie-footer-link:hover {
    color: var(--color-secondary);
    text-shadow: 0 0 5px var(--color-secondary);
}

.boogie-footer-copyright {
    font-size: 14px;
    color: var(--color-text);
    opacity: 0.7;
    margin-top: 30px;
    text-align: center;
    letter-spacing: 0.5px;
}

.disco-ball {
    position: absolute;
    width: 80px;
    height: 80px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: discoBallBounce 3s infinite;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    filter: drop-shadow(0 0 10px var(--color-secondary));
}

@keyframes discoBallBounce {
    0%, 100% { transform: translateX(-50%) translateY(0) rotate(0deg); }
    25% { transform: translateX(-50%) translateY(-20px) rotate(90deg); }
    50% { transform: translateX(-50%) translateY(0) rotate(180deg); }
    75% { transform: translateX(-50%) translateY(-20px) rotate(270deg); }
}

.groove-marquee {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background-color: var(--color-primary);
    color: var(--color-text);
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.groove-text {
    white-space: nowrap;
    animation: marqueeScroll 15s linear infinite;
    padding-left: 100%;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Responsive styles */
@media (max-width: 992px) {
    .disco-nav {
        display: none;
    }

    .record-menu-toggle {
        display: block;
    }

    .disco-section-title {
        font-size: 28px;
    }

    .disco-section-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .disco-section-title {
        font-size: 24px;
        padding-left: 50px;
    }

    .disco-section-title::before {
        width: 40px;
        height: 40px;
    }

    .disco-section-subtitle {
        font-size: 18px;
        padding-left: 40px;
    }

    .disco-section-subtitle::before {
        width: 30px;
        height: 30px;
    }

    .dance-intro {
        flex-direction: column;
    }

    .dance-content,
    .disco-ball-image {
        flex: 1 1 100%;
    }
}

@media (max-width: 576px) {
    .neon-logo-text {
        font-size: 20px;
    }

    .vinyl-icon {
        width: 50px;
        height: 50px;
    }

    .disco-section {
        margin-bottom: 60px;
    }

    .disco-section-title {
        font-size: 20px;
        padding-left: 40px;
    }

    .disco-section-title::before {
        width: 30px;
        height: 30px;
    }

    .boogie-footer-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}
