@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');

/* =========================
   CSS Variables & Global Reset
   ========================= */
:root {
    --bg-color: #282828;
    --panel-bg: #1a1d23;
    --panel-border: #1a1d23;
    --header-bg: #1e2229;
    --text-primary: #ffffff;
    --text-secondary: #aaa;
    --text-muted: #ccc;
    --accent-green: #00d632;
    --accent-green-hover: #00ff55;
    --accent-blue: #3d95ce;
    --accent-blue-hover: #5ab0e0;
    --danger-red: #ff5555;
    --dot-bg: #666;
    --scrollbar-color: #5b3971;
}

/* =============================
   Purple Scrollbar Styling
   ============================= */

/* Firefox — slightly wider thumb */
@supports (scrollbar-width: auto) {
  * {
    scrollbar-width: auto; /* wider than 'thin' */
    scrollbar-color: #9b59b6 #2e1a47; /* thumb | track */
  }
}

/* Chrome / Edge / Safari — mobile & desktop */
::-webkit-scrollbar {
  width: 10px;  /* slightly bigger for mobile usability */
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #2e1a47;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb {
  background: #9b59b6;
  border-radius: 8px;
  border: 2px solid #2e1a47; /* creates padding around thumb */
}

::-webkit-scrollbar-thumb:hover {
  background: #b07fd4;
}

/* Mobile-specific: slightly larger touch target */
@media (max-width: 768px) {
  ::-webkit-scrollbar {
    width: 12px;
    height: 12px;
  }

  ::-webkit-scrollbar-thumb {
    border-radius: 10px;
  }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Open Sans", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.5;
}

#app-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

/* =========================
   Headings
   ========================= */
h1, h3 {
    color: var(--text-primary);
}

h1 {
    font-size: 2rem;
    margin: 30px 0 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

h2 {
    margin-top: 20px;
    font-size: 1.4rem;
    color: var(--text-primary);
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* =========================
   Layout Components
   ========================= */
/* =========================
   Dashboard / Channels Container
   ========================= */
#dashboard .channels {
    width: 600px;
    max-width: 95%;
    margin: 30px auto;
    background-color: #22262e;
    border: 1px solid var(--panel-border);
    border-radius: 4px;
    overflow: hidden;
}

#dashboard .channels .channel {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #2f343c;
    transition: background-color 0.2s;
}

#dashboard .channels .channel:last-child {
    border-bottom: none;
}

#dashboard .channels .channel:not(.header-row) {
    cursor: pointer;
}

#dashboard .channels .channel:nth-child(odd):not(.header-row) {
    background-color: rgba(0, 0, 0, 0.1);
}

#dashboard .channels .channel:not(.header-row):hover {
    background-color: rgba(255, 255, 255, 0.05);
}

#dashboard .channels .header-row {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: var(--header-bg);
    color: var(--text-secondary);
    font-weight: bold;
    cursor: default;
}

#dashboard .channels .channel.toggle {
    justify-content: center;
    background-color: var(--panel-bg);
    border-top: 1px solid var(--panel-border);
    cursor: default;
}

/* =========================
   User Info & Avatars
   ========================= */
#dashboard .channels .avatar {
    width: 45px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    padding-right: 15px;
}

#dashboard .channels .avatar .image {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--dot-bg) no-repeat center / cover;
    display: inline-block;
    line-height: 32px;
    font-size: 0.8em;
    font-weight: bold;
    color: var(--text-primary);
}

#dashboard .channels .details {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#dashboard .channels .details .name {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-right: 10px;
}

.user-main-name {
    font-weight: bold;
    color: #eee;
    font-size: 14px;
}

.stream-title {
    margin-top: 2px;
    font-size: 11px;
    color: var(--text-secondary);
}

/* =========================
   Status Dots & Platform Icons
   ========================= */
#dashboard .channels .details .status {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    font-size: 13px;
    color: #bdbdbd;
}

#dashboard .channels .channel.online .details .status {
    color: var(--text-primary);
}

