/* ===== CSS Variables ===== */
:root {
    --primary: #c4870c;
    --primary-light: #e5a832;
    --accent: #ff8c42;
    --accent-red: #ff4757;
    --bitcoin-orange: #f7931a;
    --twitch-purple: #9146ff;
    --twitch-purple-light: #b366ff;
    --twitch-purple-dark: #772ce8;
    --discord-blue: #5865F2;
    --twitter-blue: #1da1f2;
    --neon-pink: #ff6b9d;
    --neon-cyan: #00d4ff;
    --neon-green: #39ff14;
    --text-light: #f0f4f8;
    --text-dark: #2d3748;
    --bg-dark: #0a0612;
    --bg-light: rgba(20, 12, 30, 0.95);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, #ff6b4a 100%);
    --gradient-gold: linear-gradient(135deg, #f7931a 0%, #ffd700 50%, #f7931a 100%);
    --gradient-purple: linear-gradient(135deg, var(--twitch-purple) 0%, var(--twitch-purple-light) 100%);
    --gradient-mixed: linear-gradient(135deg, var(--twitch-purple) 0%, var(--bitcoin-orange) 50%, var(--neon-pink) 100%);
    --gradient-rainbow: linear-gradient(90deg, #ff6b6b, #ffd93d, #6bcb77, #4d96ff, #9b59b6);
    --gradient-cyber: linear-gradient(135deg, #00d4ff 0%, #9146ff 50%, #ff6b9d 100%);
    --shadow: 0 10px 40px rgba(145, 70, 255, 0.2);
    --shadow-hover: 0 20px 60px rgba(145, 70, 255, 0.3);
    --shadow-glow: 0 0 60px rgba(145, 70, 255, 0.4);
    --shadow-mixed: 0 20px 60px rgba(247, 147, 26, 0.2), 0 0 40px rgba(145, 70, 255, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    --border-radius-lg: 24px;
}

/* ===== Global Styles ===== */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--bg-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Scrollbar Styles ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* ===== Animated Background ===== */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    pointer-events: none;
    z-index: -1;
}

.stars1 {
    background-image: radial-gradient(2px 2px at 20px 30px, rgba(145,70,255,0.4), transparent),
                      radial-gradient(2px 2px at 40px 70px, rgba(255,107,157,0.3), transparent),
                      radial-gradient(1px 1px at 90px 40px, rgba(247,147,26,0.4), transparent),
                      radial-gradient(2px 2px at 150px 120px, rgba(0,212,255,0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: stars-move 120s linear infinite;
}

.stars2 {
    background-image: radial-gradient(1px 1px at 50px 80px, rgba(247,147,26,0.4), transparent),
                      radial-gradient(2px 2px at 120px 40px, rgba(145,70,255,0.4), transparent),
                      radial-gradient(1px 1px at 180px 160px, rgba(255,107,157,0.5), transparent),
                      radial-gradient(2px 2px at 80px 180px, rgba(57,255,20,0.2), transparent);
    background-size: 300px 300px;
    animation: stars-move 150s linear infinite;
}

.stars3 {
    background-image: radial-gradient(1px 1px at 30px 100px, rgba(0,212,255,0.4), transparent),
                      radial-gradient(1px 1px at 100px 50px, rgba(145,70,255,0.3), transparent),
                      radial-gradient(2px 2px at 170px 90px, rgba(247,147,26,0.3), transparent);
    background-size: 250px 250px;
    animation: stars-move 200s linear infinite;
}

@keyframes stars-move {
    from { transform: translateY(0); }
    to { transform: translateY(-200px); }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    transition: var(--transition);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-light);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--twitch-purple), var(--bitcoin-orange), var(--twitch-purple), transparent) 1;
}

.nav-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.logo-image {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--bitcoin-orange) 0%, var(--twitch-purple) 50%, var(--neon-pink) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
    animation: gradientShift 5s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.logo-badge {
    position: absolute;
    left: 150px;
    bottom: -5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #f7931a;
    opacity: 0.9;
    white-space: nowrap;
}

.logo-badge i {
    font-size: 0.8rem;
}

.nav-links {
    display: flex;
    gap: 10px;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50%;
    background: rgba(145, 70, 255, 0.1);
    border: 1px solid rgba(145, 70, 255, 0.2);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.nav-link:hover {
    background: linear-gradient(135deg, var(--twitch-purple), var(--bitcoin-orange));
    border-color: var(--twitch-purple);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(145, 70, 255, 0.3);
}

.nav-link i {
    font-size: 1.1rem;
}

/* Section Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

.nav-menu-link {
    color: rgba(240, 244, 248, 0.8);
    text-decoration: none;
    padding: 10px 22px;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--twitch-purple), var(--bitcoin-orange));
    transition: width 0.3s ease;
}

.nav-menu-link:hover {
    color: var(--text-light);
}

.nav-menu-link:hover::after {
    width: 80%;
}

.nav-menu-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border: none;
    padding: 10px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.nav-menu-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.5);
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
}

.nav-menu-btn i {
    font-size: 1.1rem;
}

/* ===== Twitch Authentication ===== */
.twitch-auth {
    display: flex;
    align-items: center;
}

.twitch-login-btn {
    background: linear-gradient(135deg, var(--twitch-purple) 0%, var(--twitch-purple-light) 100%);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(145, 70, 255, 0.3);
}

.twitch-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(145, 70, 255, 0.5);
}

.twitch-login-btn i {
    font-size: 1.2rem;
}

.twitch-user {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 8px;
    transition: var(--transition);
}

.twitch-user:hover {
    background: rgba(145, 70, 255, 0.2);
}

.twitch-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--twitch-purple);
}

