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

body {
    font-family: 'Arial Black', 'Arial Bold', Gadget, sans-serif;
    background: #1a0505;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
}

.vintage-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 40%, rgba(139, 0, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(184, 134, 11, 0.2) 0%, transparent 50%),
        #1a0505;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

.marquee-header {
    background: linear-gradient(180deg, #8b0000 0%, #5a0000 100%);
    border-bottom: 8px solid #ffd700;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
}

.marquee-lights {
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 2rem;
    background: #2a0000;
}

.marquee-lights.bottom {
    padding: 0.5rem 2rem;
}

.bulb {
    width: 20px;
    height: 20px;
    background: #ffd700;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    animation: bulbBlink 1.5s infinite;
}

.bulb.small {
    width: 12px;
    height: 12px;
}

.bulb:nth-child(odd) {
    animation-delay: 0.3s;
}

.bulb:nth-child(3n) {
    animation-delay: 0.6s;
}

@keyframes bulbBlink {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    }
    50% {
        opacity: 0.3;
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
}

.casino-logo {
    text-align: center;
}

.lucky-text {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffd700;
    text-shadow:
        0 0 10px #ffd700,
        0 0 20px #ffd700,
        0 0 30px #ff0000,
        2px 2px 0 #000,
        4px 4px 0 #8b0000;
    letter-spacing: 8px;
}

.seven-text {
    font-size: 4rem;
    font-weight: 900;
    color: #ff0000;
    text-shadow:
        0 0 20px #ff0000,
        0 0 40px #ff0000,
        0 0 60px #ffd700,
        3px 3px 0 #000,
        6px 6px 0 #5a0000;
    letter-spacing: 10px;
    margin: -0.5rem 0;
}

.slots-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffd700;
    text-shadow:
        0 0 10px #ffd700,
        2px 2px 0 #000,
        4px 4px 0 #8b0000;
    letter-spacing: 6px;
}

.credits-display {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    border: 4px solid #ffd700;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    box-shadow:
        0 0 20px rgba(255, 215, 0, 0.5),
        inset 0 0 20px rgba(255, 215, 0, 0.2);
    min-width: 200px;
}

.credits-label {
    font-size: 0.9rem;
    color: #ffd700;
    letter-spacing: 3px;
    font-weight: 900;
}

.credits-value {
    font-size: 3rem;
    font-weight: 900;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
    font-family: 'Courier New', monospace;
}

.welcome-marquee {
    margin: 2rem auto;
    max-width: 1400px;
    padding: 0 2rem;
}

