:root {
    --bg: #ffcc00;
    --card: #fff;
    --text: #111;
    --subtext: #444;
    --btn-bg: linear-gradient(to right, #ff6a00, #ffcc00);
    --btn-text: #000;
}

/* reset & body */
* { box-sizing: border-box; margin:0; padding:0; }
body {
    font-family:'Poppins',sans-serif;
    background:var(--bg);
    color:var(--text);
    display:flex; justify-content:center; align-items:flex-start;
    min-height:100vh;
    scroll-behavior:smooth;
}
/* dark overrides */
body.dark { background:#111; }
body.dark .linktree { background:#1e1e1e; }
body.dark h1      { color:#eee; }
body.dark p       { color:#bbb; }
body.dark a.link  { color:#fff; }

.linktree {
    position:relative;
    margin:60px 0;
    width:90%; max-width:420px;
    background:var(--card);
    padding:30px;
    border-radius:16px;
    box-shadow:0 4px 20px rgba(0,0,0,0.2);
    text-align:center;
    transition:background .3s;
}

/* funnel section */
.funnel {
    margin-bottom:30px;
}
.funnel h2 {
    font-size:20px;
    margin-bottom:8px;
}
.funnel p {
    font-size:14px;
    color:var(--subtext);
    margin-bottom:16px;
}
.btn-schedule {
    display:inline-block;
    padding:12px 20px;
    background:var(--btn-bg);
    color:var(--btn-text);
    font-weight:600;
    border-radius:8px;
    text-decoration:none;
    transition:transform .2s, box-shadow .2s;
}
.btn-schedule:hover {
    transform:scale(1.05);
    box-shadow:0 10px 18px rgba(0,0,0,0.2);
}

/* separator line */
.separator {
    border:none;
    height:1px;
    background:#ddd;
    margin:30px 0;
}

/* theme toggle */
#theme-toggle {
    position:absolute;
    top:12px; right:12px;
    background:none; border:none;
    font-size:18px; cursor:pointer;
}

/* avatar/title/text */
.avatar {
    width:120px; height:120px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:15px;
    border:4px solid #000;
}
h1 { font-size:26px; margin-bottom:8px; }
p  { font-size:14px; color:var(--subtext); margin-bottom:25px; }

/* social links */
a.link {
    display:flex; align-items:center;
    justify-content:center; gap:10px;
    text-decoration:none;
    background:var(--btn-bg);
    color:var(--btn-text);
    padding:12px 18px;
    margin:10px 0;
    border-radius:8px;
    font-weight:600;
    font-size:16px;
    transition:transform .2s, box-shadow .2s;
}
a.link:hover {
    transform:scale(1.05);
    box-shadow:0 10px 18px rgba(0,0,0,0.2);
}
a.link:focus {
    outline:3px solid #ff6a00;
    outline-offset:2px;
}
.icon { width:20px; height:20px; }

/* latest Instagram embed */
.latest-post {
    margin-top:30px;
}
.latest-post h2 {
    font-size:18px;
    margin-bottom:12px;
    color:var(--text);
}

/* responsive tweaks */
@media(max-width:480px){
    .linktree { padding:24px; }
    h1        { font-size:22px; }
    a.link    { font-size:15px; padding:10px 16px; }
}
/* Funnel page tweaks */
.funnel-page {
    margin: 40px 0;
    padding: 30px;
}
.funnel-page h1 {
    font-size: 24px;
    margin-bottom: 8px;
}
.funnel-page p {
    font-size: 14px;
    color: var(--subtext);
    margin-bottom: 20px;
}
.btn-back {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
}
.btn-back:hover {
    text-decoration: underline;
}