.twitch-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.twitch-username {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.2;
}

.twitch-status {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 12px;
    line-height: 1;
    white-space: nowrap;
}

.twitch-status.owner {
    background: linear-gradient(135deg, #ffd700, #ffed4a);
    color: #1a1a1a;
}

.twitch-status.moderator {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
}

.twitch-status.subscriber {
    background: linear-gradient(135deg, var(--twitch-purple), var(--twitch-purple-light));
    color: white;
}

.twitch-status.viewer {
    background: rgba(156, 163, 175, 0.2);
    color: #9ca3af;
    border: 1px solid rgba(156, 163, 175, 0.3);
}

.twitch-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-light);
    border: 1px solid rgba(145, 70, 255, 0.3);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

.twitch-user:hover .twitch-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.sub-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    color: #ffd700;
    font-weight: 600;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(145, 70, 255, 0.2);
}

.sub-badge i {
    color: #ffd700;
}

.twitch-logout {
    display: block;
    padding: 10px 15px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.twitch-logout:hover {
    background: rgba(255, 71, 87, 0.2);
    color: #ff4757;
}

/* ===== User Control Panel (Center on Hover) ===== */
.user-control-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    background: rgba(10, 6, 18, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 16px;
    border: 1px solid rgba(145, 70, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6),
                0 0 30px rgba(145, 70, 255, 0.2);
}

.video-container:hover .user-control-panel.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Control Row */
.control-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.control-label {
    min-width: 80px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.control-label i {
    color: var(--twitch-purple);
    font-size: 0.85rem;
}

.control-buttons {
    display: flex;
    gap: 6px;
}

/* Base Control Button */
.control-btn {
    background: linear-gradient(135deg, rgba(145, 70, 255, 0.3), rgba(145, 70, 255, 0.1));
    color: white;
    border: 1px solid rgba(145, 70, 255, 0.4);
    width: 40px;
    height: 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    padding: 0;
}

.control-btn:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(145, 70, 255, 0.5), rgba(145, 70, 255, 0.3));
    border-color: var(--twitch-purple);
    box-shadow: 0 4px 15px rgba(145, 70, 255, 0.5);
}

.control-btn:active {
    transform: scale(0.95);
}

.control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.control-btn.active {
    background: linear-gradient(135deg, var(--neon-green) 0%, #28a745 100%);
    border-color: var(--neon-green);
    animation: pulse-green 1.5s infinite;
}

/* Camera Switch Buttons */
.control-btn.cam-btn.sheep-cam {
    background: linear-gradient(135deg, rgba(196, 135, 12, 0.4), rgba(196, 135, 12, 0.2));
    border-color: rgba(196, 135, 12, 0.5);
}
.control-btn.cam-btn.sheep-cam:hover {
    background: linear-gradient(135deg, rgba(196, 135, 12, 0.6), rgba(196, 135, 12, 0.4));
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(196, 135, 12, 0.5);
}

.control-btn.cam-btn.bird-cam {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.4), rgba(0, 212, 255, 0.2));
    border-color: rgba(0, 212, 255, 0.5);
}
.control-btn.cam-btn.bird-cam:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.6), rgba(0, 212, 255, 0.4));
    border-color: var(--neon-cyan);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.5);
}

.control-btn.cam-btn.goat-cam {
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.4), rgba(255, 140, 66, 0.2));
    border-color: rgba(255, 140, 66, 0.5);
}
.control-btn.cam-btn.goat-cam:hover {
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.6), rgba(255, 140, 66, 0.4));
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.5);
}

.control-btn.cam-btn.eagle-cam {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.4), rgba(255, 215, 0, 0.2));
    border-color: rgba(255, 215, 0, 0.5);
}
.control-btn.cam-btn.eagle-cam:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.6), rgba(255, 215, 0, 0.4));
    border-color: #ffd700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
}

/* Preset Buttons */
.control-btn.preset-btn {
    background: linear-gradient(135deg, rgba(196, 135, 12, 0.3), rgba(196, 135, 12, 0.1));
    border-color: rgba(196, 135, 12, 0.4);
}
.control-btn.preset-btn:hover {
    background: linear-gradient(135deg, rgba(196, 135, 12, 0.5), rgba(196, 135, 12, 0.3));
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(196, 135, 12, 0.4);
}

.control-btn.preset-btn.bird-preset {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(0, 212, 255, 0.1));
    border-color: rgba(0, 212, 255, 0.4);
}
.control-btn.preset-btn.bird-preset:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.5), rgba(0, 212, 255, 0.3));
    border-color: var(--neon-cyan);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

/* Big Scene Buttons */
.control-btn.scene-btn {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.3), rgba(255, 107, 157, 0.1));
    border-color: rgba(255, 107, 157, 0.4);
}
.control-btn.scene-btn:hover {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.5), rgba(255, 107, 157, 0.3));
    border-color: var(--neon-pink);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

/* Widget Buttons */
.control-btn.widget-btn {
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.3), rgba(57, 255, 20, 0.1));
    border-color: rgba(57, 255, 20, 0.4);
}
.control-btn.widget-btn:hover {
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.5), rgba(57, 255, 20, 0.3));
    border-color: var(--neon-green);
    box-shadow: 0 4px 15px rgba(57, 255, 20, 0.4);
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 4px 15px rgba(57, 255, 20, 0.4); }
    50% { box-shadow: 0 6px 25px rgba(57, 255, 20, 0.7); }
}

