/* 
    Unique Wholesale - Warp Edition (UI 05)
    Core Design System - Gnan Tech Premium 
*/

:root {
    --bg: #fdfbff;
    --text: #1a1a1a;
    --subtext: #666;
    --white: rgba(255, 255, 255, 0.95);
    --aurora-1: #e0c3fc;
    --aurora-2: #8ec5fc;
    --aurora-3: #fbc2eb;
    --cursor-size: 300px;
}

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

@media (min-width: 1024px) and (pointer: fine) {
    body, a, button, .link-item, .social-link {
        cursor: none !important;
    }
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center; 
    overflow-x: hidden;
    position: relative;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    padding: 20px;
}

/* Aurora Background */
.aurora-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; filter: blur(100px); opacity: 0.6; pointer-events: none;
}

.blob {
    position: absolute; border-radius: 50%; filter: blur(80px);
    animation: move 20s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

.blob-1 { width: 600px; height: 600px; background: var(--aurora-1); top: -10%; left: -10%; }
.blob-2 { width: 700px; height: 700px; background: var(--aurora-2); bottom: -20%; right: -10%; animation-delay: -5s; }
.blob-3 { width: 500px; height: 500px; background: var(--aurora-3); top: 30%; right: 20%; animation-delay: -10s; }

@keyframes move {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(100px, 50px) rotate(90deg); }
}

/* Custom Cursor Elements */
.cursor-glow, .cursor-dot, .cursor-cart { 
    display: none !important; 
    position: fixed; 
    pointer-events: none; 
}

@media (min-width: 1024px) and (pointer: fine) {
    .cursor-glow, .cursor-dot, .cursor-cart { display: block !important; }
}

.cursor-glow {
    width: var(--cursor-size); height: var(--cursor-size);
    background: radial-gradient(circle, rgba(224, 195, 252, 0.25) 0%, transparent 70%);
    border-radius: 50%; z-index: 29998; transform: translate(-50%, -50%);
}

.cursor-dot {
    width: 6px; height: 6px; background-color: var(--text);
    border-radius: 50%; z-index: 30000; transform: translate(-50%, -50%);
    top: 0; left: 0;
}

.cursor-cart {
    width: 28px; height: 28px; color: var(--text);
    z-index: 29999; transform: translate(-50%, -50%);
    top: 0; left: 0;
}

.warp-line {
    position: fixed; height: 2px;
    background: linear-gradient(90deg, transparent, var(--aurora-2), #fff);
    pointer-events: none; z-index: 9990; border-radius: 2px;
    animation: warp-fade 0.4s ease-out forwards; transform-origin: left center;
    display: none;
}

@media (min-width: 1024px) and (pointer: fine) { .warp-line { display: block; } }

@keyframes warp-fade {
    0% { transform: scaleX(0); opacity: 1; }
    100% { transform: scaleX(1); opacity: 0; }
}

.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.03; pointer-events: none; z-index: 100;
}

/* --- Main Card Styles --- */
.main-card {
    width: 100%;
    max-width: 480px;
    max-height: 85vh;
    text-align: center;
    padding: 30px 35px 80px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
    z-index: 20;
    opacity: 0;
    transform: translateY(30px);
    animation: revealCard 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    overflow-y: auto;
    scrollbar-width: none;
    display: flex;
    flex-direction: column;
}

.main-card::-webkit-scrollbar { display: none; }

@keyframes revealCard { to { opacity: 1; transform: translateY(0); } }

/* Profile Section */
.profile-container {
    position: relative; width: 110px; height: 110px;
    margin: 0 auto 20px; perspective: 1000px;
}

.profile-img {
    width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
    border: 4px solid #fff; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: #fff; transition: transform 0.5s ease;
}

.profile-glow {
    position: absolute; top: -10px; left: -10px; right: -10px; bottom: -10px;
    background: linear-gradient(135deg, var(--aurora-1), var(--aurora-2));
    border-radius: 50%; z-index: -1; filter: blur(15px); opacity: 0.4;
}

@import url('https://fonts.googleapis.com/css2?family=Science+Gothic:wght@400;700;800&family=Inter:wght@400;600;700&display=swap');

h1 {
    font-family: 'Science Gothic', sans-serif;
    font-size: 2rem; font-weight: 800; margin-bottom: 5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #1a1a1a 20%, #430089 40%, #8e2de2 50%, #430089 60%, #1a1a1a 80%);
    background-size: 200% auto; -webkit-background-clip: text;
    background-clip: text; -webkit-text-fill-color: transparent;
    animation: shimmer 5s linear infinite;
}

@keyframes shimmer { to { background-position: 200% center; } }

.subtitle {
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 3px; color: var(--subtext); margin-bottom: 30px; opacity: 0.8;
}

.section-title {
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--subtext); margin: 25px 0 12px;
    text-align: left; padding-left: 10px; border-left: 3px solid var(--aurora-2);
}

/* Links Grid */
.links-stack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.link-item.full-width { grid-column: span 2; }

.link-item {
    position: relative; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 8px;
    padding: 15px 10px; background: var(--white); border-radius: 20px;
    text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.8rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.link-item i { width: 18px; height: 18px; }
.link-item:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08); }

