/* ============================================
   CYBERPUNK LUCKY SPIN - MAIN STYLESHEET
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Share+Tech+Mono&display=swap');

:root {
    --primary: #00f0ff;
    --secondary: #ff00ff;
    --accent: #f0ff00;
    --bg-dark: #0a0a1a;
    --bg-card: rgba(10, 10, 30, 0.85);
    --border-glow: #00f0ff;
    --text-main: #e0e0ff;
    --text-dim: #8888aa;
    --neon-pink: #ff2d95;
    --neon-blue: #00f0ff;
    --neon-purple: #b400ff;
    --neon-green: #39ff14;
    --neon-yellow: #f0ff00;
}

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

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    position: relative;
}

/* ===== ANIMATED BACKGROUND ===== */
.cyber-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    overflow: hidden;
    background: var(--bg-dark);
}

.cyber-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        linear-gradient(0deg, transparent 24%,
        rgba(0, 240, 255, 0.03) 25%,
        rgba(0, 240, 255, 0.03) 26%,
        transparent 27%, transparent 74%,
        rgba(0, 240, 255, 0.03) 75%,
        rgba(0, 240, 255, 0.03) 76%,
        transparent 77%),
        linear-gradient(90deg, transparent 24%,
        rgba(0, 240, 255, 0.03) 25%,
        rgba(0, 240, 255, 0.03) 26%,
        transparent 27%, transparent 74%,
        rgba(0, 240, 255, 0.03) 75%,
        rgba(0, 240, 255, 0.03) 76%,
        transparent 77%);
    background-size: 80px 80px;
    animation: gridScroll 20s linear infinite;
}

.cyber-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at 50% 0%, rgba(0,240,255,0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 0% 100%, rgba(255,0,255,0.06) 0%, transparent 50%),
                radial-gradient(ellipse at 100% 100%, rgba(0,240,255,0.06) 0%, transparent 50%);
}

@keyframes gridScroll {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80px, 80px); }
}

.bg-image-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.3;
}

/* ===== SCANLINE EFFECT ===== */
.scanlines {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.08) 0px,
        rgba(0, 0, 0, 0.08) 1px,
        transparent 1px,
        transparent 3px
    );
}

/* ===== FLOATING PARTICLES ===== */
.particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary);
    border-radius: 50%;
    animation: floatUp linear infinite;
    opacity: 0;
    box-shadow: 0 0 6px var(--primary), 0 0 12px var(--primary);
}

@keyframes floatUp {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ===== MAIN CONTAINER ===== */
.main-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

/* ===== DESKTOP LAYOUT (LEFT-RIGHT) ===== */
.desktop-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

@media (min-width: 900px) {
    .desktop-layout {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 50px;
    }

    .layout-left {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        animation: fadeInLeft 1s ease-out;
    }

    .layout-right {
        flex: 1;
        max-width: 480px;
        display: flex;
        flex-direction: column;
        align-items: center;
        animation: fadeInRight 1s ease-out;
    }

    .layout-right .cyber-header {
        margin-bottom: 20px;
    }

    .layout-right .cyber-header h1 {
        font-size: clamp(1.5rem, 4vw, 2.8rem);
        letter-spacing: 5px;
    }

    .layout-right .ticket-section {
        width: 100%;
        animation: none;
    }

    .layout-right .cyber-input {
        width: 100%;
    }

    .layout-right .ticket-input-group {
        width: 100%;
    }

    .layout-right .spin-btn-container {
        margin-top: 15px;
        animation: none;
    }

    .layout-left .wheel-container {
        margin: 0;
    }

    .layout-right .action-buttons {
        margin-top: 15px;
        display: flex;
        gap: 10px;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}


/* Mobile: stack vertically */
@media (max-width: 899px) {

    .layout-left,
    .layout-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .action-buttons {
        margin-top: 15px;
        text-align: center;
    }
}

/* ===== HEADER ===== */
.cyber-header {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInDown 1s ease-out;
}

.cyber-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--primary);
    text-shadow:
        0 0 10px var(--primary),
        0 0 20px var(--primary),
        0 0 40px var(--primary),
        0 0 80px var(--secondary);
    letter-spacing: 8px;
    position: relative;
    animation: glitchTitle 5s infinite;
}

