:root {
    --bg-dark: #050505;
    --bg-light: #161616;
    --accent: #ffffff;
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --glass-bg: rgba(20, 20, 20, 0.3);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.25);
    --glass-blur: blur(24px);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

/* Cinematic film grain overlay */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

/* Smoke Background */
.smoke-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -2;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.smoke-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: drift 20s infinite alternate ease-in-out;
}

.blob-1 {
    width: 70vw; height: 70vw;
    background: radial-gradient(circle, rgba(30,30,35,0.8), transparent 60%);
    top: -10%; left: -20%;
    animation-duration: 25s;
}

.blob-2 {
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(40,40,40,0.6), transparent 60%);
    bottom: -10%; right: -20%;
    animation-duration: 32s;
    animation-delay: -5s;
}

.blob-3 {
    width: 80vw; height: 80vw;
    background: radial-gradient(circle, rgba(20,20,20,0.9), transparent 60%);
    top: 20%; left: 30%;
    animation-duration: 40s;
    animation-delay: -15s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(6%, 8%) scale(1.15); }
    66% { transform: translate(-6%, 4%) scale(0.9); }
    100% { transform: translate(8%, -6%) scale(1.05); }
}

/* Typography */
h1, h2, h3 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Announcement Note */
.announcement-bar {
    width: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.8), rgba(20,20,20,0.8), rgba(0,0,0,0.8));
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    padding: 14px 20px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 1px;
    position: sticky;
    top: 0;
    z-index: 100;
    color: #e0e0e0;
    font-style: italic;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Main Container */
.container {
    width: 100%;
    max-width: 640px;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 1;
}

/* Profile Section */
.profile-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    animation: fadeInDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    padding: 4px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 40px rgba(255,255,255,0.05), inset 0 0 20px rgba(0,0,0,1);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(255,255,255,0.1), inset 0 0 20px rgba(0,0,0,1);
}

.profile-name {
    font-size: 2rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.verified-badge {
    width: 22px;
    height: 22px;
    fill: #fff;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.3));
}

.profile-bio {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 85%;
    line-height: 1.6;
    font-weight: 300;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(40,40,40,0.4), rgba(10,10,10,0.4));
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: all 0.5s;
}

.social-btn:hover {
    transform: translateY(-4px) scale(1.05);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 10px 25px rgba(0,0,0,0.6), 0 0 15px rgba(255,255,255,0.1);
}

.social-btn:hover::before {
    left: 100%;
}

/* Affiliate Links */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.link-card {
    background: linear-gradient(145deg, rgba(35,35,35,0.4) 0%, rgba(10,10,10,0.6) 100%);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 22px 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Stagger link animations */
.link-card:nth-child(1) { animation-delay: 0.1s; }
.link-card:nth-child(2) { animation-delay: 0.2s; }
.link-card:nth-child(3) { animation-delay: 0.3s; }
.link-card:nth-child(4) { animation-delay: 0.4s; }
.link-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.link-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%, rgba(255,255,255,0.02) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.link-card:hover {
    transform: translateY(-6px) scale(1.02);
    background: linear-gradient(145deg, rgba(45,45,45,0.5) 0%, rgba(15,15,15,0.7) 100%);
    border-color: var(--glass-border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255,255,255,0.03);
}

.link-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.link-brand {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.link-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #bbb;
}

.link-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

.link-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 300;
}

.link-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.discount-code {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 6px 14px;
    border-radius: 8px;
    font-family: monospace;
    letter-spacing: 1px;
    cursor: copy;
    transition: all 0.2s;
}

.discount-code:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.3);
}

.discount-code:active {
    background: rgba(255,255,255,0.2);
    transform: scale(0.96);
}

.cta-btn {
    font-size: 0.95rem;
    font-weight: 600;
    color: #e0e0e0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.link-card:hover .cta-btn {
    color: #fff;
    transform: translateX(4px);
    text-shadow: 0 0 12px rgba(255,255,255,0.4);
}

/* Footer */
footer {
    margin-top: auto;
    padding: 40px 20px;
    font-size: 0.85rem;
    color: #555;
    text-align: center;
    width: 100%;
    letter-spacing: 1px;
}

/* Featured Card Spotlight */
.featured-card {
    border: 1px solid rgba(250, 204, 21, 0.5); /* Yellow/Gold border */
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.1), 0 8px 32px rgba(0, 0, 0, 0.4);
    animation-name: fadeInUp, featuredPulse;
    animation-duration: 0.8s, 3s;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1), ease-in-out;
    animation-iteration-count: 1, infinite;
    animation-direction: normal, alternate;
    animation-fill-mode: forwards, none;
}

.featured-card:hover {
    border-color: rgba(250, 204, 21, 0.8) !important;
    box-shadow: 0 0 40px rgba(250, 204, 21, 0.4), 0 15px 40px rgba(0, 0, 0, 0.6) !important;
}

.featured-card::before {
    content: 'FEATURED';
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(90deg, #facc15, #eab308);
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(250, 204, 21, 0.3);
    z-index: 10;
}

@keyframes featuredPulse {
    0% { box-shadow: 0 0 15px rgba(250, 204, 21, 0.1), 0 8px 32px rgba(0, 0, 0, 0.4); }
    100% { box-shadow: 0 0 35px rgba(250, 204, 21, 0.25), 0 8px 32px rgba(0, 0, 0, 0.4); }
}
