:root {
    --bg-color: #0b1117;
    --panel-bg: rgba(15, 30, 40, 0.85);
    --neon-purple: #33ccff;
    --neon-gold: #ffcc33;
    --neon-green: #33ff99;
    --neon-blue: #33ccff;
    --text-main: #ffffff;
    --text-muted: #cce7ff;
    --snow-white: #ffffff;
    --candy-red: #ff3366;
    --holly-green: #2e8b57;
    --gold-bell: #ffcc33;
    --ice-blue: #66ccff;
    --frost: #99ffff;
}

.space-background {
    background: 
        radial-gradient(circle at 20% 30%, rgba(25, 60, 90, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(30, 70, 100, 0.3) 0%, transparent 50%),
        linear-gradient(180deg, #0b1117 0%, #0a1a2a 100%) !important;
}

.footer-bottom-credit {
    color: #ffffff !important; 
    border-top: 1px solid rgba(102, 204, 255, 0.2) !important;
}

.footer-bottom-credit .credit-link {
    color: var(--frost) !important;
    text-shadow: 0 0 10px rgba(153, 255, 255, 0.5) !important;
}

.footer-bottom-credit .credit-link:hover {
    color: var(--snow-white) !important;
    text-shadow: 0 0 15px var(--frost) !important;
}
.error-code {
	color: var(--frost) !important;
	text-shadow: 0 0 10px rgba(153, 255, 255, 0.5) !important;
}

.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    background: white;
    border-radius: 50%;
    will-change: transform;
}

@keyframes fall {
    0% { transform: translateY(-10vh) translateX(0); }
    100% { transform: translateY(110vh) translateX(20px); }
}

.falling-decoration {
    position: fixed;
    top: -50px;
    pointer-events: none;
    z-index: 9997;
    will-change: transform;
    animation: deco-fall linear forwards;
}

@keyframes deco-fall {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

.star {
    background-color: var(--snow-white) !important;
    border-radius: 50% !important;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8) !important;
}

header {
    background: rgba(15, 30, 40, 0.95) !important;
    border-bottom: 2px solid var(--ice-blue) !important;
}

.nav-item {
    color: #a3d1ff !important;
}

.nav-item:hover, .nav-item.active {
    color: var(--frost) !important;
    text-shadow: 0 0 15px var(--frost) !important;
}

.logo,
.griff-text,
.lb-text,
.preview-title,
.section-title-main,
.tv-title,
.error-title,
.footer-logo,
.footer-col h3,
.hero h1,
.hero p,
#main-title-area h1,
#main-title-area .desc-text,
.error-text,
.tv-message,
.disclaimer-area p {
    color: #ffffff !important;
    text-shadow: none !important;
}

.desc-text,
.preview-subtitle,
.error-text,
.tv-message,
.footer-desc,
.disclaimer-area p,
.footer-links a,
.tab-name,
.preview-tab-desc,
.timer-unit,
.timer-label,
.nav-item {
    color: #cce7ff !important;
}

.footer-logo,
.footer-col h3 {
    color: #ffffff !important;
    text-shadow: none !important;
}

.footer-links a {
    color: #a3d1ff !important;
}

.footer-links a:hover {
    color: var(--frost) !important;
}

.hero h1 {
    color: #ffffff !important;
    text-shadow: 0 0 25px var(--ice-blue) !important;
}

.hero p {
    color: #cce7ff !important;
}

.main-chicken,
.tv-chicken-img,
.minion-chicken,
.chicken-glow,
#chicken-img,
.avatar[src*="chicken.png"]:not([src*="http"]),
.pfp-small[src*="chicken.png"]:not([src*="http"]) {
    content: url('/images/chicken-xmas.png') !important;
    filter: drop-shadow(0 0 5px rgba(102, 204, 255, 0.8)) !important;
}

.chicken-container::before,
.tv-chicken::before {
    background: var(--ice-blue) !important;
    opacity: 0.4 !important;
    filter: blur(60px) !important;
}

@keyframes pulse-glow {
    0%, 100% { 
        opacity: 0.3; 
        width: 180px; 
        height: 180px; 
        background: var(--ice-blue) !important;
    }
    50% { 
        opacity: 0.6; 
        width: 220px; 
        height: 220px; 
        background: var(--frost) !important;
    }
}

.prize-tag {
    background: rgba(102, 204, 255, 0.15) !important;
    border: 2px solid rgba(102, 204, 255, 0.4) !important;
    color: var(--frost) !important;
}

.prize-tag.rank-1 {
    border-color: var(--frost) !important;
    color: var(--frost) !important;
    background: rgba(153, 255, 255, 0.2) !important;
}

.currency-cell {
    color: var(--frost) !important;
}

.btn-discord {
    background: linear-gradient(135deg, #1a3a50, #0f2a40) !important;
    border: 1px solid var(--ice-blue) !important;
    box-shadow: 
        0 0 15px rgba(102, 204, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    color: var(--frost) !important;
}

.btn-discord:hover {
    background: linear-gradient(135deg, var(--ice-blue), #66ccff) !important;
    border-color: var(--ice-blue) !important;
    box-shadow: 0 0 25px var(--ice-blue) !important;
    transform: translateY(-2px) !important;
}

.btn-main {
    background: rgba(25, 50, 70, 0.8) !important;
    border: 2px solid var(--ice-blue) !important;
    box-shadow: 
        0 0 20px rgba(102, 204, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.btn-main:hover {
    border-color: var(--frost) !important;
    color: var(--frost) !important;
    box-shadow: 0 0 30px var(--frost) !important;
    transform: translateY(-3px) !important;
}

.btn-action {
    background: linear-gradient(135deg, var(--ice-blue), #66ccff) !important;
    box-shadow: 0 0 20px rgba(102, 204, 255, 0.5) !important;
}

.btn-save {
    background: linear-gradient(135deg, var(--gold-bell), #ffdd66) !important;
    color: #333 !important;
    box-shadow: 0 0 20px rgba(255, 204, 51, 0.5) !important;
}

.podium {
    position: relative;
}

.egg {
    border: 2px solid var(--ice-blue) !important;
    box-shadow: 
        0 0 25px rgba(102, 204, 255, 0.4),
        inset 0 0 30px rgba(102, 204, 255, 0.1) !important;
    background: linear-gradient(180deg, 
        rgba(30, 60, 90, 0.9) 0%, 
        rgba(15, 30, 45, 0.95) 100%) !important;
}

.egg.rank-1 {
    border-color: var(--frost) !important;
    box-shadow: 
        0 0 35px rgba(153, 255, 255, 0.6),
        inset 0 0 40px rgba(153, 255, 255, 0.2) !important;
}

.rank-badge {
    border: 2px solid var(--ice-blue) !important;
    background: rgba(15, 30, 45, 0.9) !important;
    box-shadow: 0 0 10px rgba(102, 204, 255, 0.3) !important;
}

.rank-1 .rank-badge {
    border-color: var(--frost) !important;
    color: var(--frost) !important;
    box-shadow: 0 0 15px var(--frost) !important;
}

.avatar, .pfp-small {
    border: 2px solid var(--ice-blue) !important;
    box-shadow: 0 0 10px rgba(102, 204, 255, 0.3) !important;
}

.rank-1 .avatar {
    border-color: var(--frost) !important;
    box-shadow: 0 0 20px var(--frost) !important;
}

.nest {
    background: rgba(25, 50, 75, 0.8) !important;
    border: 1px solid var(--ice-blue) !important;
}

.header-line {
    background: linear-gradient(90deg, transparent, var(--ice-blue), transparent) !important;
}

.glass-panel {
    border: 2px solid var(--ice-blue) !important;
    background: rgba(20, 40, 60, 0.8) !important;
    backdrop-filter: blur(10px);
}

.glass-panel th {
    background: rgba(102, 204, 255, 0.15) !important;
    color: var(--frost) !important;
    border-bottom: 1px solid rgba(102, 204, 255, 0.3) !important;
}

.glass-panel td {
    border-bottom: 1px solid rgba(102, 204, 255, 0.1) !important;
}

.rank-col {
    color: var(--ice-blue) !important;
    text-shadow: 0 0 10px rgba(102, 204, 255, 0.5) !important;
}

.tab-card {
    border: 2px solid rgba(102, 204, 255, 0.2) !important;
    background: rgba(25, 50, 75, 0.7) !important;
    backdrop-filter: blur(5px);
}

.tab-card.active {
    border-color: var(--frost) !important;
    background: rgba(40, 80, 120, 0.8) !important;
    box-shadow: 0 0 30px rgba(153, 255, 255, 0.3) !important;
}

.preview-tab-card {
    border: 2px solid rgba(102, 204, 255, 0.2) !important;
    background: rgba(25, 50, 75, 0.7) !important;
    backdrop-filter: blur(5px);
}

.preview-tab-card:hover {
    border-color: var(--frost) !important;
    box-shadow: 0 0 25px rgba(153, 255, 255, 0.2) !important;
}

.timer-container {
    position: relative;
}

.timer-label {
    color: var(--frost) !important;
    text-shadow: 0 0 10px var(--frost) !important;
}

.timer-segment {
    background: rgba(102, 204, 255, 0.1) !important;
    border: 1px solid var(--ice-blue) !important;
    box-shadow: 
        0 0 20px rgba(102, 204, 255, 0.3),
        inset 0 0 10px rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(5px);
}

.timer-num {
    color: var(--frost) !important;
    text-shadow: 0 0 15px var(--frost) !important;
}

.footer-main {
    border-top: 1px solid rgba(102, 204, 255, 0.2) !important;
    background: transparent !important;
}

.social-btn {
    background: rgba(102, 204, 255, 0.1) !important;
    border: 1px solid rgba(102, 204, 255, 0.3) !important;
    box-shadow: 0 0 10px rgba(102, 204, 255, 0.2) !important;
}

.social-btn:hover {
    background: var(--ice-blue) !important;
    border-color: var(--ice-blue) !important;
    box-shadow: 0 0 20px var(--ice-blue) !important;
}

.disclaimer-area {
    background: rgba(102, 204, 255, 0.05) !important;
    border: 1px solid rgba(102, 204, 255, 0.1) !important;
}

.glass-panel-admin {
    border: 2px solid var(--ice-blue) !important;
    background: rgba(25, 50, 75, 0.8) !important;
    backdrop-filter: blur(10px);
}

.panel-title {
    color: var(--frost) !important;
    text-shadow: 0 0 10px var(--frost) !important;
}

.dropdown-header {
    background: rgba(40, 80, 120, 0.8) !important;
    border: 1px solid rgba(102, 204, 255, 0.3) !important;
}

.dropdown-header:hover {
    border-color: var(--ice-blue) !important;
    box-shadow: 0 0 15px rgba(102, 204, 255, 0.4) !important;
}

.dropdown-list {
    background: rgba(30, 60, 90, 0.95) !important;
    border: 1px solid var(--ice-blue) !important;
    backdrop-filter: blur(10px);
}

input {
    background: rgba(40, 80, 120, 0.8) !important;
    border: 1px solid rgba(102, 204, 255, 0.3) !important;
    color: var(--frost) !important;
}

input:focus {
    border-color: var(--frost) !important;
    box-shadow: 0 0 15px var(--frost) !important;
}

.status-badge.status-active {
    background: rgba(51, 255, 153, 0.15) !important;
    color: #33ff99 !important;
    border: 1px solid #33ff99 !important;
    text-shadow: 0 0 10px #33ff99 !important;
}

.tv-frame {
    border: 4px solid var(--ice-blue) !important;
    box-shadow: 
        0 0 60px rgba(102, 204, 255, 0.5),
        inset 0 0 40px rgba(255, 255, 255, 0.1) !important;
}

.tv-inner-border {
    border: 5px solid #1a334d !important;
}

.tv-loading h1 {
    text-shadow: 0 0 20px var(--frost) !important;
    color: var(--frost) !important;
}

.tv-loading .progress-bar {
    background: linear-gradient(90deg, var(--ice-blue), var(--frost)) !important;
    box-shadow: 0 0 20px var(--frost) !important;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--ice-blue), var(--frost)) !important;
    box-shadow: 0 0 10px var(--frost) !important;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--frost), #ccffff) !important;
}

* {
    scrollbar-color: var(--ice-blue) #0a1a2a !important;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    25% { 
        transform: translateY(-15px) rotate(-2deg); 
    }
    75% { 
        transform: translateY(-10px) rotate(2deg); 
    }
}

.main-chicken,
.tv-chicken-img {
    animation: float 4s ease-in-out infinite !important;
}

@media (max-width: 768px) {
    .btn-discord {
        box-shadow: 
            0 0 10px rgba(102, 204, 255, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    }
    
    .nav-links.active {
        border-bottom: 2px solid var(--ice-blue) !important;
        background: rgba(20, 40, 60, 0.98) !important;
    }
}