.dot {
    width: 10px;
    height: 10px;
    margin-left: 8px;
    border-radius: 50%;
    background-color: var(--dot-bg);
}

.online.youtube .dot,
.online.rumble .dot, 
.online.twitch .dot,
.online.vaughn .dot,
.online.kick .dot,
.online.parti .dot,
.online.pumpfun .dot {   
    width: 14px;
    height: 14px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border-radius: 0;
}

.online.youtube .dot  { background-image: url("/images/yt.png"); }
.online.twitch .dot   { background-image: url("/images/twitch.png"); }
.online.rumble .dot   { background-image: url("/images/rumble.png"); }
.online.vaughn .dot   { background-image: url("/images/Vaughn.png"); }
.online.kick .dot     { background-image: url("/images/kick.png"); }
.online.parti .dot    { background-image: url("/images/parti.png"); }
.online.pumpfun .dot  { background-image: url("/images/pump.png"); }

/* =========================
   Donation / Cards Section
   ========================= */
.donation-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.donation-card {
    flex: 1 1 300px;
    background-color: var(--panel-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.2s, box-shadow 0.2s;
}

.donation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.7);
}

.crypto-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.crypto-list li {
    margin-bottom: 10px;
    word-break: break-all;
    font-size: 1rem;
    color: var(--text-primary);
}

.btn-donate {
    display: block;
    margin: 10px 0;
    text-align: center;
}

.paypal-note {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* =========================
   Buttons & Utilities
   ========================= */
.btn, .btn-venmo {
    display: inline-block;
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s, color 0.2s;
}

.btn { background-color: var(--accent-green); }
.btn:hover, .btn:focus { background-color: var(--accent-green-hover); }

.btn-venmo { background-color: var(--accent-blue); }
.btn-venmo:hover, .btn-venmo:focus { background-color: var(--accent-blue-hover); }

.disclaimer, .gambling-disclaimer {
    margin-top: 30px;
    padding: 15px;
    background-color: var(--panel-bg);
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.disclaimer { border-left: 4px solid var(--danger-red); }

.last-updated { color: var(--text-secondary); font-style: italic; margin-bottom: 30px; }

.contact-email { color: var(--accent-green); text-decoration: none; }
.contact-email:hover { text-decoration: underline; }

/* =========================
   Footer & Links
   ========================= */
#footer {
    width: 100%;
    background-color: var(--header-bg);
    text-align: center;
    padding: 20px 10px;
    margin-top: 50px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    padding: 0 10px;
}

.footer-links a, #footer p {
    font-size: 14px;
    color: var(--text-primary);
    text-decoration: none;
}

.footer-links a {
    font-weight: bold;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.footer-links a:hover { opacity: 0.8; }

#footer p {
    margin-top: 10px;
}

/* Mobile portrait */
@media (max-width: 480px) {
    .footer-links {
        gap: 8px 12px;
    }

    .footer-links a, #footer p {
        font-size: 12px;
    }
}

/* Mobile landscape */
@media (max-width: 900px) and (orientation: landscape) {
    #footer {
        padding: 12px 10px;
        margin-top: 30px;
    }

    .footer-links {
        gap: 6px 14px;
    }

    .footer-links a, #footer p {
        font-size: 12px;
    }

    #footer p {
        margin-top: 6px;
    }
}
/* =========================
   Site Banner
   ========================= */
#site-banner {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background-color: var(--panel-bg);
}

#site-banner img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 165px;
    object-fit: cover;
    object-position: center;
}

/* Mobile — portrait */
@media (max-width: 768px) and (orientation: portrait) {
    #site-banner img {
        max-height: 90px;
        object-position: center top;
    }
}

/* Mobile — landscape */
@media (max-width: 900px) and (orientation: landscape) {
    #site-banner img {
        max-height: 70px;
        object-position: center;
    }
}

/* =========================
   Advertisement Containers
   ========================= */
.ad-container {
    text-align: center;
    margin: 30px auto;
    width: 100%;
}