.camera-feedback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(145, 70, 255, 0.9);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 600;
    animation: fadeInOut 2s ease forwards;
    z-index: 20;
    text-align: center;
    min-width: 200px;
}

.camera-feedback.warning {
    background: linear-gradient(135deg, rgba(255, 100, 50, 0.95), rgba(220, 50, 50, 0.95));
    border: 2px solid rgba(255, 150, 100, 0.6);
    box-shadow: 0 4px 20px rgba(255, 80, 50, 0.5);
    animation: fadeInOutWarning 3s ease forwards;
}

@keyframes fadeInOutWarning {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    15% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
    25% { transform: translate(-50%, -50%) scale(1); }
    75% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    20% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 2;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* ===== Secondary Bar ===== */
.secondary-bar {
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    z-index: 999;
    background: linear-gradient(90deg, rgba(15, 10, 25, 0.95) 0%, rgba(20, 12, 30, 0.95) 50%, rgba(15, 10, 25, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(145, 70, 255, 0.15);
    padding: 15px 0;
}

.secondary-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.secondary-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(145, 70, 255, 0.12);
    border: 1px solid rgba(145, 70, 255, 0.25);
    border-radius: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.secondary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.secondary-btn:hover::before {
    left: 100%;
}

.secondary-btn:hover {
    background: linear-gradient(135deg, var(--twitch-purple), var(--bitcoin-orange));
    border-color: var(--twitch-purple-light);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 10px 30px rgba(145, 70, 255, 0.4),
        0 0 20px rgba(247, 147, 26, 0.2);
}

.secondary-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.secondary-btn i {
    font-size: 1rem;
    transition: var(--transition);
}

.secondary-btn:hover i {
    transform: scale(1.1);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 230px;
    padding-bottom: 60px;
    overflow: visible;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Video Wrapper with Glow Effect */
.video-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 1100px;
}

.video-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(ellipse at center, rgba(145, 70, 255, 0.3) 0%, rgba(247, 147, 26, 0.15) 40%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

/* Live Indicator */
.live-indicator {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #ff4757 0%, #ff6b6b 100%);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: white;
    box-shadow: 0 4px 20px rgba(255, 71, 87, 0.5);
    z-index: 10;
    animation: liveFloat 3s ease-in-out infinite;
}

.live-dot {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes liveFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-5px); }
}

/* Video Container - Base Styles */
.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(145, 70, 255, 0.2),
        0 0 60px rgba(247, 147, 26, 0.15);
    border: 3px solid transparent;
    background: linear-gradient(var(--bg-dark), var(--bg-dark)) padding-box,
                linear-gradient(135deg, var(--twitch-purple), var(--bitcoin-orange), var(--neon-pink), var(--twitch-purple)) border-box;
    background-size: 300% 300%;
    animation: borderGlow 6s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.video-container iframe,
.video-container .videoframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* PiP Close Button */
.pip-close-btn {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 1002;
    transition: var(--transition);
}

.pip-close-btn:hover {
    background: var(--accent-red);
    transform: scale(1.1);
}

/* Picture-in-Picture Mode */
.video-container.pip-mode {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    top: auto !important;
    left: auto !important;
    width: 380px !important;
    height: 214px !important;
    aspect-ratio: auto !important;
    z-index: 10001 !important;
    max-width: none !important;
    border-radius: var(--border-radius);
    border: 3px solid transparent;
    background: 
        linear-gradient(var(--bg-dark), var(--bg-dark)) padding-box,
        linear-gradient(135deg, var(--twitch-purple), var(--bitcoin-orange), var(--neon-pink)) border-box;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(145, 70, 255, 0.4),
        0 0 20px rgba(247, 147, 26, 0.3);
    animation: none !important;
    transform: none !important;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.video-container.pip-mode:hover {
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(145, 70, 255, 0.5),
        0 0 30px rgba(247, 147, 26, 0.4);
    transform: scale(1.02) !important;
}

.video-container.pip-mode .pip-close-btn {
    display: flex;
}

/* Video Placeholder when in PiP */
.video-wrapper.has-pip {
    min-height: 300px;
}

.video-wrapper.has-pip::after {
    content: 'Video playing in corner - click to return';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px 40px;
    background: rgba(10, 6, 18, 0.9);
    border: 2px dashed rgba(145, 70, 255, 0.5);
    border-radius: var(--border-radius);
    color: var(--twitch-purple);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--bitcoin-orange), var(--twitch-purple), var(--neon-pink), var(--bitcoin-orange));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.section-line {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--twitch-purple), var(--bitcoin-orange), var(--neon-pink));
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.section-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: lineShine 2s ease-in-out infinite;
}

@keyframes lineShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ===== About Section ===== */
.about {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(180deg, rgba(26, 18, 8, 0.3) 0%, rgba(15, 10, 6, 0.8) 100%);
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--twitch-purple), var(--bitcoin-orange), var(--neon-pink), transparent);
}

.about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-pink), var(--bitcoin-orange), var(--twitch-purple), transparent);
}

/* Farm Stats */
.farm-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto 60px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(145, 70, 255, 0.1) 0%, rgba(20, 12, 30, 0.8) 100%);
    border-radius: var(--border-radius-lg);
    border: 2px solid rgba(145, 70, 255, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--twitch-purple), var(--bitcoin-orange), var(--neon-pink));
    transform: scaleX(0);
    transition: var(--transition);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: var(--twitch-purple);
    box-shadow: 0 20px 50px rgba(145, 70, 255, 0.2);
}

