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

body {
    background: #090914;
    color: white;
    font-family: Arial, sans-serif;
    padding-bottom: 90px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px;
    background: #101020;
    position: sticky;
    top: 0;
    z-index: 10;
}

header h1 {
    font-size: 30px;
    letter-spacing: 2px;
}

header h1 span {
    color: #a855f7;
}

button {
    border: none;
    border-radius: 12px;
    padding: 13px 20px;
    color: white;
    background: linear-gradient(120deg,#7928ca,#3478f6);
    font-weight: bold;
    cursor: pointer;
}

.icon {
    font-size: 25px;
    background: transparent;
}

main {
    padding: 20px;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

h2 {
    margin: 15px 0;
}

h3 {
    margin: 25px 0 12px;
}

.subtitle {
    color: #9999b5;
    margin: 10px 0 20px;
}

.hero {
    padding: 30px 22px;
    margin: 25px 0;
    border-radius: 22px;
    background: linear-gradient(135deg,#6425a8,#172e75);
    box-shadow: 0 5px 30px #5820a044;
}

.hero p {
    color: #ddd;
    margin: 15px 0 22px;
}

.card, .feature, .post {
    background: #151526;
    border: 1px solid #292944;
    border-radius: 17px;
    padding: 18px;
    margin: 12px 0;
}

.card {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar, .profile-avatar {
    background: linear-gradient(135deg,#7928ca,#3478f6);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 25px;
    font-weight: bold;
}

.avatar {
    width: 55px;
    height: 55px;
}

.post-image {
    height: 190px;
    background: linear-gradient(135deg,#6726a7,#193b91);
    border-radius: 12px;
    margin: 15px 0;
    display: grid;
    place-items: center;
    font-size: 35px;
    font-weight: bold;
}

.post p {
    margin: 12px 0;
}

.post button {
    background: #292944;
}

input, textarea {
    width: 100%;
    padding: 16px;
    background: #17172a;
    color: white;
    border: 1px solid #393956;
    border-radius: 12px;
    margin: 12px 0;
    outline: none;
}

textarea {
    height: 130px;
    resize: vertical;
}

.feature {
    cursor: pointer;
}

.feature p {
    color: #9999b5;
    margin-top: 8px;
}

.profile-avatar {
    width: 95px;
    height: 95px;
    margin: 25px auto;
    font-size: 40px;
}

#profile {
    text-align: center;
}

.stats {
    display: flex;
    justify-content: space-around;
    background: #151526;
    padding: 20px 5px;
    border-radius: 15px;
    margin: 25px 0;
}

.chatbox {
    height: 55vh;
    overflow-y: auto;
    padding: 12px;
    background: #121222;
    border-radius: 15px;
    margin: 15px 0;
}

.bubble {
    background: #29204a;
    padding: 13px;
    border-radius: 14px;
    margin: 10px 0;
    width: fit-content;
    max-width: 85%;
}

.input-row {
    display: flex;
    gap: 8px;
}

.input-row input {
    flex: 1;
}

nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    background: #111120;
    border-top: 1px solid #292944;
    padding: 12px 3px;
    z-index: 20;
}

nav button {
    background: transparent;
    font-size: 23px;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

nav small {
    font-size: 10px;
    color: #aaaac0;
}
/* ===== V-MAX PREMIUM BRANDING ===== */

.vmax-logo {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 4px;
    color: #ffffff;
    text-shadow: 0 0 12px #8b5cf6, 0 0 30px #6d28d9;
}

.vmax-logo span {
    color: #a855f7;
}

.vmax-splash {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #241044, #090711 65%, #000);
    color: white;
}

.vmax-splash h1 {
    font-size: 55px;
    font-weight: 900;
    letter-spacing: 7px;
    text-shadow: 0 0 15px #a855f7, 0 0 40px #7c3aed;
    animation: vmaxGlow 2s infinite alternate;
}

.vmax-splash p {
    color: #c4b5fd;
    letter-spacing: 5px;
    font-size: 12px;
}

@keyframes vmaxGlow {
    from {
        text-shadow: 0 0 10px #7c3aed;
        transform: scale(1);
    }
    to {
        text-shadow: 0 0 30px #a855f7, 0 0 60px #7c3aed;
        transform: scale(1.05);
    }
}

.vmax-button {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    border: none;
    border-radius: 14px;
    padding: 13px 25px;
    color: white;
    font-weight: bold;
    box-shadow: 0 0 20px #7c3aed66;
}

/* V-MAX Live Voice Buttons */
#liveStartBtn,
#liveEndBtn {
    width: 90%;
    max-width: 320px;
    padding: 17px 22px;
    margin: 12px auto;
    border: none;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    display: block;
    transition: 0.3s ease;
}

#liveStartBtn {
    background: linear-gradient(135deg, #8b5cf6, #2563eb, #a855f7);
    box-shadow: 0 0 22px rgba(139, 92, 246, 0.55);
}

#liveStartBtn:active {
    transform: scale(0.94);
    box-shadow: 0 0 35px rgba(139, 92, 246, 0.8);
}

#liveEndBtn {
    background: linear-gradient(135deg, #ef4444, #be123c);
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.35);
}

#liveEndBtn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
}

#liveVoice .feature {
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: 22px;
    padding: 22px 15px;
    background: linear-gradient(145deg, rgba(70, 40, 120, 0.2), rgba(25, 50, 100, 0.2));
}