.cyber-header h1::before,
.cyber-header h1::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cyber-header h1::before {
    color: var(--neon-pink);
    animation: glitch1 3s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
    z-index: -1;
}

.cyber-header h1::after {
    color: var(--neon-blue);
    animation: glitch2 3s infinite;
    clip-path: polygon(0 66%, 100% 66%, 100% 100%, 0 100%);
    z-index: -1;
}

@keyframes glitch1 {
    0%, 90%, 100% { transform: translate(0); }
    92% { transform: translate(-3px, 1px); }
    94% { transform: translate(3px, -1px); }
    96% { transform: translate(-2px, 2px); }
    98% { transform: translate(2px, -2px); }
}

@keyframes glitch2 {
    0%, 90%, 100% { transform: translate(0); }
    91% { transform: translate(3px, 1px); }
    93% { transform: translate(-3px, -1px); }
    95% { transform: translate(2px, 2px); }
    97% { transform: translate(-2px, -2px); }
}

@keyframes glitchTitle {
    0%, 95%, 100% { opacity: 1; }
    96% { opacity: 0.8; }
    97% { opacity: 1; }
    98% { opacity: 0.9; }
}

.cyber-header .subtitle {
    font-family: 'Share Tech Mono', monospace;
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    color: var(--secondary);
    letter-spacing: 4px;
    margin-top: 10px;
    text-shadow: 0 0 10px var(--secondary);
    animation: blink 4s infinite;
}

@keyframes blink {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0.3; }
}

/* ===== TICKET INPUT ===== */
.ticket-section {
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.ticket-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.cyber-input {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.1rem;
    padding: 14px 24px;
    background: rgba(0, 240, 255, 0.05);
    border: 2px solid var(--primary);
    color: var(--primary);
    outline: none;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-align: center;
    width: 320px;
    transition: all 0.3s ease;
    clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

.cyber-input:focus {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3),
                inset 0 0 20px rgba(0, 240, 255, 0.1);
}

.cyber-input::placeholder {
    color: rgba(0, 240, 255, 0.3);
    letter-spacing: 2px;
}

.cyber-btn {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    border: none;
    cursor: pointer;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

.cyber-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.5),
                0 0 60px rgba(255, 0, 255, 0.3);
}

.cyber-btn:active {
    transform: scale(0.98);
}

.cyber-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: btnShine 3s infinite;
}

@keyframes btnShine {
    0%, 100% { transform: translateX(-100%) rotate(45deg); }
    50% { transform: translateX(100%) rotate(45deg); }
}

/* ===== SPIN WHEEL CONTAINER ===== */
.wheel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 40px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.wheel-wrapper {
    position: relative;
    width: 420px;
    height: 420px;
}

.wheel-border {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: conic-gradient(
        var(--primary), var(--secondary), var(--accent),
        var(--neon-pink), var(--neon-blue), var(--neon-purple),
        var(--primary)
    );
    animation: rotateBorder 8s linear infinite;
    z-index: 0;
}

.wheel-border.custom-border {
    background: none;
    animation: none;
}

.wheel-border.custom-border::after {
    display: none;
}

.wheel-border.custom-border img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

@keyframes rotateBorder {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.wheel-border::after {
    content: '';
    position: absolute;
    top: 6px; left: 6px;
    right: 6px; bottom: 6px;
    border-radius: 50%;
    background: var(--bg-dark);
}

.wheel-canvas-container {
    position: absolute;
    top: 0; left: 0;
    width: 420px;
    height: 420px;
    z-index: 1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow:
        0 0 30px rgba(0, 240, 255, 0.2),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
}

#wheelCanvas {
    width: 100%;
    height: 100%;
    transition: none;
}

/* ===== POINTER / ARROW ===== */
.wheel-pointer {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    filter: drop-shadow(0 0 15px var(--primary));
    animation: pointerPulse 2s ease-in-out infinite;
}