.marquee-box {
    background: #000;
    border: 4px solid #ffd700;
    border-radius: 8px;
    overflow: hidden;
    padding: 1rem;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

.scrolling-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffd700;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
    text-shadow: 0 0 10px #ffd700;
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.notice-ribbon {
    background: linear-gradient(135deg, #ff6b00 0%, #ff4500 100%);
    border: 3px solid #ffd700;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 1400px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4);
}

.ribbon-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.ribbon-text {
    font-size: 1.1rem;
    line-height: 1.6;
}

.ribbon-text strong {
    font-size: 1.3rem;
    display: block;
    margin-bottom: 0.25rem;
}

.main-game {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.message-display {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 900;
    min-height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slot-machine-main {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.machine-cabinet {
    background: linear-gradient(180deg, #8b0000 0%, #5a0000 50%, #2a0000 100%);
    border: 8px solid #ffd700;
    border-radius: 30px;
    padding: 2.5rem;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.9),
        inset 0 0 50px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    width: 100%;
}

.cabinet-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid #ffd700;
}

.neon-sign {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffd700;
    text-shadow:
        0 0 10px #ffd700,
        0 0 20px #ffd700,
        0 0 30px #ff0000;
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% {
        text-shadow:
            0 0 10px #ffd700,
            0 0 20px #ffd700,
            0 0 30px #ff0000;
    }
    50% {
        text-shadow:
            0 0 20px #ffd700,
            0 0 40px #ffd700,
            0 0 60px #ff0000;
    }
}

.win-display {
    background: #000;
    border: 3px solid #ffd700;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 900;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px #00ff00;
}

.reels-section {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    border: 6px solid #ffd700;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8);
}

.reel-frame {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 4px solid #ffd700;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.reel-slot {
    width: 140px;
    height: 180px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    border: 4px solid #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.reel-slot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, transparent 100%);
    pointer-events: none;
}

.slot-symbol {
    font-size: 6rem;
    user-select: none;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.reel-slot.spinning .slot-symbol {
    animation: reelSpin 0.1s linear infinite;
}

@keyframes reelSpin {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(0.8);
    }
}

.payline {
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 8px;
    background: linear-gradient(90deg, transparent 0%, #ff0000 10%, #ffd700 50%, #ff0000 90%, transparent 100%);
    transform: translateY(-50%);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    pointer-events: none;
    animation: paylinePulse 1.5s ease-in-out infinite;
}

@keyframes paylinePulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

.cabinet-middle {
    margin-bottom: 2rem;
}

.mini-payouts {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mini-payout {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #ffd700;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 900;
    color: #ffd700;
}

.control-panel {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 4px solid #ffd700;
    border-radius: 20px;
    padding: 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
}

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

.bet-label {
    font-size: 1rem;
    color: #ffd700;
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.bet-amount {
    background: #000;
    border: 3px solid #ffd700;
    padding: 1rem;
    border-radius: 8px;
    font-size: 2rem;
    font-weight: 900;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    min-width: 100px;
}

.coin-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.coin-btn {
    background: radial-gradient(circle, #ffd700 0%, #b8860b 100%);
    border: 4px solid #8b6914;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 6px 15px rgba(0, 0, 0, 0.6),
        inset 0 2px 5px rgba(255, 255, 255, 0.5);
}

.coin-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow:
        0 10px 25px rgba(255, 215, 0, 0.6),
        inset 0 2px 5px rgba(255, 255, 255, 0.5);
}

.coin-btn:active {
    transform: translateY(-2px) scale(1.05);
}

.coin-value {
    font-size: 1.25rem;
    font-weight: 900;
    color: #000;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.lever-button {
    background: linear-gradient(180deg, #ff0000 0%, #8b0000 100%);
    border: 4px solid #ffd700;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    min-width: 100px;
}

.lever-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(255, 0, 0, 0.7);
}

.lever-button:active {
    transform: translateY(5px);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.5);
}

.lever-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(0);
}

.lever-handle {
    position: relative;
    height: 60px;
}

.lever-ball {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at 30% 30%, #ff0000, #8b0000);
    border-radius: 50%;
    border: 3px solid #ffd700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.lever-stick {
    width: 8px;
    height: 50px;
    background: linear-gradient(90deg, #8b8b8b 0%, #5a5a5a 100%);
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.spin-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffd700;
    letter-spacing: 3px;
    text-shadow: 0 0 10px #ffd700;
}

.cabinet-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 3px solid #ffd700;
}

.coin-tray {
    background: #000;
    border: 3px solid #ffd700;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-size: 1rem;
    font-weight: 900;
    color: #ffd700;
    letter-spacing: 2px;
}

.info-section {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.info-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.panel-vintage {
    background: linear-gradient(135deg, #2a0000 0%, #1a0000 100%);
    border: 4px solid #ffd700;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ffd700;
}

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

.panel-header h3 {
    font-size: 1.5rem;
    color: #ffd700;
    letter-spacing: 2px;
}

.steps-list {
    list-style: none;
    counter-reset: step;
}

.steps-list li {
    counter-increment: step;
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.steps-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: #ffd700;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.payout-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payout-line {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid #ffd700;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
}

.payout-symbol {
    font-size: 1.5rem;
}

.payout-mult {
    font-weight: 900;
    color: #00ff00;
    font-size: 1.5rem;
}

.disclaimer-box {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 4px solid #ff6b00;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(255, 107, 0, 0.3);
    max-width: 1400px;
    margin: 3rem auto;
}

.disclaimer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.disclaimer-icon {
    font-size: 3rem;
}

.disclaimer-header h3 {
    font-size: 1.75rem;
    color: #ff6b00;
    letter-spacing: 2px;
}

.disclaimer-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.disclaimer-points {
    list-style: none;
    margin-bottom: 1.5rem;
}

.disclaimer-points li {
    padding: 0.75rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 107, 0, 0.3);
}

.age-warning {
    background: rgba(255, 107, 0, 0.2);
    border-left: 4px solid #ff6b00;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 900;
    color: #ffd700;
}

.vintage-footer {
    background: linear-gradient(180deg, #2a0000 0%, #1a0000 100%);
    border-top: 6px solid #ffd700;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.footer-lights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.responsible-gaming {
    background: rgba(0, 0, 0, 0.4);
    border: 3px solid #ffd700;
    border-radius: 16px;
    padding: 2rem;
    margin: 0 auto 2rem auto;
    max-width: 1200px;
}

.responsible-gaming-title {
    font-size: 1.3rem;
    font-weight: 900;
    color: #ffd700;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px #ffd700;
    letter-spacing: 2px;
}

.responsible-icons {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.icon-link:hover .icon-badge {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

.icon-badge {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    border: 4px solid;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.icon-badge.age-18 {
    background: linear-gradient(135deg, #dc143c 0%, #8b0000 100%);
    border-color: #fff;
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.icon-badge.gamble-aware {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    border-color: #00a651;
    padding: 0.5rem;
}

.icon-badge.gamcare {
    background: linear-gradient(135deg, #4a148c 0%, #311b92 100%);
    border-color: #7b1fa2;
    padding: 0.5rem;
}

.icon-badge.safer-gambling {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    border-color: #fff;
    padding: 0.5rem;
}

.icon-badge.take-time {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    border-color: #fff;
    padding: 0.5rem;
}

.icon-symbol {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.icon-text {
    font-size: 0.75rem;
    font-weight: 900;
    color: #fff;
    text-align: center;
    line-height: 1.2;
}

.icon-text-small {
    font-size: 0.65rem;
    font-weight: 900;
    color: #fff;
    text-align: center;
    line-height: 1.2;
}

.pause-icon {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

.icon-label {
    font-size: 0.75rem;
    color: #e0e0e0;
    font-weight: 600;
    text-align: center;
}

.helpline-info {
    font-size: 0.95rem;
    color: #e0e0e0;
    padding: 1rem;
    background: rgba(255, 107, 0, 0.2);
    border-radius: 8px;
    border: 2px solid #ff6b00;
}

.helpline-info strong {
    color: #ffd700;
}

.footer-text {
    font-size: 0.9rem;
    color: #ffd700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-link {
    color: #ffd700;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
}

.footer-link:hover {
    color: #fff;
    text-shadow: 0 0 10px #ffd700;
}

.footer-separator {
    color: #ffd700;
    opacity: 0.5;
}

@media (max-width: 1200px) {
    .control-panel {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .coin-slots {
        grid-template-columns: repeat(4, 1fr);
        justify-items: center;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .lucky-text {
        font-size: 1.75rem;
        letter-spacing: 4px;
    }

    .seven-text {
        font-size: 3rem;
        letter-spacing: 6px;
    }

    .slots-text {
        font-size: 1.25rem;
    }

    .credits-display {
        width: 100%;
        text-align: center;
    }

    .welcome-marquee,
    .notice-ribbon,
    .main-game,
    .info-section,
    .disclaimer-box {
        padding: 0 1rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .scrolling-text {
        font-size: 1rem;
    }

    .machine-cabinet {
        padding: 1.5rem;
    }

    .neon-sign {
        font-size: 1.75rem;
    }

    .reels-section {
        padding: 1.5rem 0.75rem;
        gap: 0.75rem;
    }

    .reel-frame {
        padding: 0.5rem;
    }

    .reel-slot {
        width: 90px;
        height: 130px;
    }

    .slot-symbol {
        font-size: 3.5rem;
    }

    .coin-slots {
        grid-template-columns: repeat(2, 1fr);
    }

    .coin-btn {
        width: 60px;
        height: 60px;
    }

    .coin-value {
        font-size: 1.1rem;
    }

    .info-panels {
        grid-template-columns: 1fr;
    }

    .responsible-icons {
        gap: 1.5rem;
    }

    .icon-badge {
        width: 75px;
        height: 75px;
    }

    .icon-badge.age-18 {
        font-size: 2rem;
    }

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

    .icon-text {
        font-size: 0.65rem;
    }

    .helpline-info {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .lucky-text {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .seven-text {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .credits-value {
        font-size: 2rem;
    }

    .neon-sign {
        font-size: 1.5rem;
    }

    .reel-slot {
        width: 75px;
        height: 110px;
    }

    .slot-symbol {
        font-size: 3rem;
    }

    .coin-btn {
        width: 55px;
        height: 55px;
    }

    .coin-value {
        font-size: 1rem;
    }

    .responsible-gaming {
        padding: 1.5rem;
    }

    .responsible-gaming-title {
        font-size: 1.1rem;
    }

    .responsible-icons {
        gap: 1rem;
    }

    .icon-badge {
        width: 65px;
        height: 65px;
    }

    .icon-badge.age-18 {
        font-size: 1.75rem;
    }

    .icon-symbol {
        font-size: 1.75rem;
    }

    .icon-text {
        font-size: 0.6rem;
    }

    .icon-text-small {
        font-size: 0.55rem;
    }

    .pause-icon {
        font-size: 1.5rem;
    }

    .icon-label {
        font-size: 0.65rem;
    }

    .helpline-info {
        font-size: 0.8rem;
        padding: 0.75rem;
    }
}
