:root {
  --bg-black: #020202;
  --card-bg: rgba(10, 10, 10, 0.95);
  --accent-gold: #f4c547;
  --accent-kick: #53fc18;
  --accent-twitch: #9146ff;
  --accent-discord: #5658f2;
  --accent-live: #ff2a2a;
  --text-main: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.5);
  --transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  --mouse-x: 50%;
  --mouse-y: 50%;
}

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

body {
  background-color: var(--bg-black);
  color: var(--text-main);
  font-family: "Albert Sans", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

#network-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; background-color: var(--bg-black); }
.interactive-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(244, 197, 71, 0.08), transparent 80%); z-index: -1; pointer-events: none; }

.main-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px; 
  gap: 20px;
  animation: fadeIn 1s ease-out;
}

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

.profile-container { width: 100%; }
.profile-card {
  background: var(--card-bg);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 25px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.profile-image { margin-bottom: 15px; transition: transform 1.4s; }
.profile-image img { width: 90px; height: 90px; border-radius: 26px; object-fit: cover; border: 2px solid var(--accent-gold); box-shadow: 0 0 15px var(--accent-gold), 0 0 30px rgba(244, 197, 71, 0.4); }
.profile-image:hover{ transform: scale(1.1); }

.name { font-family: "Raleway", sans-serif; font-size: 28px; font-weight: 900; margin-bottom: 2px; letter-spacing: -1px; }
.email-wrapper { position: relative; display: flex; justify-content: center; width: 100%; cursor: pointer; margin-bottom: 20px; transition: var(--transition); }
.email { font-family: "Albert Sans", sans-serif; color: var(--text-dim); font-size: 11px; margin-bottom: 0; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; display: flex; align-items: center; gap: 8px; transition: var(--transition); }
.email-icon { font-size: 12px; opacity: 0; transform: translateX(10px); transition: var(--transition); color: var(--accent-gold); position: absolute; left: 50%; margin-left: -80px; }
.email-wrapper:hover .email { color: #fff; text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); transform: translateX(10px); }
.email-wrapper:hover .email-icon { opacity: 1; transform: translateX(0); position: relative; left: auto; margin-left: 0; }
.tooltip-popup { position: absolute; top: -30px; left: 50%; transform: translateX(-50%) translateY(10px); background: var(--accent-gold); color: #000; font-family: "Albert Sans", sans-serif; font-size: 10px; font-weight: 800; padding: 5px 10px; border-radius: 6px; letter-spacing: 1px; opacity: 0; pointer-events: none; transition: var(--transition); box-shadow: 0 5px 15px rgba(244, 197, 71, 0.3); white-space: nowrap; }
.tooltip-popup::after { content: ''; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); border-width: 4px 4px 0; border-style: solid; border-color: var(--accent-gold) transparent transparent transparent; }
.tooltip-popup.show-tooltip { opacity: 1; transform: translateX(-50%) translateY(0); }

.social-icons { display: flex; gap: 10px; margin-bottom: 25px; }
.icon-link { text-decoration: none; transition: var(--transition); width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.03); border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.05); font-size: 15px; color: #ffffff; }
.icon-link:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); }
.icon-instagram:hover i { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.icon-youtube:hover i { color: #ff0000; }
.icon-twitter:hover i { color: #a3a8ae; }

.streamer-actions { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.row-actions { display: flex; gap: 8px; width: 100%; }
.action-button { padding: 12px; border-radius: 12px; text-decoration: none; font-family: "Raleway", sans-serif; font-weight: 800; font-size: 11px; letter-spacing: 1px; display: flex; align-items: center; justify-content: center; gap: 8px; transition: var(--transition); border: 1px solid rgba(255, 255, 255, 0.08); }
.action-button img { width: 14px; height: auto; }
.kick-button { flex: 1; background: rgba(46, 166, 15, 0.15); color: #fff; }
.kick-button:hover { background: var(--accent-kick); color: #000; border-color: transparent; box-shadow: 0 0 20px rgba(83, 252, 24, 0.4); transform: translateY(-2px); }
.kick-button:hover img { filter: brightness(0); }
.twitch-button { flex: 1; background: rgba(107, 52, 191, 0.15); color: #fff; }
.twitch-button img { filter: brightness(0) invert(1); transition: var(--transition); }
.twitch-button:hover { background: var(--accent-twitch); color: #000; border-color: transparent; box-shadow: 0 0 20px rgba(145, 70, 255, 0.4); transform: translateY(-2px); }
.twitch-button:hover img { filter: brightness(0); }
.discord-button { width: 100%; color: #fff; font-size: 13px; letter-spacing: 2px; margin-top: 2px; transition: var(--transition); background: rgba(47, 111, 228, 0.15); }
.discord-button:hover { transform: translateY(-2px) scale(1.01); box-shadow: 0 10px 20px rgb(60, 69, 167, 0.3); background: var(--accent-discord); color: #000; border-color: transparent; filter: brightness(1.1); }
.footer-note { margin-top: 25px; font-size: 8px; color: rgba(255, 255, 255, 0.2); text-transform: uppercase; letter-spacing: 3px; font-weight: 400; }
.footer-note b { color: var(--accent-gold); font-weight: 900; }

.stream-container { width: 100%; }
.stream-card { background: var(--card-bg); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 25px; padding: 25px; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6); transition: var(--transition); }
.stream-card.is-live { border-color: rgba(255, 42, 42, 0.7); box-shadow: 0 0 26px rgba(255, 42, 42, 0.28); animation: pulseCard 3.2s infinite; }
@keyframes pulseCard { 0% { box-shadow: 0 0 14px rgba(255, 42, 42, 0.2); border-color: rgba(255, 42, 42, 0.35); } 50% { box-shadow: 0 0 30px rgba(255, 42, 42, 0.35); border-color: rgba(255, 42, 42, 0.7); } 100% { box-shadow: 0 0 14px rgba(255, 42, 42, 0.2); border-color: rgba(255, 42, 42, 0.35); } }
.stream-label { font-family: "Albert Sans", sans-serif; color: var(--text-dim); font-size: 8px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; font-weight: 700; }
.stream-title { font-family: "Raleway", sans-serif; font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 10px; line-height: 1.25; letter-spacing: -0.4px; text-transform: uppercase; }
.stream-date { font-family: "Albert Sans", sans-serif; font-size: 12px; font-weight: 700; color: var(--accent-gold); margin-bottom: 14px; letter-spacing: 0.8px; background: rgba(244, 197, 71, 0.1); border: 1px solid rgba(244, 197, 71, 0.2); padding: 6px 12px; border-radius: 50px; display: inline-block; }
.stream-viewers { font-family: "Albert Sans", sans-serif; font-size: 11px; font-weight: 800; color: #fff; margin-top: -6px; margin-bottom: 14px; letter-spacing: 0.8px; background: rgba(255, 42, 42, 0.1); border: 1px solid rgba(255, 42, 42, 0.3); padding: 5px 10px; border-radius: 50px; display: inline-block; }

.timer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; }
.timer-item { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 12px; padding: 12px 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: var(--transition); }
.timer-item:hover { background: rgba(255, 255, 255, 0.05); transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.1); }
.timer-number { font-family: "Albert Sans", sans-serif; font-size: 20px; font-weight: 800; color: var(--accent-gold); font-variant-numeric: tabular-nums; }
.timer-text { font-family: "Albert Sans", sans-serif; font-size: 8px; text-transform: uppercase; color: var(--text-dim); margin-top: 4px; letter-spacing: 1px; font-weight: 600; }
.animated-seconds { color: var(--accent-gold); animation: pulseText 1s infinite; }
@keyframes pulseText { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.8; } 100% { transform: scale(1); opacity: 1; } }

.live-cta-box { 
    text-decoration: none; 
    width: 100%; 
    display: block; 
    margin-top: 8px;
    grid-column: 1 / -1; 
}
.live-cta-btn {
    background: linear-gradient(135deg, #ff2a2a, #b00505); 
    color: #fff; 
    padding: 12px; 
    border-radius: 14px;
    font-weight: 900; 
    text-align: center; 
    font-family: 'Raleway', sans-serif; 
    font-size: 15px;
    letter-spacing: 2px; 
    text-transform: uppercase; 
    box-shadow: 0 0 18px rgba(255, 42, 42, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
    border: 1px solid rgba(255, 42, 42, 0.7);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px;
    width: 100%;
}
.live-cta-btn:hover { 
    transform: translateY(-2px) scale(1.01); 
    box-shadow: 0 0 28px rgba(255, 42, 42, 0.55); 
    filter: brightness(1.08); 
}
.live-cta-btn i { font-size: 16px; }

.sponsors-section { width: 100%; display: flex; flex-direction: column; align-items: center; }

.sponsors-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sponsor-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 86px;
  width: 100%;
  border-radius: 18px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(0,0,0,0.55));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 12px 30px rgba(0,0,0,0.35);
  transition: var(--transition);
  overflow: hidden;
}

.sponsor-item:only-child {
  grid-column: 1 / -1;
  height: 120px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.7));
}

.sponsor-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120px circle at 30% 20%, rgba(244,197,71,0.12), transparent 70%);
  opacity: 0;
  transition: var(--transition);
}

.sponsor-item:hover {
  transform: translateY(-4px);
  border-color: rgba(244,197,71,0.6);
  box-shadow: 0 14px 36px rgba(0,0,0,0.55);
}

.sponsor-item:hover::after { opacity: 1; }

.sponsor-img {
  height: 100%;
  max-height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  filter: grayscale(100%) contrast(1.05);
  transition: var(--transition);
  z-index: 1;
}

.sponsor-item:only-child .sponsor-img {
  max-height: 70px;
  opacity: 0.95;
  filter: grayscale(0%);
}

.sponsor-item:hover .sponsor-img {
  opacity: 1;
  filter: grayscale(0%);
}

@media (max-width: 420px) {
  .sponsors-grid { grid-template-columns: 1fr; }
  .sponsor-item { height: 80px; }
}

.global-admin-btn { position: absolute; top: 30px; right: 30px; display: flex; align-items: center; gap: 12px; text-decoration: none; color: rgba(255, 255, 255, 0.6); background: rgba(0, 0, 0, 0.6); border: 1px solid rgba(255, 255, 255, 0.1); padding: 12px 20px; border-radius: 12px; font-family: "Albert Sans", sans-serif; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition); backdrop-filter: blur(5px); z-index: 100; }
.global-admin-btn img { width: 16px; height: 16px; opacity: 0.6; filter: invert(100%); transition: var(--transition); }
.global-admin-btn:hover { border-color: var(--accent-gold); background: rgba(244, 197, 71, 0.1); color: #fff; transform: translateY(-2px); box-shadow: 0 5px 20px rgba(0,0,0,0.5); }
.global-admin-btn:hover img { opacity: 1; filter: invert(76%) sepia(66%) saturate(638%) hue-rotate(328deg) brightness(97%) contrast(93%); }

@media (max-width: 480px) {
    .global-admin-btn { top: 15px; right: 15px; padding: 10px 15px; }
    .global-admin-btn span { display: none; }
    .profile-card, .stream-card { padding: 25px 20px; }
}
