:root {
    --bg: #F5F5F5;
    --card-bg: #FFFFFF;
    --border: #E5E5E5;
    --text-primary: #111111;
    --text-secondary: #666666;
    --accent: #DADADA;
    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.08);
    --transition-base: 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

/* ==================== LOADING SCREEN (Depth Effect) ==================== */
#loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    pointer-events: all;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-ring {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: loadingDepth 2s ease-in-out infinite;
}

@keyframes loadingDepth {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        box-shadow: 0 20px 50px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
    }
    50% { 
        transform: scale(1.02) rotate(1deg);
        box-shadow: 0 25px 55px rgba(0,0,0,0.16), 0 0 0 2px rgba(0,0,0,0.06);
    }
}

.loading-logo-container {
    width: 85%;
    height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-logo {
    width: 70%;
    height: auto;
    animation: loadingPulse 1.8s ease-in-out infinite;
}

@keyframes loadingPulse {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.05); opacity: 1; }
}

/* ==================== THREE.JS CANVAS ==================== */
#three-canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    padding: 2rem 1.25rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    opacity: 1; /* fully visible, loading screen overlays */
}

/* ==================== LOGO ==================== */
.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.9);
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-bounce), box-shadow var(--transition-base);
    animation: float 3.5s ease-in-out infinite;
    cursor: default;
}

.logo-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 14px 40px rgba(0,0,0,0.12);
}

.brand-logo {
    width: 65%;
    height: auto;
    display: block;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ==================== BRAND INFO ==================== */
.brand-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.brand-name {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.4rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    line-height: 1.1;
}

.brand-tagline {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text-secondary);
    max-width: 300px;
}

.brand-services {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: #555;
    flex-wrap: wrap;
    justify-content: center;
}

.sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #999;
    opacity: 0.5;
}

.brand-contact {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
}

.brand-contact a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.brand-contact a:hover {
    border-bottom-color: var(--text-primary);
}

/* ==================== SOCIAL GRID ==================== */
.social-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

/* ==================== SOCIAL CARDS ==================== */
.social-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0.85rem 1.1rem;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    opacity: 1;
}

.social-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1.5px solid transparent;
    transition: border-color 0.4s ease;
}

.social-card:hover::after {
    border-color: rgba(0,0,0,0.08);
}

.social-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-bounce);
}

.social-card:hover .social-icon {
    transform: scale(1.08);
}

.social-icon svg {
    width: 22px;
    height: 22px;
}

/* Platform icon colors */
.fb-icon { background: #1877F2; color: #fff; }
.ig-icon { background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737); color: #fff; }
.yt-icon { background: transparent; } /* Background is in SVG itself */
.tt-icon { background: #000; color: #fff; }
.wa-icon { background: #25D366; color: #fff; }

.social-info {
    flex: 1;
    min-width: 0;
}

.social-name {
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    color: var(--text-primary);
}

.social-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.1rem;
}

.social-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    color: #bbb;
    flex-shrink: 0;
}

.social-card:hover .social-arrow {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: #fff;
    transform: translateX(4px);
}

.social-arrow svg {
    width: 14px;
    height: 14px;
}

/* ==================== FOOTER ==================== */
.footer {
    text-align: center;
    margin-top: 0.5rem;
    opacity: 0.7;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.footer-copy {
    font-size: 0.65rem;
    color: #999;
    margin-top: 0.2rem;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 480px) {
    .main-content {
        padding: 1.5rem 1rem 2rem;
        gap: 1.3rem;
    }
    .logo-circle {
        width: 120px;
        height: 120px;
    }
    .social-card {
        padding: 0.75rem 0.9rem;
        gap: 0.8rem;
    }
    .social-icon {
        width: 38px;
        height: 38px;
    }
    .social-icon svg {
        width: 19px;
        height: 19px;
    }
}

@media (max-height: 700px) {
    .main-content {
        gap: 1rem;
        padding: 1rem 1rem 1.5rem;
    }
    .logo-circle {
        width: 100px;
        height: 100px;
    }
    .social-card {
        padding: 0.6rem 0.9rem;
    }
    .social-icon {
        width: 34px;
        height: 34px;
    }
    .social-icon svg {
        width: 17px;
        height: 17px;
    }
}