.wheel-pointer svg {
    width: 50px;
    height: 60px;
}

.wheel-pointer img {
    width: 60px;
    height: 70px;
    object-fit: contain;
}

@keyframes pointerPulse {
    0%, 100% { filter: drop-shadow(0 0 10px var(--primary)); transform: translateX(-50%) scale(1); }
    50% { filter: drop-shadow(0 0 25px var(--secondary)); transform: translateX(-50%) scale(1.1); }
}

/* ===== CENTER BUTTON ===== */
.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-dark), #1a1a3a);
    border: 3px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow:
        0 0 20px rgba(0, 240, 255, 0.3),
        inset 0 0 15px rgba(0, 240, 255, 0.1);
    transition: all 0.3s ease;
}

.wheel-center:hover {
    box-shadow:
        0 0 40px rgba(0, 240, 255, 0.5),
        inset 0 0 25px rgba(0, 240, 255, 0.2);
    border-color: var(--secondary);
}

.wheel-center span {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
    letter-spacing: 1px;
}

/* ===== SPIN BUTTON ===== */
.spin-btn-container {
    margin-top: 20px;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.spin-btn {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    padding: 18px 60px;
    background: linear-gradient(135deg, var(--primary), var(--neon-purple), var(--secondary));
    background-size: 200% 200%;
    color: #000;
    border: none;
    cursor: pointer;
    letter-spacing: 6px;
    text-transform: uppercase;
    clip-path: polygon(20px 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
    position: relative;
    transition: all 0.3s ease;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.spin-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.5),
                0 0 80px rgba(255, 0, 255, 0.3);
}

.spin-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    animation: none;
}

.spin-btn:not(:disabled) {
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

/* ===== RESULT MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}

.modal-content {
    background: linear-gradient(135deg, #0a0a2a, #1a0a2a);
    border: 2px solid var(--primary);
    padding: 50px 40px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px), 0 20px);
    animation: modalPopIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 0 40px rgba(0, 240, 255, 0.3),
        0 0 80px rgba(255, 0, 255, 0.2),
        inset 0 0 40px rgba(0, 240, 255, 0.05);
}

@keyframes modalPopIn {
    0% { transform: scale(0.5) rotate(-5deg); opacity: 0; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}

.modal-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent);
    margin-bottom: 10px;
    letter-spacing: 4px;
    animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% { text-shadow: 0 0 10px var(--accent); }
    50% { text-shadow: 0 0 30px var(--accent), 0 0 60px var(--accent); }
}

.modal-content .prize-name {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary), 0 0 40px var(--secondary);
    margin: 20px 0;
    animation: prizeGlow 2s ease-in-out infinite alternate;
}

@keyframes prizeGlow {
    0% {
        color: var(--primary);
        text-shadow: 0 0 20px var(--primary), 0 0 40px var(--secondary);
    }
    100% {
        color: var(--secondary);
        text-shadow: 0 0 20px var(--secondary), 0 0 40px var(--primary);
    }
}

.modal-close {
    font-family: 'Orbitron', sans-serif;
    margin-top: 30px;
    padding: 12px 40px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    transition: all 0.3s;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.modal-close:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

/* ===== TELEGRAM CLAIM BUTTON ===== */
.claim-telegram-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #0088cc, #00aaff);
    color: #fff;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    border: none;
    cursor: pointer;
    clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
    transition: all 0.3s ease;
    animation: telegramPulse 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.claim-telegram-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(0, 136, 204, 0.6),
                0 0 60px rgba(0, 170, 255, 0.3);
}

.claim-telegram-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: rotate(45deg);
    animation: btnShine 2.5s infinite;
}

@keyframes telegramPulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 136, 204, 0.3),
                    0 0 30px rgba(0, 170, 255, 0.15);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 136, 204, 0.5),
                    0 0 50px rgba(0, 170, 255, 0.3);
    }
}

/* ===== WINNER ID STYLE ===== */
.winner-id {
    font-size: 1.1rem;
    animation: winnerIdGlow 1.5s ease-in-out infinite alternate;
}