/* Brand Colors */
.i-whatsapp { color: #25D366; }
.i-telegram { color: #0088cc; }
.i-instagram { color: #E4405F; }
.i-catalog { color: #4285F4; }
.i-maps { color: #EA4335; }
.i-call { color: #1a1a1a; }
.i-booking { color: #FF9800; }
.i-support { color: #9C27B0; }
.i-phone-blue { color: #007AFF; }

.icon-svg {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.icon-white {
    filter: brightness(0) invert(1);
}

/* Credit Footer */
.credit {
    position: fixed; bottom: 20px; left: 0; width: 100%;
    text-align: center; font-size: 0.7rem; color: var(--subtext);
    z-index: 10; font-weight: 600;
}

/* --- Contact Modal Styles (Centered Premium) --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px); display: none;
    justify-content: center; align-items: center; z-index: 20000;
    opacity: 0; transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active { display: flex; opacity: 1; }

.modal-content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    padding: 50px 30px 40px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.2);
    transform: scale(0.8) translateY(30px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.modal-overlay.active .modal-content { transform: scale(1) translateY(0); }

.modal-icon-top {
    position: absolute; top: -35px; left: 50%; transform: translateX(-50%);
    width: 70px; height: 70px; background: #fff; border-radius: 25px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    color: var(--aurora-2); border: 4px solid rgba(255, 255, 255, 0.8);
}

.modal-header h3 {
    font-family: 'Science Gothic', sans-serif;
    font-size: 1.8rem; margin-bottom: 10px; color: #1a1a1a; letter-spacing: -0.5px;
}

.modal-header p {
    font-size: 0.95rem; color: #666; font-weight: 500; margin-bottom: 10px; opacity: 0.8;
}

.modal-actions { display: flex; flex-direction: column; gap: 15px; margin-top: 35px; }

.modal-btn {
    display: flex; align-items: center; justify-content: center; gap: 15px;
    padding: 20px; border-radius: 25px; text-decoration: none;
    font-weight: 800; font-size: 1.05rem; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative; overflow: hidden;
}

.modal-btn i, .modal-btn img { width: 24px; height: 24px; z-index: 2; }
.modal-btn span { z-index: 2; }

.modal-btn.call {
    background: #1a1a1a; color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-btn.whatsapp {
    background: #25D366; color: white;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.modal-btn:hover {
    transform: translateY(-5px) scale(1.02);
    filter: brightness(1.1);
}

.modal-btn:active { transform: scale(0.96); }

.modal-close-round {
    width: 55px; height: 55px; border-radius: 50%; margin: 35px auto 0;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex; align-items: center; justify-content: center;
    color: #1a1a1a; cursor: pointer; transition: all 0.3s ease;
}

.modal-close-round:hover {
    background: #1a1a1a; color: #fff;
    transform: rotate(180deg);
}

/* Desktop Split Dashboard Layout */
@media (min-width: 1024px) {
    .main-card {
        max-width: 1100px;
        flex-direction: row;
        text-align: left;
        padding: 0;
        height: 650px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.4);
        box-shadow: 0 100px 200px rgba(0, 0, 0, 0.15);
    }

    .card-left {
        width: 40%;
        padding: 60px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        text-align: center;
    }

    .card-right {
        width: 60%;
        padding: 60px 80px 100px;
        overflow-y: auto;
        scrollbar-width: none;
    }

    .card-right::-webkit-scrollbar { display: none; }
    .profile-container { width: 180px; height: 180px; margin: 0 0 30px; }
    h1 { font-size: 2.2rem; }
    .section-title { margin-top: 0; }
    .section-title:not(:first-child) { margin-top: 40px; }
    .aurora-bg { opacity: 0.8; filter: blur(120px); }
    .blob-1 { width: 800px; height: 800px; top: -200px; left: 10%; }
    .blob-2 { width: 900px; height: 900px; bottom: -300px; right: 10%; }
}

@media (max-width: 1023px) {
    body {
        align-items: flex-start;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .main-card { 
        max-height: none; 
        overflow-y: visible;
    }
}

@media (max-width: 480px) {
    .main-card { padding: 15px 20px 10px; }
    .profile-container { margin-bottom: 10px; width: 90px; height: 90px; }
    .subtitle { margin-bottom: 15px; }
    .section-title { margin-top: 15px; margin-bottom: 8px; }
}

/* Final Signature Styles */
.final-signature {
    margin-top: 60px;
    padding-bottom: 20px;
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.final-signature:hover { opacity: 1; }

.final-signature p {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--subtext);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.final-signature span {
    color: var(--text);
    font-weight: 800;
}

.i-heart {
    width: 16px;
    height: 16px;
    color: #ff4d4d;
    fill: #ff4d4d;
    animation: heartPulse 1.5s ease-in-out infinite;
}

@keyframes heartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.particle {
    position: fixed; pointer-events: none; z-index: 1000;
    font-size: 20px; animation: explode 1s ease-out forwards;
}

@keyframes explode {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(0) rotate(360deg); opacity: 0; }
}