/* V-MAX Bugatti Purple Edition */
#liveVoice {
    background:
        radial-gradient(ellipse at 50% 15%, rgba(153, 50, 255, .25), transparent 55%),
        linear-gradient(160deg, #10051f, #210638 50%, #090312);
    min-height: 100vh;
    color: #fff;
}

#liveVoice h2 {
    color: #e3b5ff;
    text-align: center;
    text-shadow: 0 0 18px #a020f0;
}

#liveVoice .subtitle {
    text-align: center;
    color: #c9a5e8;
}

#liveVoice .feature {
    background: linear-gradient(145deg, #29103f, #160923);
    border: 1px solid rgba(190, 110, 255, .45);
    box-shadow: 0 8px 30px rgba(110, 0, 180, .2),
                inset 0 1px 15px rgba(190, 110, 255, .08);
    border-radius: 24px;
}

#livePersonality,
#customPersonality {
    width: 100%;
    padding: 14px;
    color: white;
    background: #1c0b2c;
    border: 1px solid #a855f7;
    border-radius: 14px;
}

#liveStatus {
    color: #d9a5ff;
    font-weight: 700;
    text-shadow: 0 0 12px #a020f0;
}

#liveStartBtn {
    background: linear-gradient(120deg, #6500a8, #a020f0, #d580ff);
    border: 1px solid #e4b5ff;
    box-shadow: 0 0 25px rgba(160, 32, 240, .55);
}

#liveEndBtn {
    background: linear-gradient(120deg, #390052, #7800a8);
    border: 1px solid #bd70e8;
}

#liveTranscript {
    color: #f0dcff;
    text-align: left;
}

#liveTranscript p {
    padding: 12px 15px;
    margin: 10px 0;
    background: rgba(160, 32, 240, .12);
    border-left: 3px solid #bd70ff;
    border-radius: 12px;
}


