:root {
    --bg-deep: #121212;
    --surface-card: #1E1E1E;
    --gold-trend: #E3B04B;
    --text-main: #FFFFFF;
    --text-desc: rgba(255, 255, 255, 0.6);
    --glass-bg: rgba(30, 30, 30, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --fb-color: #1877F2;
    --ig-color: #E4405F;
    --gbp-color: #4285F4;
    --yt-color: #FF0000;
    --wa-color: #25D366;
}

body {
    background-color: var(--bg-deep);
    background-image: 
        radial-gradient(at 0% 0%, hsla(39, 74%, 59%, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, hsla(210, 91%, 68%, 0.05) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding-bottom: 120px;
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- Animated Mesh Gradient --- */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(227, 176, 75, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(100, 181, 246, 0.05) 0%, transparent 40%);
    z-index: -1;
    animation: mesh-float 20s infinite alternate ease-in-out;
}

@keyframes mesh-float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(2%, 2%); }
}

.social-container {
    max-width: 700px;
    margin: 100px auto 4rem;
    padding: 0 1.5rem;
}

.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
}

/* --- Dynamic Island Header --- */
.dynamic-header {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 500px;
    height: 56px;
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.header-icon-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-desc);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
}

.header-brand-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    height: 100%;
}

.header-brand-mini h3 {
    font-size: 0.95rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}

.header-brand-mini img {
    display: block;
    object-fit: contain;
}

.header-icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* --- Bottom Navigation --- */
.bottom-nav {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    max-width: 450px;
    height: 65px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--text-desc);
    font-size: 0.7rem;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-item.active { color: var(--gold-trend); }

/* --- Platform Selector --- */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
    margin-bottom: 2rem;
}

@media (max-width: 480px) { .platform-grid { grid-template-columns: repeat(3, 1fr); } }

.platform-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 16px 8px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.75rem;
    font-weight: 600;
}

.platform-pill i { font-size: 1.5rem; opacity: 0.5; transition: all 0.3s; }

.platform-pill.active {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.platform-pill.active i { opacity: 1; transform: scale(1.1); }

.platform-pill[data-platform="facebook"].active { border-color: var(--fb-color); color: var(--fb-color); box-shadow: 0 0 15px rgba(24, 119, 242, 0.2); }
.platform-pill[data-platform="instagram"].active { border-color: var(--ig-color); color: var(--ig-color); box-shadow: 0 0 15px rgba(228, 64, 95, 0.2); }
.platform-pill[data-platform="gbp"].active { border-color: var(--gbp-color); color: var(--gbp-color); box-shadow: 0 0 15px rgba(66, 133, 244, 0.2); }
.platform-pill[data-platform="youtube"].active { border-color: var(--yt-color); color: var(--yt-color); box-shadow: 0 0 15px rgba(255, 0, 0, 0.2); }
.platform-pill[data-platform="whatsapp"].active { border-color: var(--wa-color); color: var(--wa-color); box-shadow: 0 0 15px rgba(37, 211, 102, 0.2); }

/* --- Form Elements --- */
.form-group { margin-bottom: 1.5rem; }
label { display: block; margin-bottom: 0.8rem; font-size: 0.85rem; color: var(--text-desc); font-weight: 500; }
input, textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    transition: all 0.2s;
}
input:focus, textarea:focus {
    outline: none;
    border-color: var(--gold-trend);
    background: rgba(255, 255, 255, 0.08);
}

/* --- Buttons --- */
.btn-send-social {
    width: 100%;
    padding: 14px;
    background: var(--gold-trend);
    color: #000;
    border: none;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(227, 176, 75, 0.3);
    transition: all 0.2s;
}
.btn-send-social:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(227, 176, 75, 0.5); }

.upload-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed var(--glass-border);
    color: var(--text-desc);
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.upload-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--gold-trend); color: #fff; }

.media-preview-container {
    border: 2px dashed var(--glass-border);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 1rem;
}

/* --- Background Decor --- */
.orb {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}

.orb-1 {
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, var(--gold-trend), transparent 70%);
    animation: orb-float 20s infinite alternate;
}

.orb-2 {
    bottom: -100px;
    left: -100px;
    background: radial-gradient(circle, #64B5F6, transparent 70%);
    animation: orb-float 25s infinite alternate-reverse;
}

@keyframes orb-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 30px) scale(1.1); }
}