.ad-container img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

/* =========================
   Responsive Styles
   ========================= */
@media (max-width: 768px) {
    #dashboard .channels { width: 95%; }
}

/* =========================
   Privacy Policy Page
   ========================= */
.privacy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
    background-color: var(--panel-bg);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.privacy-container h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    border-bottom: 3px solid var(--accent-green);
    padding-bottom: 15px;
}

.privacy-container .date {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 30px;
    display: block;
}

.privacy-container h2 {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.6rem;
    color: var(--accent-green);
}

.privacy-container p {
    text-align: center;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.privacy-container ul {
    text-align: left;
    max-width: 700px;
    margin: 15px auto;
    padding-left: 20px;
}

.privacy-container ul li {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.privacy-container code {
    background-color: rgba(0, 214, 50, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    color: var(--accent-green);
}

.privacy-container a {
    color: var(--text-primary);
    text-decoration: none;
}

.privacy-container a:hover {
    color: var(--text-primary);
    text-decoration: none;
}

.privacy-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid var(--panel-border);
    text-align: center;
}

.privacy-footer a {
    margin: 0 15px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: bold;
}

.privacy-footer a:hover {
    color: var(--text-primary);
}

.privacy-footer p {
    margin-top: 15px;
    color: var(--text-secondary);
}

/* =========================
   Terms of Service / Legal Page
   ========================= */
.legal-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    text-align: center;
}

.legal-container h1 {
    font-size: 2.2rem;
    color: var(--text-primary);
    border-bottom: 3px solid var(--accent-green);
    padding-bottom: 14px;
    margin-bottom: 8px;
}

.legal-container > p {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 36px;
}

.legal-container section {
    margin-bottom: 28px;
}

/* Purple headings */
.legal-container h2 {
    font-size: 1.25rem;
    color: #b57bee;
    margin-bottom: 8px;
    margin-top: 0;
}

/* White paragraph text */
.legal-container p {
    color: #ffffff;
    line-height: 1.85;
    margin-bottom: 8px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Lists centered, content left-aligned */
.legal-container ul {
    list-style: none;
    padding: 0;
    margin: 10px auto;
    max-width: 680px;
    text-align: left;
    display: inline-block;
    width: 100%;
}

.legal-container ul li {
    color: #ffffff;
    line-height: 1.75;
    margin-bottom: 8px;
    padding-left: 1.2em;
    position: relative;
}

.legal-container ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #b57bee;
}

/* All links — white, no browser default blue/red */
.legal-container a,
.legal-container a:link,
.legal-container a:visited,
.legal-container a:active {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.45);
    transition: opacity 0.2s;
}

.legal-container a:hover,
.legal-container a:focus {
    color: #ffffff;
    opacity: 0.75;
    text-decoration: underline;
    text-decoration-color: #ffffff;
}
/* =========================
   Premiere Status
   ========================= */

/* Row highlight — subtle purple tint, similar weight to online rows */
#dashboard .channels .channel.premiere {
    background-color: rgba(120, 60, 180, 0.08);
}

#dashboard .channels .channel.premiere:hover {
    background-color: rgba(120, 60, 180, 0.15);
}

/* Status text colour for premiere rows */
#dashboard .channels .channel.premiere .details .status {
    color: var(--text-primary);
}

/* "PREMIERE" badge — pill label to the left of the viewer count */
.premiere-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: bold;
    letter-spacing: 0.06em;
    color: #fff;
    background: linear-gradient(135deg, #7b3fe4, #a855f7);
    border-radius: 3px;
    padding: 1px 5px;
    margin-right: 6px;
    vertical-align: middle;
    white-space: nowrap;
    text-transform: uppercase;
}

/* Premiere dot — purple YouTube icon (same size as online platform dots) */
.premiere-dot {
    width: 14px !important;
    height: 14px !important;
    background-color: transparent !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border-radius: 0 !important;
    background-image: url("/images/yt.png");
}