/* V-MAX LIVE — BUGATTI METALLIC PURPLE */
.vmax-live {
    min-height: 100vh;
    padding: 25px 16px 35px;
    color: #fff;
    text-align: center;
    background:
      radial-gradient(ellipse at 50% 34%, #57118c 0%, transparent 42%),
      linear-gradient(160deg, #09030f, #20052f 48%, #08020e);
    overflow: hidden;
}

.live-header { margin-bottom: 12px; }

.live-brand {
    color: #d7a5ff;
    letter-spacing: 7px;
    font-size: 13px;
    font-weight: 900;
}

.live-header h2 {
    margin: 12px 0 5px;
    color: #f0d5ff;
    letter-spacing: 3px;
    text-shadow: 0 0 20px #a020f0;
}

.live-header p, .live-footer {
    color: #c5a0dd;
    font-size: 12px;
}

.live-orb-area {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 10px auto;
}

.live-orb {
    width: 155px;
    height: 155px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 35% 25%,
      #f1d4ff, #bb62f5 20%, #7112ad 48%, #210536 78%);
    box-shadow: 0 0 25px #a020f0,
      0 0 65px rgba(160,32,240,.7),
      inset -12px -15px 25px #100019,
      inset 8px 8px 20px rgba(255,255,255,.4);
    z-index: 2;
    animation: orbFloat 3s ease-in-out infinite;
}

.orb-core {
    font-size: 55px;
    font-weight: 900;
    color: white;
    text-shadow: 0 0 25px white;
}

.live-orb-ring {
    position: absolute;
    width: 195px;
    height: 195px;
    border: 1px solid rgba(218,160,255,.7);
    border-radius: 50%;
}

.ring-one { animation: ringPulse 3s infinite; }
.ring-two {
    width: 225px;
    height: 225px;
    border-style: dashed;
    animation: ringRotate 14s linear infinite;
}

.live-wave {
    position: absolute;
    bottom: 8px;
    display: flex;
    gap: 5px;
    align-items: center;
    height: 30px;
}

.live-wave i {
    width: 4px;
    height: 8px;
    border-radius: 5px;
    background: #d9a0ff;
    box-shadow: 0 0 10px #a020f0;
    animation: waveMove .8s ease-in-out infinite alternate;
}

.live-wave i:nth-child(2n) { animation-delay: .2s; }
.live-wave i:nth-child(3n) { animation-delay: .4s; }

.live-status {
    color: #e8c5ff;
    font-weight: 700;
    margin: 10px 0 22px;
}

.status-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    background: #bd65ff;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 12px #c77aff;
}

.live-personality {
    text-align: left;
    padding: 17px;
    background: rgba(65,20,91,.5);
    border: 1px solid rgba(198,125,255,.4);
    border-radius: 18px;
}

.live-personality label {
    display: block;
    color: #d7a5ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.live-personality select,
.live-personality textarea {
    width: 100%;
    padding: 13px;
    border-radius: 12px;
    color: white;
    background: #210d32;
    border: 1px solid #a64de0;
    outline: none;
}

.live-transcript {
    min-height: 80px;
    max-height: 200px;
    overflow-y: auto;
    margin: 18px 0;
    padding: 12px;
    text-align: left;
    background: rgba(25,8,39,.75);
    border: 1px solid rgba(180,100,230,.3);
    border-radius: 17px;
}

.live-transcript p {
    padding: 12px;
    border-radius: 12px;
    background: rgba(150,55,210,.18);
    color: #f4e6ff;
    margin: 8px 0;
}

.live-transcript .empty-message {
    text-align: center;
    color: #c6a0dc;
    background: transparent;
}

.live-controls button {
    display: block;
    width: 100%;
    max-width: 330px;
    margin: 12px auto;
    padding: 16px;
    border: 0;
    border-radius: 40px;
    color: white;
    font-size: 16px;
    font-weight: 800;
}

#liveStartBtn {
    background: linear-gradient(110deg,#6500a8,#a020f0,#d58aff);
    box-shadow: 0 0 25px rgba(160,32,240,.55);
}

#liveEndBtn {
    background: linear-gradient(110deg,#370047,#79009c);
    border: 1px solid #b65be5;
}

#liveStartBtn:disabled, #liveEndBtn:disabled {
    opacity: .4;
}

@keyframes orbFloat {
    0%,100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-9px) scale(1.035); }
}

@keyframes ringPulse {
    0%,100% { transform: scale(.95); opacity:.5; }
    50% { transform: scale(1.12); opacity:1; }
}

@keyframes ringRotate {
    to { transform: rotate(360deg); }
}

@keyframes waveMove {
    to { height: 25px; }
}


/* V-MAX Live Voice state animations */
#liveVoice.is-listening .live-orb {
    animation: listeningPulse 1.5s infinite ease-in-out;
}

#liveVoice.is-thinking .live-orb-ring {
    animation-duration: 2s;
}

#liveVoice.is-speaking .live-orb {
    animation: speakingPulse .65s infinite alternate ease-in-out;
}

#liveVoice.is-speaking .live-wave i {
    animation: waveMove .35s infinite alternate;
}

#liveVoice.is-idle .live-orb {
    animation: orbFloat 4s infinite ease-in-out;
}

@keyframes listeningPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.07); }
}

@keyframes speakingPulse {
    from { transform: scale(1); }
    to { transform: scale(1.13); }
}


/* ===== V-MAX LUXURY HOME DASHBOARD ===== */
:root {
    --vm-blue: #168cff;
    --vm-cyan: #62d9ff;
    --vm-bg: #070b12;
    --vm-card: #101a29;
    --vm-border: #203b56;
}