@keyframes winnerIdGlow {
    0% { text-shadow: 0 0 10px var(--secondary); }
    100% { text-shadow: 0 0 25px var(--secondary), 0 0 50px var(--primary); }
}

/* ===== CONFETTI CANVAS ===== */
#confettiCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 999;
    pointer-events: none;
}

/* ===== MUSIC TOGGLE ===== */
.music-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(10, 10, 30, 0.8);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.music-toggle:hover {
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
    transform: scale(1.1);
}

.music-toggle.muted {
    border-color: var(--text-dim);
    color: var(--text-dim);
}

/* ===== ERROR MESSAGE ===== */
.error-msg {
    font-family: 'Share Tech Mono', monospace;
    background: rgba(255, 0, 60, 0.1);
    border: 1px solid #ff003c;
    color: #ff003c;
    padding: 12px 24px;
    margin: 10px 0;
    text-align: center;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    animation: fadeIn 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 0, 60, 0.5);
}

.success-msg {
    font-family: 'Share Tech Mono', monospace;
    background: rgba(0, 255, 60, 0.1);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    padding: 12px 24px;
    margin: 10px 0;
    text-align: center;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    animation: fadeIn 0.3s ease;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 520px) {
    .wheel-wrapper {
        width: 300px;
        height: 300px;
    }
    .wheel-border {
        width: 340px;
        height: 340px;
        top: -20px;
        left: -20px;
    }
    .wheel-canvas-container {
        width: 300px;
        height: 300px;
    }
    .wheel-center {
        width: 60px;
        height: 60px;
    }
    .wheel-center span {
        font-size: 0.5rem;
    }
    .cyber-input {
        width: 240px;
        font-size: 0.9rem;
    }
    .spin-btn {
        font-size: 1rem;
        padding: 14px 40px;
    }
}

/* ===== FOOTER ===== */
.cyber-footer {
    text-align: center;
    padding: 60px 20px 20px;
    margin-top: 40px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
}

/* ===== ELECTRIC LINES DECORATION ===== */
.electric-line {
    position: fixed;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    height: 1px;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.electric-line:nth-child(1) { top: 15%; width: 100%; animation: electricPulse 4s infinite; }
.electric-line:nth-child(2) { top: 85%; width: 100%; animation: electricPulse 4s infinite 2s; }

@keyframes electricPulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.4; }
}

/* ===== INFO HADIAH BUTTON ===== */
.info-hadiah-btn {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 10px 28px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    cursor: pointer;
    letter-spacing: 3px;
    text-transform: uppercase;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
}

.info-hadiah-btn:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    transform: scale(1.05);
}

/* ===== INFO HADIAH MODAL ===== */
.info-hadiah-content {
    background: linear-gradient(135deg, #0d0d2b, #1a0a2e);
    border: 1px solid rgba(0, 240, 255, 0.25);
    padding: 35px 30px;
    text-align: center;
    max-width: 700px;
    width: 95%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: modalPopIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 0 40px rgba(0, 240, 255, 0.15),
        0 0 80px rgba(255, 0, 255, 0.1),
        inset 0 0 30px rgba(0, 240, 255, 0.03);
    border-radius: 4px;
}

.info-hadiah-content::-webkit-scrollbar { width: 4px; }
.info-hadiah-content::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); }
.info-hadiah-content::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }

.info-close-x {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1;
    z-index: 10;
}

.info-close-x:hover {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
    transform: scale(1.2);
}

.info-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1rem, 3vw, 1.3rem);
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.info-sitename {
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
}

.info-subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 5px;
}

