/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (UNIFIED BRANDING)
   ========================================================================== */
:root {
    /* Color Palette */
    --color-bg-dark: #121212;
    --color-bg-card: rgba(24, 24, 24, 0.75);
    --color-border-card: rgba(223, 175, 103, 0.15);
    --color-text-primary: #f5f5f0;
    --color-text-secondary: #d1d1ca;
    
    /* Accents & Glows */
    --accent-gold: #dfaf67;
    --accent-gold-hover: #ebd0a3;
    --accent-gold-glow: rgba(223, 175, 103, 0.2);
    
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #dfaf67, #b8863b);
    --gradient-text: linear-gradient(135deg, #ffffff, #f5f5f0, #dfaf67);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-title: 'Cinzel', Georgia, serif;
    
    /* Transitions & Shadows */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-main: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-glow-gold: 0 0 25px var(--accent-gold-glow);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-dark);
    /* Subtle horizontal manuscript lines */
    background-image: linear-gradient(rgba(223, 175, 103, 0.015) 1px, transparent 1px);
    background-size: 100% 28px;
    color: var(--color-text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    position: relative;
}

/* ==========================================================================
   BACKGROUND GLOWS
   ========================================================================== */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.35;
    pointer-events: none;
}

.bg-glow-1 {
    width: 350px;
    height: 350px;
    top: -100px;
    left: -150px;
    background-color: var(--accent-gold);
    opacity: 0.07;
}

.bg-glow-2 {
    width: 400px;
    height: 400px;
    top: 40%;
    right: -200px;
    background-color: var(--accent-gold);
    opacity: 0.05;
}

.bg-glow-3 {
    width: 350px;
    height: 350px;
    bottom: -100px;
    left: -100px;
    background-color: var(--accent-gold);
    opacity: 0.06;
}

/* ==========================================================================
   CONTAINER
   ========================================================================== */
.container {
    max-width: 580px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.8rem;
    min-height: 100vh;
}

/* ==========================================================================
   HEADER SECTION
   ========================================================================== */
.header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    animation: fadeInDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.logo-container {
    position: relative;
    padding: 3px;
    background: linear-gradient(135deg, var(--accent-gold), rgba(255, 255, 255, 0.2));
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(223, 175, 103, 0.15);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}

.logo-container:hover {
    transform: scale(1.04) rotate(1deg);
    box-shadow: 0 12px 30px rgba(223, 175, 103, 0.25);
}

.brand-logo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #161821;
}

.brand-name {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-top: -0.4rem;
}

.brand-description {
    font-size: 0.98rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-weight: 300;
    max-width: 420px;
    margin: 0.2rem auto 0;
}

/* ==========================================================================
   LINKS SECTION
   ========================================================================== */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    width: 100%;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    width: 100%;
}

.group-title {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.group-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background-color: rgba(223, 175, 103, 0.3);
}

.group-links {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

/* Base Link Button styling */
.link-button {
    width: 100%;
    padding: 1.15rem 1.4rem;
    background: var(--color-bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-border-card);
    border-radius: 16px;
    color: var(--color-text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.96rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    box-shadow: var(--shadow-main);
}

.btn-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.btn-text {
    flex-grow: 1;
    line-height: 1.4;
    text-align: left;
}

.arrow-icon {
    width: 18px;
    height: 18px;
    color: var(--color-text-secondary);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

/* Hover effects */
.link-button:hover {
    transform: translateY(-3px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-glow-gold), var(--shadow-main);
    color: #ffffff;
}

.link-button:hover .arrow-icon {
    transform: translateX(4px);
    color: var(--accent-gold);
}

/* Featured link styling */
.link-button.featured-btn {
    border-color: rgba(223, 175, 103, 0.4);
    background: linear-gradient(135deg, rgba(223, 175, 103, 0.08), rgba(24, 24, 24, 0.85));
    box-shadow: 0 4px 20px rgba(223, 175, 103, 0.05), var(--shadow-main);
}

.link-button.featured-btn:hover {
    background: linear-gradient(135deg, rgba(223, 175, 103, 0.12), rgba(24, 24, 24, 0.9));
    border-color: var(--accent-gold);
}

/* ==========================================================================
   TIKTOK WARNING STICKY BANNER
   ========================================================================== */
.tiktok-banner {
    display: none; /* Hidden by default; toggled via JS */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--accent-gold);
    color: #121212;
    text-align: center;
    padding: 0.8rem 1.2rem;
    font-size: 0.88rem;
    font-weight: 700;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    line-height: 1.4;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.has-tiktok-banner {
    padding-top: 55px;
}

@media (max-width: 480px) {
    .tiktok-banner {
        font-size: 0.82rem;
        padding: 0.7rem 1rem;
    }
    
    body.has-tiktok-banner {
        padding-top: 68px;
    }
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
    width: 100%;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
    opacity: 0;
}

.social-links {
    display: flex;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--gradient-gold);
    color: #121212;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-gold);
}

.tiktok-svg {
    width: 16px;
    height: 16px;
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 480px) {
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 2.5rem 1rem 3rem 1rem;
        gap: 2.2rem;
    }
    
    .brand-name {
        font-size: 1.9rem;
    }
    
    .link-button {
        padding: 1.05rem 1.2rem;
    }
}
