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

:root {
    --bg: #100d18;
    --surface: #1b1626;
    --surface-light: #251e33;
    --purple: #a855f7;
    --purple-light: #c084fc;
    --gold: #f5c76a;
    --text: #ffffff;
    --muted: #a69bb5;
    --border: rgba(255,255,255,0.08);
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: Arial, sans-serif;
    min-height: 100vh;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
}

#app {
    width: 100%;
    max-width: 600px;
    min-height: 100vh;
    margin: auto;
    position: relative;
    background: var(--bg);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

#app-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.brand {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand span {
    color: var(--gold);
}

#app-content {
    padding: 20px;
    padding-bottom: 100px;
}

.section-title {
    font-size: 20px;
    margin: 24px 0 15px;
}

.muted {
    color: var(--muted);
}

.tabs {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}

.tab-button {
    flex: 1;
    padding: 13px;
    border-radius: 14px;
    background: var(--surface);
    color: var(--muted);
    font-weight: bold;
}

.tab-button.active {
    color: white;
    background: linear-gradient(135deg, #7928ca, #a855f7);
}

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

.host-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
}

.host-cover {
    height: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    background: linear-gradient(145deg, #49236b, #171222);
}

.host-info {
    padding: 12px;
}

.host-name {
    font-size: 15px;
    font-weight: bold;
}

.live-badge {
    display: inline-block;
    background: #e53965;
    color: white;
    font-size: 10px;
    padding: 5px 9px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.primary-button {
    background: linear-gradient(135deg, #8b35d5, #b45cf5);
    color: white;
    padding: 13px 20px;
    border-radius: 13px;
    font-weight: bold;
}

.gold-button {
    background: linear-gradient(135deg, #d9a441, #f5d58a);
    color: #211609;
    padding: 13px 20px;
    border-radius: 13px;
    font-weight: bold;
}

.glass-card {
    background: linear-gradient(145deg, #251d34, #171321);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 15px;
}

#bottom-navigation {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: space-around;
    background: rgba(24, 19, 34, 0.97);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--border);
    padding: 12px 5px calc(12px + env(safe-area-inset-bottom));
    z-index: 100;
}

.nav-item {
    background: transparent;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    min-width: 55px;
}

.nav-item .icon {
    font-size: 21px;
}

.nav-item.active {
    color: var(--purple-light);
}

.broadcast-icon {
    width: 45px;
    height: 45px;
    margin-top: -23px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #8b35d5, #c084fc);
    color: white;
    font-size: 25px;
    border: 4px solid var(--bg);
}

.loading-screen {
    text-align: center;
    padding: 60px 15px;
}

@media (max-width: 380px) {
    #app-content {
        padding-left: 14px;
        padding-right: 14px;
    }

    .host-cover {
        height: 120px;
    }
}

/* DESICANDI ROMANTIC LUXURY THEME */

:root {
    --bg: #1c1420;
    --surface: #2a1d2c;
    --surface-light: #39263a;
    --purple: #b76e9d;
    --purple-light: #e6a8ca;
    --gold: #f5d49a;
    --text: #fff5fa;
    --muted: #c9afc0;
    --border: rgba(255, 220, 240, 0.13);
    --rose: #e88bb5;
    --blush: #f4bfd5;
}

body {
    background:
        radial-gradient(ellipse at 15% 0%, #503047 0%, transparent 45%),
        radial-gradient(ellipse at 90% 50%, #35213b 0%, transparent 40%),
        var(--bg);
    color: var(--text);
}

#app {
    background: transparent;
}

#app-header {
    background: rgba(42, 29, 44, 0.65);
    backdrop-filter: blur(18px);
}

.brand span {
    background: linear-gradient(90deg, #f4a9cb, #f5d49a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tab-button {
    background: linear-gradient(145deg, #352439, #281c2c);
    border: 1px solid var(--border);
}

.tab-button.active {
    background: linear-gradient(135deg, #c46b9e, #94558f);
    box-shadow: 0 5px 20px rgba(196, 107, 158, 0.25);
}

.host-card,
.glass-card {
    background: linear-gradient(
        145deg,
        rgba(67, 42, 65, 0.95),
        rgba(37, 27, 43, 0.95)
    );
    border: 1px solid rgba(244, 191, 213, 0.16);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.host-cover {
    background: linear-gradient(145deg, #8c527d, #38233f);
}

.primary-button {
    background: linear-gradient(135deg, #d879a9, #a85d9d);
    box-shadow: 0 5px 18px rgba(216, 121, 169, 0.25);
}

.gold-button {
    background: linear-gradient(135deg, #f1c987, #ffe4b2);
}

#bottom-navigation {
    background: rgba(35, 25, 39, 0.96);
    border-top: 1px solid rgba(244, 191, 213, 0.18);
    backdrop-filter: blur(20px);
}

.nav-item.active {
    color: #f4a9cb;
}

.broadcast-icon {
    background: linear-gradient(135deg, #d879a9, #a85d9d);
    box-shadow: 0 4px 15px rgba(216, 121, 169, 0.3);
}

.live-badge {
    background: linear-gradient(135deg, #e66b91, #bd477e);
}


/* DESICANDI SOFT ROMANTIC LIGHT THEME */

:root {
    --bg: #fff3f7;
    --surface: #ffffff;
    --surface-light: #fce8f1;
    --purple: #c45d91;
    --purple-light: #df82b0;
    --gold: #c99b48;
    --text: #49283d;
    --muted: #947486;
    --border: rgba(190, 105, 150, 0.16);
    --rose: #e58ab5;
    --blush: #ffe0ed;
}

body {
    background:
        radial-gradient(ellipse at 10% 0%, #ffe0ed 0%, transparent 50%),
        radial-gradient(ellipse at 90% 60%, #eee2ff 0%, transparent 45%),
        #fff3f7;
    color: var(--text);
}

#app {
    background: transparent;
}

#app-header {
    background: rgba(255,255,255,0.85);
}

.brand {
    color: #49283d;
}

.brand span {
    background: linear-gradient(90deg, #e477a8, #c18bd5, #d5a64e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tab-button {
    background: #ffffff;
    color: #947486;
    border: 1px solid #f2d6e4;
}

.tab-button.active {
    background: linear-gradient(135deg, #ed9cbe, #c875a6);
    color: white;
    box-shadow: 0 5px 18px rgba(200, 117, 166, 0.22);
}

.host-card,
.glass-card {
    background: #ffffff;
    border: 1px solid #f3dce8;
    box-shadow: 0 6px 20px rgba(150, 90, 125, 0.09);
}

.host-cover {
    background: linear-gradient(145deg, #f9c9dd, #e7d6f6);
}

.host-info {
    background: #ffffff;
}

.section-title,
.host-name {
    color: #49283d;
}

.primary-button {
    background: linear-gradient(135deg, #eb91b7, #c56b9e);
    color: white;
}

.gold-button {
    background: linear-gradient(135deg, #f6d99e, #e9bd70);
    color: #49283d;
}

#bottom-navigation {
    background: rgba(255,255,255,0.96);
    border-top: 1px solid #f0d9e5;
    box-shadow: 0 -5px 20px rgba(120,70,100,0.07);
}

.nav-item {
    color: #98788b;
}

.nav-item.active {
    color: #d45e99;
}

.broadcast-icon {
    border-color: #fff3f7;
    background: linear-gradient(135deg, #ed91b8, #c16ca0);
}

.muted {
    color: #947486;
}


/* DESICANDI SHARED BRAND HEADER */
.brand-header {
    width: 100%;
    padding: 18px 16px 16px;
    text-align: center;
    background: linear-gradient(135deg, #fff8fb, #fce8f1, #f4eaff);
    border-bottom: 1px solid rgba(194, 115, 151, 0.16);
}

.brand-name {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #793b60;
}

.brand-name span {
    color: #d49b52;
}

.brand-tagline {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 7px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #9b5277;
}

.brand-tagline span:last-child {
    color: #aa8050;
}



/* ORIGINAL DESICANDI MULTI-SHADE WORDMARK */
.brand-name {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    animation: none !important;
    letter-spacing: 0.5px;
}

.brand-desi {
    color: #793b60;
    -webkit-text-fill-color: #793b60;
}

.brand-candi {
    background: linear-gradient(100deg, #e78bb9, #d94f9e, #a94cba, #ef9ac6, #d94f9e);
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: desiWordShimmer 4s ease-in-out infinite;
}

.brand-sparkle {
    display: inline-block;
    color: #d49b52 !important;
    -webkit-text-fill-color: #d49b52 !important;
    animation: desiSparkle 2s ease-in-out infinite;
}


/* DESICANDI ORIGINAL HOME LOGO ANIMATION */
.brand-header {
    display: none !important;
}

.desicandi-logo {
    display: inline-block;
    font-size: 29px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.logo-desi {
    color: #793b60;
}

.logo-candi {
    background: linear-gradient(100deg, #e78bb9, #d94f9e, #a94cba, #ef9ac6, #d94f9e);
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: desiWordShimmer 3s linear infinite;
}

.logo-sparkle {
    display: inline-block;
    color: #d49b52;
    animation: desiSparkle 1.8s ease-in-out infinite;
}

.home-tagline {
    margin: 9px 0 18px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.1px;
    color: #9b5277;
}

.home-tagline span {
    display: block;
    margin-top: 4px;
    color: #aa8050;
}

@media (prefers-reduced-motion: reduce) {
    .logo-candi, .logo-sparkle {
        animation: none !important;
    }
}