.info-level-silver { color: #c0c0c0; text-shadow: 0 0 6px rgba(192,192,192,0.4); }
.info-level-gold { color: #ffd700; text-shadow: 0 0 6px rgba(255,215,0,0.4); }
.info-level-platinum { color: #e0e7ff; text-shadow: 0 0 6px rgba(224,231,255,0.4); font-style: italic; }

.info-desc {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

/* Info Table */
.info-table-wrapper {
    overflow-x: auto;
    margin-bottom: 25px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Rajdhani', sans-serif;
}

.info-table thead th {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 900;
    padding: 12px 10px;
    letter-spacing: 3px;
    border-bottom: 2px solid rgba(0, 240, 255, 0.2);
}

.info-th-silver {
    color: #c0c0c0;
    text-shadow: 0 0 8px rgba(192,192,192,0.3);
}

.info-th-gold {
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255,215,0,0.3);
}

.info-th-platinum {
    color: #e0e7ff;
    text-shadow: 0 0 8px rgba(224,231,255,0.3);
}

.info-table tbody td {
    padding: 10px 10px;
    font-size: 0.9rem;
    color: var(--text-main);
    border-bottom: 1px solid rgba(0, 240, 255, 0.06);
    text-align: center;
}

.info-table tbody tr:hover td {
    background: rgba(0, 240, 255, 0.03);
}

.info-table tbody tr:nth-child(even) td {
    background: rgba(0, 0, 0, 0.15);
}

.info-table tbody tr:nth-child(even):hover td {
    background: rgba(0, 240, 255, 0.05);
}

/* Close button */
.info-close-btn {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 12px 40px;
    background: linear-gradient(135deg, var(--neon-pink), #ff4444);
    color: #fff;
    border: none;
    cursor: pointer;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.info-close-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 45, 149, 0.4);
}

@media (max-width: 520px) {
    .info-hadiah-content {
        padding: 25px 15px;
    }
    .info-table thead th {
        font-size: 0.7rem;
        letter-spacing: 1px;
        padding: 10px 5px;
    }
    .info-table tbody td {
        font-size: 0.8rem;
        padding: 8px 5px;
    }
}

/* ===== S&K POPUP ===== */
.sk-content {
    background: linear-gradient(135deg, #0d0d2b, #1a0a2e);
    border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 40px 35px;
    text-align: center;
    max-width: 560px;
    width: 95%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: modalPopIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 0 50px rgba(0, 240, 255, 0.15),
        0 0 100px rgba(255, 0, 255, 0.08),
        inset 0 0 40px rgba(0, 240, 255, 0.03);
    border-radius: 4px;
}

.sk-content::-webkit-scrollbar { width: 4px; }
.sk-content::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); }
.sk-content::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }

.sk-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 12px;
    text-shadow: 0 0 20px var(--accent);
    animation: textPulse 2s ease-in-out infinite;
}

.sk-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1rem, 3.5vw, 1.4rem);
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary);
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.sk-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
    margin: 0 auto 20px;
}

.sk-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.sk-subtitle i {
    margin-right: 8px;
}

.sk-list {
    text-align: left;
    margin-bottom: 20px;
}

.sk-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 240, 255, 0.06);
}

.sk-item:last-child {
    border-bottom: none;
}

.sk-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 900;
    border-radius: 50%;
}

.sk-item p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.6;
}

.sk-item p strong {
    color: var(--primary);
}

.sk-note {
    background: rgba(255, 200, 0, 0.06);
    border: 1px solid rgba(255, 200, 0, 0.2);
    border-left: 3px solid var(--accent);
    padding: 15px 18px;
    text-align: left;
    margin-bottom: 25px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border-radius: 2px;
}

.sk-note i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.sk-note p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.6;
}

.sk-note p strong {
    color: var(--accent);
}

.sk-accept-btn {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--primary), var(--neon-purple), var(--secondary));
    background-size: 200% 200%;
    color: #000;
    border: none;
    cursor: pointer;
    letter-spacing: 3px;
    clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
    transition: all 0.3s ease;
    animation: gradientShift 3s ease infinite;
}

.sk-accept-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.4),
                0 0 60px rgba(255, 0, 255, 0.2);
}

.sk-accept-btn i {
    margin-right: 6px;
}

@media (max-width: 520px) {
    .sk-content {
        padding: 30px 20px;
    }
    .sk-item p,
    .sk-note p {
        font-size: 0.85rem;
    }
}