.stat-icon {
    font-size: 2rem;
    color: var(--bitcoin-orange);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(240, 244, 248, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Farm Stats Modal ===== */
.modal-stats {
    max-width: 900px;
}

.stats-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(79, 172, 254, 0.2);
    flex-wrap: wrap;
}

.stats-tab {
    padding: 10px 20px;
    background: transparent;
    border: none;
    color: rgba(240, 244, 248, 0.6);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    font-family: 'Poppins', sans-serif;
}

.stats-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    transform: scaleX(0);
    transition: var(--transition);
}

.stats-tab:hover {
    color: #4facfe;
}

.stats-tab.active {
    color: #4facfe;
}

.stats-tab.active::after {
    transform: scaleX(1);
}

.stats-content {
    padding: 15px 0;
}

.stats-summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.summary-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(20, 12, 30, 0.6) 100%);
    border-radius: var(--border-radius);
    border: 2px solid rgba(79, 172, 254, 0.3);
}

.summary-icon {
    font-size: 2.2rem;
    color: #4facfe;
}

.summary-info {
    flex: 1;
}

.summary-label {
    font-size: 0.8rem;
    color: rgba(240, 244, 248, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.summary-value {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

/* Two-column layout for breakdown and chart */
.stats-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: start;
}

.stats-breakdown {
    margin-bottom: 0;
}

.stats-breakdown h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-light);
}

.breakdown-list {
    display: grid;
    gap: 8px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: rgba(79, 172, 254, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(79, 172, 254, 0.2);
    transition: var(--transition);
}

.breakdown-item:hover {
    background: rgba(79, 172, 254, 0.1);
    border-color: rgba(79, 172, 254, 0.4);
}

.breakdown-type {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.breakdown-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #4facfe;
}

.breakdown-loading,
.breakdown-empty,
.breakdown-error {
    text-align: center;
    padding: 20px;
    color: rgba(240, 244, 248, 0.6);
    font-style: italic;
}

.breakdown-error {
    color: #ff4757;
}

.stats-chart-container {
    position: relative;
    padding: 15px;
    background: rgba(79, 172, 254, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(79, 172, 254, 0.2);
}

/* Top Supporters Section */
.top-supporters-section {
    padding: 15px 0;
}

.top-supporters-section h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-supporters-section h3 i {
    color: #ffd700;
    font-size: 1.3rem;
}

.supporters-description {
    color: rgba(240, 244, 248, 0.7);
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.supporters-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.supporter-item {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: rgba(79, 172, 254, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(79, 172, 254, 0.2);
    transition: var(--transition);
}

.supporter-item:hover {
    background: rgba(79, 172, 254, 0.1);
    border-color: rgba(79, 172, 254, 0.4);
}

.supporter-item.top-three {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(79, 172, 254, 0.05) 100%);
    border-color: rgba(255, 215, 0, 0.3);
}

.supporter-item.top-three:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(79, 172, 254, 0.1) 100%);
    border-color: rgba(255, 215, 0, 0.5);
}

.supporter-rank {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    color: #4facfe;
}

.supporter-item.top-three .supporter-rank {
    font-size: 1.5rem;
}

.supporter-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.supporter-feeds {
    font-size: 1rem;
    font-weight: 700;
    color: #4facfe;
    text-align: right;
}

.feeds-label {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(240, 244, 248, 0.6);
}

@media (max-width: 600px) {
    .supporters-list {
        grid-template-columns: 1fr;
    }
}

.about-content {
    max-width: 850px;
    margin: 0 auto 60px;
    text-align: center;
}

.about-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 30px;
    color: rgba(240, 244, 248, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.about-content p:first-of-type::first-letter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--bitcoin-orange);
    float: left;
    margin-right: 10px;
    line-height: 1;
}

/* Feature Cards */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, rgba(145, 70, 255, 0.1) 0%, rgba(247, 147, 26, 0.05) 50%, rgba(20, 12, 30, 0.8) 100%);
    border-radius: var(--border-radius-lg);
    border: 2px solid rgba(145, 70, 255, 0.2);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(145, 70, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--twitch-purple);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(145, 70, 255, 0.2),
        0 0 50px rgba(247, 147, 26, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--twitch-purple) 0%, var(--bitcoin-orange) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(145, 70, 255, 0.3);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 40px rgba(145, 70, 255, 0.5), 0 0 20px rgba(247, 147, 26, 0.3);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 15px;
}

.feature-card p {
    color: rgba(240, 244, 248, 0.7);
    line-height: 1.6;
    margin: 0;
}

