/* Cyan Theme for Rain Shelter Rewards */

/* Rain Shelter Theme */

:root {
  --primary-dark: #0a1a24;
  --primary: #162733;
  --primary-light: #1e3545;
  --accent: #4a9eff;
  --accent-glow: #4a9eff33;
  --text: #e0e7ff;
}

body {
  background: var(--primary-dark);
  color: var(--text);
}

.nav-a {
  color: var(--text);
}

.nav-a:hover {
  color: var(--accent);
}

.nav-a.active {
  color: var(--accent);
}

.custom-btn {
  background: var(--accent);
  color: var(--primary-dark);
  transition: all 0.3s ease;
}

.custom-btn:hover {
  background: var(--accent-glow);
  color: var(--text);
}

.glowing {
  box-shadow: 0 0 15px var(--accent-glow);
}

.text-gradient {
  background-image: linear-gradient(to right, var(--text), var(--accent)) !important;
}

/* Rain animation */
.rain-drop {
  position: fixed;
  pointer-events: none;
  width: 2px;
  height: 100px;
  background: linear-gradient(transparent, var(--accent));
  animation: rain-fall linear infinite;
}

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

/* Lightning flash effect */
.lightning {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  animation: lightning-flash 10s infinite;
}

@keyframes lightning-flash {
  0% { opacity: 0; }
  10% { opacity: 0; }
  10.1% { opacity: 0.3; }
  10.2% { opacity: 0; }
  10.3% { opacity: 0.3; }
  10.4% { opacity: 0; }
  89% { opacity: 0; }
  89.1% { opacity: 0.3; }
  89.2% { opacity: 0; }
  89.3% { opacity: 0.3; }
  89.4% { opacity: 0; }
  100% { opacity: 0; }
}

/* Main background color */
body {
    background: #0a192f !important;
}

/* Navigation bar styling */
nav {
    background: #0e2a38 !important;
    border-bottom: 1px solid rgba(124, 226, 255, 0.44) !important;
    position: relative;
    z-index: 1000;
}

/* Cyan accent colors */
.text-sky-300, .text-blue-300, .nav-a.active, .nav-a:hover {
    color: #5cffe7 !important;
}

/* Font updates */
body, p, button, a {
    font-family: 'Montserrat', sans-serif !important;
}

.kirang-haerang-regular {
    font-family: 'Raleway', sans-serif !important;
    font-weight: 700 !important;
}

/* Card backgrounds */
.custom-social-card, .glowing, .rounded-sm.glowing {
    background: #0e3446 !important;
    border: 1px solid rgba(92, 255, 231, 0.2) !important;
}

.custom-social-card-footer {
    background: #0d2e3d !important;
    border-top: 1px solid rgba(92, 255, 231, 0.2) !important;
}

/* Buttons */
.custom-btn, .custom-button {
    background: linear-gradient(45deg, #0a97a7, #00e5ff) !important;
    color: #000 !important;
    font-weight: bold !important;
    position: relative !important;
    z-index: 2 !important;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.4) !important;
}

.custom-btn:hover, .custom-button:hover {
    background: linear-gradient(45deg, #00e5ff, #0a97a7) !important;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.7) !important;
    transform: translateY(-3px) !important;
}

/* Glowing effects */
.glow {
    text-shadow: 0 0 10px rgba(92, 255, 231, 0.7) !important;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 10px rgba(92, 255, 231, 0.7) !important;
    }
    50% {
        text-shadow: 0 0 20px rgba(92, 255, 231, 0.9) !important;
    }
    100% {
        text-shadow: 0 0 10px rgba(92, 255, 231, 0.7) !important;
    }
}

.glowing {
    box-shadow: 0 0 10px rgba(92, 255, 231, 0.5) !important;
}

@keyframes glowingShadow {
    0% {
        box-shadow: 0 0 10px rgba(92, 255, 231, 0.5) !important;
    }
    50% {
        box-shadow: 0 0 20px rgba(92, 255, 231, 0.8) !important;
    }
    100% {
        box-shadow: 0 0 10px rgba(92, 255, 231, 0.5) !important;
    }
}

/* Icon colors */
ion-icon {
    color: #5cffe7 !important;
}

/* Update footer background */
footer {
    background: #0e2a38 !important;
    border-top: 1px solid rgba(124, 226, 255, 0.44) !important;
}

/* Add glow to main content */
main {
    position: relative;
    z-index: 1;
}

main::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 300px;
    background: radial-gradient(circle, rgba(92, 255, 231, 0.08) 0%, rgba(10, 25, 47, 0) 70%);
    pointer-events: none;
    z-index: 1;
    filter: blur(20px);
}

/* Update text colors */
.text-white {
    color: #e6f1ff !important;
}

/* Add subtle animations to buttons */
.custom-btn, .custom-button {
    transition: all 0.3s ease-in-out !important;
    transform: translateY(0) !important;
}

.custom-btn:hover, .custom-button:hover {
    transform: translateY(-3px) !important;
}

/* Specific styles for the PLAY NOW button */
.button-container .custom-button {
    position: relative;
    z-index: 3;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4);
}

.button-container .custom-button::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 5px;
    background: transparent;
    z-index: -1;
}

main > div {
    position: relative;
    z-index: 2;
}

/* Streamer Dropdown - CSS Only Solution for Cyan Theme */
.streamer-dropdown {
    position: relative;
    display: inline-block;
}

.streamer-dropdown-content {
    display: none;
    position: absolute;
    background: #0e3446 !important;
    border: 1px solid rgba(92, 255, 231, 0.2) !important;
    box-shadow: 0 8px 32px rgba(0, 229, 255, 0.2) !important;
    border-radius: 8px;
    min-width: 160px;
    z-index: 9999;
    top: 100%;
    left: 0;
    margin-top: 8px;
    padding: 8px 0;
    list-style: none;
    margin: 0;
}

.streamer-dropdown:hover .streamer-dropdown-content {
    display: block;
}

.streamer-dropdown-content li {
    margin: 0;
    padding: 0;
}

.streamer-dropdown-content li a {
    color: #5cffe7 !important;
    padding: 8px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
    border-radius: 4px;
    margin: 2px 4px;
}

.streamer-dropdown-content li a:hover {
    background: rgba(92, 255, 231, 0.1) !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px rgba(92, 255, 231, 0.3) !important;
    transform: translateX(4px);
} 