body {
    background:
      radial-gradient(ellipse at 85% 0%, #12345a55, transparent 38%),
      linear-gradient(160deg, #070b12, #0a101c 60%, #060910);
    color: #edf5ff;
}

header {
    background: #080e19eF;
    border-bottom: 1px solid #263c54;
    backdrop-filter: blur(18px);
}

.vmax-logo {
    color: #f1f7ff;
    text-shadow: 0 0 15px #168cff65;
}

.vmax-logo span {
    color: var(--vm-blue);
}

.icon {
    color: var(--vm-cyan);
    border: 1px solid #284967;
    border-radius: 14px;
    background: #102238;
}

#home > h2 {
    font-size: 27px;
    letter-spacing: -.7px;
    margin-top: 12px;
}

.subtitle {
    color: #9aafc7;
    line-height: 1.6;
}

/* Hero banner */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 225px;
    padding: 27px 23px;
    margin: 25px 0 30px;
    border: 1px solid #3978aa;
    border-radius: 24px;
    background:
      radial-gradient(circle at 90% 20%, #168cff66, transparent 35%),
      linear-gradient(125deg, #102b49, #091421 65%, #102b49);
    box-shadow: 0 15px 45px #0008, inset 0 1px #ffffff20;
}

.hero:after {
    content: "V";
    position: absolute;
    right: 12px;
    bottom: -48px;
    font-size: 190px;
    font-weight: 1000;
    font-style: italic;
    color: #55baff0c;
    pointer-events: none;
}

.hero h2 {
    position: relative;
    z-index: 1;
    font-size: 29px;
    line-height: 1.2;
    background: linear-gradient(90deg, #fff, #80d7ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    position: relative;
    z-index: 1;
    color: #b8cce0;
    line-height: 1.6;
}

.hero button, button:not(.icon) {
    background: linear-gradient(110deg, #8ce5ff, #168cff 65%, #0864c7);
    color: #03101d;
    box-shadow: 0 7px 22px #168cff30;
}

/* Section headings */
#home h3 {
    font-size: 18px;
    letter-spacing: .3px;
    color: #e5f3ff;
    margin-top: 28px;
}

/* Cards and feed */
.card, .feature, .post {
    background: linear-gradient(145deg, #142337, #0c1420);
    border: 1px solid #263e58;
    border-radius: 19px;
    box-shadow: 0 8px 25px #0004, inset 0 1px #ffffff08;
}

.card {
    padding: 17px;
}

.card p, .feature p {
    color: #9eb3ca;
    line-height: 1.5;
}

.avatar {
    background: linear-gradient(145deg, #8ce5ff, #0875e5);
    color: #06101d;
    box-shadow: 0 0 20px #168cff35;
}

.post-image {
    background:
      radial-gradient(circle at 50% 40%, #287ecb, transparent 40%),
      linear-gradient(135deg, #132d4a, #07101d);
    border: 1px solid #315a7e;
    color: #d9f3ff;
    text-shadow: 0 0 20px #168cff;
}

.post button {
    background: #152d46;
    color: #8bdcff;
    border: 1px solid #315779;
    box-shadow: none;
}

/* Bottom navigation */
nav {
    background: #080f1bed;
    border-top: 1px solid #28425c;
    backdrop-filter: blur(20px);
    padding: 11px 3px calc(11px + env(safe-area-inset-bottom));
}

nav button {
    color: #91a9c1;
    transition: .2s;
}

nav button:active {
    color: var(--vm-cyan);
    transform: scale(.94);
}

nav small {
    color: inherit;
}

/* Smooth entrance */
#home.active > * {
    animation: vmHomeEnter .5s ease both;
}

#home.active > *:nth-child(2) { animation-delay: .06s; }
#home.active > *:nth-child(3) { animation-delay: .12s; }
#home.active > *:nth-child(4) { animation-delay: .18s; }

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

@media (max-width: 380px) {
    main { padding: 15px; }
    .hero h2 { font-size: 25px; }
}

/* V-MAX Instagram-inspired hero upgrade */
body {
    background:
      radial-gradient(ellipse at 10% 15%, #163d69aa, transparent 38%),
      radial-gradient(ellipse at 95% 45%, #54205a55, transparent 35%),
      radial-gradient(ellipse at 50% 100%, #092f50aa, transparent 45%),
      linear-gradient(145deg, #050810, #0a1424 55%, #050811);
    background-attachment: fixed;
}

#home .hero {
    background:
      radial-gradient(circle at 90% 10%, #258fff66, transparent 38%),
      radial-gradient(circle at 10% 100%, #7138a044, transparent 45%),
      linear-gradient(135deg, #102c49, #091321 60%, #14223b);
    border: 1px solid #4286bd;
    box-shadow: 0 15px 45px #0009, 0 0 28px #168cff20;
}

#home .hero button {
    position: relative;
    overflow: hidden;
    border: 1px solid #ffffff55;
    border-radius: 16px;
    padding: 15px 23px;
    color: white;
    font-weight: 800;
    background: linear-gradient(
      110deg,
      #833ab4 0%,
      #c13584 35%,
      #e1306c 58%,
      #fd5949 78%,
      #f77737 100%
    );
    box-shadow: 0 8px 25px #e1306c55;
    transition: transform .2s, box-shadow .2s;
}

#home .hero button:active {
    transform: scale(.96);
    box-shadow: 0 4px 15px #e1306c66;
}

#home .hero button::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 25%, #ffffff55 50%, transparent 75%);
    transform: translateX(-120%);
    animation: vmaxShine 3.5s infinite;
}

@keyframes vmaxShine {
    55%, 100% { transform: translateX(120%); }
}


/* V-MAX Transparent Glass Bottom Navigation */
nav {
    background: rgba(5, 12, 22, 0.68) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(160, 205, 255, 0.16);
    box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.25);
}

nav button {
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 16px;
    color: #a9bbce !important;
    box-shadow: none !important;
    padding: 9px 12px;
    transition: 0.25s ease;
}

nav button:active {
    background: rgba(75, 175, 255, 0.12) !important;
    transform: scale(0.94);
}

nav button.active {
    color: #78d9ff !important;
    background: rgba(100, 190, 255, 0.09) !important;
    border-color: rgba(100, 190, 255, 0.18) !important;
    box-shadow: 0 0 18px rgba(40, 150, 255, 0.10) !important;
}

nav button small {
    color: inherit !important;
}



/* V-MAX Discover People */
.discover-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}
.discover-heading h3 { margin-bottom:4px; }
.discover-heading .subtitle { margin-top:0; font-size:12px; }
.discover-tag {
    color:#7edcff;
    font-size:10px;
    letter-spacing:1.5px;
    border:1px solid #315779;
    border-radius:20px;
    padding:7px 10px;
}
.people-scroll {
    display:flex;
    gap:14px;
    overflow-x:auto;
    padding:12px 2px 18px;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
}
.people-scroll::-webkit-scrollbar { display:none; }
.person-card {
    position:relative;
    flex:0 0 155px;
    overflow:hidden;
    text-align:center;
    padding:0 12px 14px;
    border:1px solid #29445e;
    border-radius:20px;
    background:linear-gradient(155deg,#14263a,#0a111d);
    scroll-snap-align:start;
    box-shadow:0 9px 25px #0005;
}
.person-cover { height:65px; margin:0 -12px; }
.cover-one { background:linear-gradient(120deg,#075985,#168cff,#10223d); }
.cover-two { background:linear-gradient(120deg,#713b75,#d45b91,#252044); }
.cover-three { background:linear-gradient(120deg,#17665f,#36a99a,#102b40); }
.person-avatar {
    width:58px;
    height:58px;
    display:grid;
    place-items:center;
    margin:-30px auto 8px;
    position:relative;
    border:3px solid #101b29;
    border-radius:50%;
    color:white;
    font-size:23px;
    font-weight:800;
}
.avatar-one { background:linear-gradient(135deg,#168cff,#62d9ff); }
.avatar-two { background:linear-gradient(135deg,#b34d9b,#f18a9c); }
.avatar-three { background:linear-gradient(135deg,#138c7b,#6bd8b1); }
.person-card b,.person-card small { display:block; }
.person-card b { color:#f2f8ff; font-size:14px; }
.person-card small { color:#8faac3; margin-top:3px; }
.person-card p { color:#9eb3ca; font-size:11px; margin:9px 0 12px; }
.person-card .follow-btn {
    width:100%;
    padding:9px 5px;
    border:0;
    border-radius:12px;
    color:white;
    font-weight:700;
    background:linear-gradient(110deg,#833ab4,#e1306c,#f77737);
}
.person-card .follow-btn.following {
    color:#b9d7ed;
    background:#172b3e;
    border:1px solid #35536e;
}