/* Responsive for stats and features */
@media (max-width: 768px) {
    .stats-grid-layout {
        grid-template-columns: 1fr;
    }
    
    .farm-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item {
        padding: 25px 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stats-tabs {
        flex-direction: column;
        gap: 10px;
    }
    
    .stats-tab {
        padding: 10px 20px;
        text-align: left;
    }
    
    .summary-card {
        flex-direction: column;
        text-align: center;
    }
    
    .summary-value {
        font-size: 2.5rem;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 25px;
    }
}

/* ===== Community Section ===== */
.community {
    padding: 120px 0;
    position: relative;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.social-card {
    position: relative;
    background: rgba(15, 10, 30, 0.6);
    border: 2px solid rgba(145, 70, 255, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 45px 30px;
    text-align: center;
    text-decoration: none;
    color: var(--text-light);
    transition: var(--transition-slow);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

.social-card:hover::before {
    left: 100%;
}

.social-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(145, 70, 255, 0.1), transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.social-card:hover::after {
    opacity: 1;
}

.social-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(145, 70, 255, 0.2);
    border-color: var(--twitch-purple);
}

.social-card i {
    position: relative;
    z-index: 1;
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--twitch-purple), var(--bitcoin-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

.social-card:hover i {
    transform: scale(1.2) rotate(5deg);
}

.social-card h3 {
    position: relative;
    z-index: 1;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.social-card p {
    position: relative;
    z-index: 1;
    color: rgba(240, 244, 248, 0.8);
    line-height: 1.6;
}

.social-card.twitch:hover { 
    border-color: #9146ff;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), 0 0 40px rgba(145, 70, 255, 0.3);
}
.social-card.twitch:hover i { color: #9146ff; }

.social-card.discord:hover { 
    border-color: #7289da;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), 0 0 40px rgba(114, 137, 218, 0.3);
}
.social-card.discord:hover i { color: #7289da; }

.social-card.twitter:hover { 
    border-color: #1da1f2;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), 0 0 40px rgba(29, 161, 242, 0.3);
}
.social-card.twitter:hover i { color: #1da1f2; }

/* ===== Footer ===== */
.footer {
    background: rgba(10, 6, 18, 0.95);
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--twitch-purple), var(--bitcoin-orange), var(--neon-pink)) 1;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    background: linear-gradient(135deg, var(--twitch-purple), var(--bitcoin-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--twitch-purple), var(--bitcoin-orange), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: rgba(240, 244, 248, 0.7);
    font-style: italic;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(145, 70, 255, 0.1);
    border: 1px solid rgba(145, 70, 255, 0.3);
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--twitch-purple), var(--bitcoin-orange));
    border-color: var(--twitch-purple);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(145, 70, 255, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--twitch-purple), var(--bitcoin-orange), transparent) 1;
    color: rgba(240, 244, 248, 0.6);
}

/* ===== Modal Styles ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: block;
}

.modal-content {
    background: var(--bg-light);
    margin: 3% auto;
    padding: 0;
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    border: 2px solid transparent;
    background: linear-gradient(var(--bg-light), var(--bg-light)) padding-box,
                linear-gradient(135deg, var(--twitch-purple), var(--bitcoin-orange), var(--neon-pink)) border-box;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(145, 70, 255, 0.2);
    animation: slideInUp 0.4s ease;
    /* Custom scrollbar for modal */
    scrollbar-width: thin;
    scrollbar-color: var(--twitch-purple) rgba(20, 12, 30, 0.5);
}

/* Modal custom scrollbar - WebKit browsers */
.modal-content::-webkit-scrollbar {
    width: 10px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(20, 12, 30, 0.8);
    border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
}

.modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--twitch-purple), var(--bitcoin-orange));
    border-radius: 10px;
    border: 2px solid rgba(20, 12, 30, 0.8);
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--twitch-purple-light), var(--primary-light));
}

.modal-content.modal-wide {
    max-width: 1100px;
}

.modal-header {
    background: linear-gradient(135deg, var(--twitch-purple) 0%, var(--bitcoin-orange) 50%, var(--neon-pink) 100%);
    padding: 25px 30px;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close {
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: white;
    opacity: 0.8;
    transition: var(--transition);
}

.close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.modal-body {
    padding: 30px;
}

/* Info Sections */
/* How It Works Modal - New Design */
.intro-text {
    text-align: center;
    margin-bottom: 35px;
}

.intro-tagline {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}

.feed-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.feed-method {
    display: flex;
    gap: 25px;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feed-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: var(--transition);
}

.feed-method:hover::before {
    opacity: 1;
}

.feed-method:hover {
    transform: translateY(-5px);
}

/* Twitch Method */
.feed-method.twitch-method {
    background: linear-gradient(135deg, rgba(145, 70, 255, 0.15) 0%, rgba(26, 18, 8, 0.6) 100%);
    border: 2px solid rgba(145, 70, 255, 0.3);
}

.feed-method.twitch-method:hover {
    border-color: rgba(145, 70, 255, 0.6);
    box-shadow: 0 15px 40px rgba(145, 70, 255, 0.2);
}

.feed-method.twitch-method .method-icon {
    background: linear-gradient(135deg, #9146ff, #772ce8);
}

/* Lightning Method */
.feed-method.lightning-method {
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.15) 0%, rgba(26, 18, 8, 0.6) 100%);
    border: 2px solid rgba(247, 147, 26, 0.3);
}

.feed-method.lightning-method:hover {
    border-color: rgba(247, 147, 26, 0.6);
    box-shadow: 0 15px 40px rgba(247, 147, 26, 0.2);
}

.feed-method.lightning-method .method-icon {
    background: linear-gradient(135deg, #f7931a, #ffd700);
}

.method-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.method-content {
    flex: 1;
}

.method-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0 0 10px 0;
}

.method-content p {
    color: rgba(240, 244, 248, 0.8);
    margin: 0 0 15px 0;
    font-size: 1rem;
    line-height: 1.5;
}

.method-content .cmd {
    background: rgba(145, 70, 255, 0.3);
    color: #b366ff;
    padding: 4px 12px;
    border-radius: 6px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-weight: 600;
}

.method-requirements {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.requirement {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(145, 70, 255, 0.2);
    border: 1px solid rgba(145, 70, 255, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    color: #b366ff;
}

.requirement i {
    font-size: 0.85rem;
}

.or-divider {
    color: rgba(240, 244, 248, 0.5);
    font-size: 0.85rem;
    font-weight: 500;
}

.method-highlight {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(247, 147, 26, 0.2);
    border: 1px solid rgba(247, 147, 26, 0.3);
    border-radius: 25px;
    color: #ffd700;
    font-weight: 600;
    font-size: 0.95rem;
}

.method-highlight i {
    font-size: 1.1rem;
    animation: boltPulse 1.5s ease-in-out infinite;
}

@keyframes boltPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.info-note {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: rgba(145, 70, 255, 0.1);
    border: 1px dashed rgba(145, 70, 255, 0.4);
    border-radius: var(--border-radius);
    color: rgba(240, 244, 248, 0.8);
}

.info-note i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--twitch-purple), var(--bitcoin-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-note p {
    margin: 0;
    line-height: 1.5;
}

.info-note strong {
    color: var(--primary-light);
}

/* Legacy Info Sections */
.info-section {
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(15, 10, 25, 0.4);
    border-radius: var(--border-radius);
    border: 1px solid rgba(145, 70, 255, 0.2);
}

.info-section h3 {
    background: linear-gradient(135deg, var(--twitch-purple), var(--bitcoin-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-section p {
    color: rgba(240, 244, 248, 0.9);
    line-height: 1.6;
}

/* Commands Grid */
.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.command-category {
    background: rgba(15, 10, 25, 0.4);
    border-radius: var(--border-radius);
    padding: 25px;
    border: 1px solid rgba(145, 70, 255, 0.2);
}

.command-category h3 {
    background: linear-gradient(135deg, var(--twitch-purple), var(--bitcoin-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(145, 70, 255, 0.2);
    padding-bottom: 10px;
    margin-bottom: 5px;
}

.category-desc {
    font-size: 0.8rem;
    color: rgba(240, 244, 248, 0.6);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-desc i {
    color: #9146ff;
    font-size: 0.75rem;
}

/* Subscriber Category Styling */
.command-category.subscriber {
    background: linear-gradient(135deg, rgba(145, 70, 255, 0.1) 0%, rgba(26, 18, 8, 0.4) 100%);
    border: 2px solid rgba(145, 70, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.command-category.subscriber::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(145, 70, 255, 0.2), transparent);
    border-radius: 0 var(--border-radius) 0 100%;
}

.command-category.subscriber h3 {
    color: #9146ff;
    border-bottom-color: rgba(145, 70, 255, 0.3);
}

.command-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.command-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: rgba(15, 10, 20, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(145, 70, 255, 0.1);
    transition: var(--transition);
}

.command-item:hover {
    background: rgba(145, 70, 255, 0.1);
    border-color: rgba(145, 70, 255, 0.3);
    transform: translateX(5px);
}

.command-category.subscriber .command-item:hover {
    background: rgba(145, 70, 255, 0.1);
    border-color: rgba(145, 70, 255, 0.3);
}

.command {
    font-family: 'Monaco', 'Consolas', monospace;
    background: linear-gradient(135deg, var(--bitcoin-orange), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    font-size: 0.85rem;
}

.command-category.subscriber .command {
    background: linear-gradient(135deg, #9146ff, #b366ff);
    -webkit-background-clip: text;
    background-clip: text;
}

.description {
    color: rgba(240, 244, 248, 0.7);
    font-size: 0.8rem;
    text-align: right;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(145, 70, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(247, 147, 26, 0.6);
    }
}

@keyframes slideOutDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* ===== GDPR Cookie Consent Banner ===== */
.gdpr-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: linear-gradient(135deg, rgba(10, 6, 18, 0.98) 0%, rgba(20, 12, 30, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--twitch-purple), var(--bitcoin-orange), var(--neon-pink)) 1;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    padding: 20px 0;
    animation: slideInUp 0.5s ease;
    display: none;
}

.gdpr-banner.show {
    display: block;
}

.gdpr-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.gdpr-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
}

.gdpr-icon {
    font-size: 2.5rem;
    color: var(--bitcoin-orange);
    margin-top: 5px;
    animation: bounce 2s infinite;
}

.gdpr-text h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, var(--twitch-purple), var(--bitcoin-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gdpr-text p {
    color: rgba(240, 244, 248, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.gdpr-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.gdpr-btn {
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.gdpr-reject {
    background: rgba(145, 70, 255, 0.1);
    color: var(--text-light);
    border: 2px solid rgba(145, 70, 255, 0.3);
}

.gdpr-reject:hover {
    background: rgba(145, 70, 255, 0.2);
    border-color: var(--twitch-purple);
    transform: translateY(-2px);
}

.gdpr-accept {
    background: linear-gradient(135deg, var(--twitch-purple), var(--bitcoin-orange));
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 5px 20px rgba(145, 70, 255, 0.3);
}

.gdpr-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(145, 70, 255, 0.5);
}

@media (max-width: 768px) {
    .gdpr-container {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .gdpr-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .gdpr-icon {
        font-size: 2rem;
        margin-top: 0;
    }

    .gdpr-text h4 {
        font-size: 1rem;
    }

    .gdpr-text p {
        font-size: 0.85rem;
    }

    .gdpr-actions {
        width: 100%;
        flex-direction: column;
    }

    .gdpr-btn {
        width: 100%;
        padding: 14px 20px;
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
        height: 70px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .logo-badge {
        left: 100px;
        font-size: 0.55rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-light);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        border-top: 1px solid rgba(145, 70, 255, 0.3);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu-link {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        background: rgba(145, 70, 255, 0.1);
        border-radius: 8px;
    }

    .nav-menu-link::after {
        display: none;
    }
    
    .nav-menu-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 1.05rem;
    }
    
    /* Twitch auth mobile styles */
    .twitch-auth {
        width: 100%;
        justify-content: center;
    }
    
    .twitch-login-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
    
    .twitch-user {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        background: rgba(145, 70, 255, 0.1);
        border-radius: 8px;
    }
    
    .twitch-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 10px;
        background: rgba(145, 70, 255, 0.05);
    }
    
    .user-control-panel {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 10px;
        gap: 6px;
        max-width: 95%;
    }
    
    .control-row {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .control-label {
        min-width: 60px;
        font-size: 0.65rem;
    }
    
    .control-label i {
        font-size: 0.75rem;
    }
    
    .control-buttons {
        gap: 4px;
        flex-wrap: wrap;
    }
    
    .control-btn {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
        border-radius: 8px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .secondary-bar {
        top: 70px;
    }
    
    .secondary-container {
        padding: 0 20px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .secondary-btn {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    
    .hero {
        padding-top: 150px;
        padding-bottom: 40px;
        min-height: 80vh;
    }
    
    .video-container:not(.pip-mode) {
        max-width: 100%;
        margin: 0 10px;
        animation: none !important;
        transform: none !important;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    .video-container:not(.pip-mode):hover {
        transform: none !important;
    }
    
    .video-glow {
        animation: none;
        opacity: 0.4;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about, .community {
        padding: 60px 0;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .social-card {
        padding: 30px 20px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 80vh;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .commands-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .command-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .description {
        text-align: left;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .video-container:not(.pip-mode) {
        margin: 0 5px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .about-content p {
        font-size: 1rem;
    }
}

/* Utility Classes */
.fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.bounce {
    animation: bounce 2s infinite;
}

.glow {
    animation: glow 2s ease-in-out infinite alternate;
}

/* ===== Touch Device Overrides (disable PiP on mobile only) ===== */
/* Only apply on small touch screens - not touch-capable desktops */
@media (hover: none) and (pointer: coarse) and (max-width: 1024px) {
    .video-container.pip-mode {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        animation: none !important;
        transform: none !important;
        z-index: auto !important;
    }
    
    .video-wrapper.has-pip::after {
        display: none !important;
    }
    
    .pip-close-btn {
        display: none !important;
    }
}
/* ===== Twitch Chat Float ===== */
.twitch-chat-float {
    position: fixed;
    top: 100px;
    right: 20px;
    width: 340px;
    height: 700px;
    background: rgba(24, 24, 27, 0.98);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(145, 70, 255, 0.3);
    z-index: 999;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.twitch-chat-float.hidden {
    display: none;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(135deg, #9146ff 0%, #772ce8 100%);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-title i {
    font-size: 1.1rem;
}

.chat-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chat-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.twitch-chat-float iframe {
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
}

/* Hide chat on tablets and mobile devices */
@media (max-width: 1200px) {
    .twitch-chat-float {
        display: none !important;
    }
    
    .twitch-chat-toggle-btn {
        display: none !important;
    }
}

/* ===== BTC Lightning Modal Styling ===== */
.btc-modal .btc-modal-content {
    border: 2px solid var(--bitcoin-orange);
    box-shadow: 0 8px 32px rgba(247, 147, 26, 0.3), 0 0 0 1px rgba(247, 147, 26, 0.2);
}

.btc-modal-header {
    background: linear-gradient(135deg, #f79316 0%, #ff9f1c 50%, #f7931a 100%) !important;
    box-shadow: 0 4px 20px rgba(247, 147, 26, 0.4);
}

.btc-modal-header h2 {
    color: white !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btc-modal-header i {
    animation: btcRotate 3s ease-in-out infinite;
}

@keyframes btcRotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
}

.btc-content {
    text-align: center;
    padding: 20px;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Lightning Hero Section */
.lightning-hero {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
}

.lightning-bolt-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #f79316 0%, #ffb347 50%, #f79316 100%);
    background-size: 200% 200%;
    animation: shinyGradient 3s ease infinite;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 0 30px rgba(247, 147, 26, 0.5), 
                0 0 60px rgba(247, 147, 26, 0.3),
                inset 0 -5px 20px rgba(0, 0, 0, 0.2);
}

@keyframes shinyGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.lightning-hero h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff, #f79316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lightning-hero p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Lightning Plans Grid */
.lightning-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .lightning-plans {
        grid-template-columns: 1fr;
    }
}

.lightning-plan {
    position: relative;
    background: linear-gradient(145deg, rgba(30, 30, 50, 0.9), rgba(20, 20, 35, 0.9));
    border: 2px solid rgba(247, 147, 26, 0.2);
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.lightning-plan::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

.lightning-plan:hover::before {
    left: 100%;
}

.lightning-plan:hover {
    transform: translateY(-5px);
    border-color: var(--bitcoin-orange);
    box-shadow: 0 10px 40px rgba(247, 147, 26, 0.3);
}

.lightning-plan.popular {
    border-color: var(--bitcoin-orange);
    background: linear-gradient(145deg, rgba(247, 147, 26, 0.15), rgba(20, 20, 35, 0.95));
    transform: scale(1.05);
}

.lightning-plan.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.lightning-plan.premium {
    border-color: rgba(168, 130, 255, 0.5);
    background: linear-gradient(145deg, rgba(168, 130, 255, 0.1), rgba(20, 20, 35, 0.95));
}

.lightning-plan.premium:hover {
    border-color: #a882ff;
    box-shadow: 0 10px 40px rgba(168, 130, 255, 0.3);
}

.plan-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 15px;
    background: rgba(100, 100, 100, 0.5);
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0 0 10px 10px;
}

.plan-badge.popular-badge {
    background: linear-gradient(135deg, #f79316, #ff9f1c);
    color: white;
}

.plan-badge.premium-badge {
    background: linear-gradient(135deg, #8b5cf6, #a882ff);
    color: white;
}

.plan-duration {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 20px 0 15px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--bitcoin-orange);
}

.lightning-plan.premium .price-amount {
    color: #a882ff;
}

.price-unit {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.plan-savings {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(57, 255, 20, 0.15);
    color: #39ff14;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 15px;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.plan-features i {
    color: #39ff14;
    margin-right: 6px;
}

.plan-features i.fa-star {
    color: #ffd700;
}

.plan-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.2), rgba(247, 147, 26, 0.1));
    border: 2px solid rgba(247, 147, 26, 0.5);
    border-radius: 25px;
    color: var(--bitcoin-orange);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-btn:hover {
    background: linear-gradient(135deg, #f79316, #ff9f1c);
    color: white;
    box-shadow: 0 5px 20px rgba(247, 147, 26, 0.4);
}

.plan-btn.popular-btn {
    background: linear-gradient(135deg, #f79316, #ff9f1c);
    color: white;
    border-color: transparent;
}

.plan-btn.popular-btn:hover {
    box-shadow: 0 5px 25px rgba(247, 147, 26, 0.5);
    transform: scale(1.02);
}

.plan-btn.premium-btn {
    background: linear-gradient(135deg, rgba(168, 130, 255, 0.2), rgba(168, 130, 255, 0.1));
    border-color: rgba(168, 130, 255, 0.5);
    color: #a882ff;
}

.plan-btn.premium-btn:hover {
    background: linear-gradient(135deg, #8b5cf6, #a882ff);
    color: white;
    box-shadow: 0 5px 20px rgba(168, 130, 255, 0.4);
}

.lightning-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.lightning-note i {
    color: #39ff14;
    margin-right: 8px;
}

/* QR Code Section */
.lightning-qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.qr-instruction {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.qr-code-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.lightning-qr {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.qr-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: var(--bitcoin-orange);
}

.lightning-invoice-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bitcoin-orange);
}

.lightning-invoice-copy {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 400px;
}

.lightning-invoice-copy input {
    flex: 1;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-light);
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

.copy-invoice-btn {
    padding: 12px 18px;
    background: linear-gradient(135deg, #f79316 0%, #ff9f1c 100%);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-invoice-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(247, 147, 26, 0.4);
}

.lightning-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(247, 147, 26, 0.1);
    border-radius: 25px;
    color: var(--bitcoin-orange);
    font-weight: 500;
}

.lightning-status i {
    animation: pulse 1.5s ease-in-out infinite;
}

.lightning-status.expired {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.lightning-status.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.lightning-timer {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.lightning-timer span {
    font-weight: 600;
    color: var(--bitcoin-orange);
}

.lightning-cancel-btn {
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.lightning-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Success Section */
.lightning-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.lightning-success h3 {
    font-size: 1.5rem;
    color: #28a745;
    margin: 0;
}

.lightning-success p {
    color: var(--text-light);
    margin: 0;
}

.access-timer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 25px;
    color: #28a745;
    font-weight: 500;
}

.access-timer span {
    font-weight: 700;
    font-size: 1.1rem;
}

.lightning-close-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.lightning-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
}

/* Active Session Section */
.lightning-active {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.active-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f79316 0%, #ff9f1c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    animation: boltPulse 2s ease-in-out infinite;
}

@keyframes boltPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(247, 147, 26, 0.4); }
    50% { box-shadow: 0 0 30px 10px rgba(247, 147, 26, 0.2); }
}

.lightning-active h3 {
    font-size: 1.3rem;
    color: var(--bitcoin-orange);
    margin: 0;
}

.lightning-active p {
    color: var(--text-light);
    margin: 0;
}

/* Lightning access indicator on control panel */
.user-control-panel.lightning-access::before {
    display: none; /* Hide old indicator, using new timer bar instead */
}

/* Lightning Timer Bar in Control Panel */
.lightning-timer-bar {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #f79316 0%, #ff9f1c 100%);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 10px rgba(247, 147, 26, 0.4);
    animation: lightningPulse 2s ease-in-out infinite;
}

.lightning-timer-bar i {
    font-size: 0.9rem;
    animation: boltFlicker 1.5s ease-in-out infinite;
}

.lightning-timer-bar .lightning-timer-label {
    font-weight: 700;
}

.lightning-timer-bar .lightning-timer-separator {
    opacity: 0.7;
    font-size: 0.6rem;
}

.lightning-timer-bar #lightningControlTimer {
    font-weight: 800;
    font-size: 0.95rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 50px;
    text-align: center;
}

.lightning-timer-bar .lightning-timer-suffix {
    opacity: 0.85;
    font-weight: 500;
}

@keyframes lightningPulse {
    0%, 100% { box-shadow: 0 2px 10px rgba(247, 147, 26, 0.4); }
    50% { box-shadow: 0 2px 20px rgba(247, 147, 26, 0.7); }
}

@keyframes boltFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.user-control-panel.lightning-access .lightning-timer-bar {
    display: flex;
}

.secondary-btn.btc-lightning-btn {
    background: linear-gradient(135deg, #f79316 0%, #ff9f1c 100%);
    color: white;
    border: 2px solid rgba(247, 147, 26, 0.3);
}

.secondary-btn.btc-lightning-btn:hover {
    background: linear-gradient(135deg, #ff9f1c 0%, #f79316 100%);
    border-color: var(--bitcoin-orange);
    box-shadow: 0 5px 20px rgba(247, 147, 26, 0.4);
    transform: translateY(-2px);
}

.secondary-btn.btc-lightning-btn i {
    animation: btcPulse 2s ease-in-out infinite;
}

@keyframes btcPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
