/* ============================================
   COVET925 — Landing Page Styles
   Gothic-Luxury Sterling Silver Aesthetic
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0c0c14;
    --bg-secondary: #111118;
    --bg-card: rgba(25, 25, 35, 0.6);
    --bg-card-hover: rgba(40, 40, 55, 0.7);
    --bg-card-primary: rgba(64, 224, 208, 0.08);
    --bg-card-primary-hover: rgba(64, 224, 208, 0.14);
    --text-primary: #e8e6e3;
    --text-secondary: #9a9a9a;
    --text-accent: #c0c0c0;
    --silver: #c0c0c0;
    --silver-light: #d4d4d4;
    --turquoise: #5cc8c8;
    --turquoise-glow: rgba(92, 200, 200, 0.3);
    --amber: #d4a55a;
    --amber-glow: rgba(212, 165, 90, 0.3);
    --border-subtle: rgba(192, 192, 192, 0.1);
    --border-hover: rgba(192, 192, 192, 0.25);
    --border-primary: rgba(92, 200, 200, 0.3);
    --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.4);
    --shadow-card-hover: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(192, 192, 192, 0.05);
    --shadow-primary-hover: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(92, 200, 200, 0.1);
    --radius-card: 16px;
    --radius-sm: 12px;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* --- Animated Spider Web Canvas Background --- */
#web-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
}

/* --- Floating Particles --- */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: float-particle linear infinite;
    opacity: 0;
}

@keyframes float-particle {
    0% { 
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { 
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

/* --- Main Container --- */
.container {
    position: relative;
    z-index: 10;
    max-width: 480px;
    margin: 0 auto;
    padding: 50px 24px 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Logo --- */
.logo-wrapper {
    position: relative;
    margin-bottom: 24px;
    animation: fadeInScale 1s ease-out;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, var(--turquoise-glow) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: pulse-glow 4s ease-in-out infinite;
}

.logo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-subtle);
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
    box-shadow: 0 0 40px rgba(92, 200, 200, 0.12);
}

.logo:hover {
    border-color: var(--turquoise);
    box-shadow: 0 0 50px var(--turquoise-glow);
    transform: scale(1.05);
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes fadeInScale {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

/* --- Brand Name --- */
.brand-name {
    font-family: 'Cinzel', serif;
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--silver-light);
    text-align: center;
    margin-bottom: 10px;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-shadow: 0 0 30px rgba(192, 192, 192, 0.15);
}

.brand-name .at-sign {
    color: var(--turquoise);
    font-weight: 400;
}

.brand-name .accent-silver {
    background: linear-gradient(180deg, #e8e8e8 0%, #a8a8a8 40%, #c0c0c0 60%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: brightness(1.2);
}

.tagline-h1 {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 8px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.tagline-h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--turquoise);
    text-align: center;
    letter-spacing: 0.08em;
    margin-bottom: 28px;
    animation: fadeInUp 1s ease-out 0.35s both;
    text-shadow: 0 0 20px rgba(92, 200, 200, 0.3);
}

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

/* --- Social Icons --- */
.social-icons {
    display: flex;
    gap: 18px;
    margin-bottom: 36px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--silver);
    text-decoration: none;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* --- Link Cards --- */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: linear-gradient(180deg, #2a3050 0%, #1a2038 100%);
    border: 2px solid #3a4060;
    border-bottom: 4px solid #12162a;
    border-radius: 14px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.2s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 100%);
    pointer-events: none;
    border-radius: 12px 12px 0 0;
}

.link-card:hover {
    background: linear-gradient(180deg, #323a5a 0%, #222842 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-bottom-width: 4px;
}

.link-card:active {
    transform: translateY(1px);
    border-bottom-width: 2px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Primary card (Whatnot Live) */
.link-card--primary {
    background: linear-gradient(180deg, #145858 0%, #0c3838 100%);
    border-color: #1a7070;
    border-bottom-color: #082828;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(92, 200, 200, 0.1), inset 0 1px 0 rgba(92, 200, 200, 0.15);
    position: relative;
}

.link-card--primary::after {
    display: none;
}

.link-card--primary:hover {
    background: linear-gradient(180deg, #1a6868 0%, #104545 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(92, 200, 200, 0.15), inset 0 1px 0 rgba(92, 200, 200, 0.2);
}

.link-card--primary:active {
    background: linear-gradient(180deg, #104848 0%, #0a3030 100%);
}

/* Palmstreet card (important referral) */
.link-card--palmstreet {
    background: linear-gradient(180deg, #4a3820 0%, #2e2210 100%);
    border-color: #6a5030;
    border-bottom-color: #1a1408;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 165, 90, 0.08), inset 0 1px 0 rgba(212, 165, 90, 0.15);
}

.link-card--palmstreet:hover {
    background: linear-gradient(180deg, #584428 0%, #382a14 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 165, 90, 0.15), inset 0 1px 0 rgba(212, 165, 90, 0.2);
}

.link-card--palmstreet:active {
    background: linear-gradient(180deg, #3a2c16 0%, #22180a 100%);
}

.link-card--palmstreet .link-card__icon {
    background: rgba(212, 165, 90, 0.2);
    color: #f0c060;
}

.link-card--palmstreet:hover .link-card__icon {
    background: rgba(212, 165, 90, 0.3);
}

.link-card--palmstreet .link-card__title {
    color: #f0c060;
}

.link-card--palmstreet:hover .link-card__arrow {
    color: #f0c060;
}

/* Star badge for Palmstreet */
.new-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 10px;
    color: var(--amber);
    animation: star-pulse 2s ease-in-out infinite;
}

@keyframes star-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

/* Card Icon */
.link-card__icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    position: relative;
    transition: var(--transition-smooth);
}

.link-card__icon svg {
    width: 20px;
    height: 20px;
}

.link-card:hover .link-card__icon {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
}

.link-card--primary .link-card__icon {
    background: rgba(92, 200, 200, 0.12);
    color: var(--turquoise);
}

.link-card--primary:hover .link-card__icon {
    background: rgba(92, 200, 200, 0.2);
}

/* Live dot indicator */
.live-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}

/* Card Content */
.link-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.link-card__title {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #ffffff;
}

.link-card__subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.88rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    font-style: italic;
}

.link-card--primary .link-card__title {
    color: #6ee7e7;
}

/* Card Arrow */
.link-card__arrow {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-smooth);
}

.link-card:hover .link-card__arrow {
    color: #ffffff;
}

.link-card--primary:hover .link-card__arrow {
    color: #6ee7e7;
}

/* --- Staggered entrance animations --- */
.link-card:nth-child(1) { animation: fadeInUp 0.7s ease-out 0.6s both; }
.link-card:nth-child(2) { animation: fadeInUp 0.7s ease-out 0.72s both; }
.link-card:nth-child(3) { animation: fadeInUp 0.7s ease-out 0.84s both; }
.link-card:nth-child(4) { animation: fadeInUp 0.7s ease-out 0.96s both; }
.link-card:nth-child(5) { animation: fadeInUp 0.7s ease-out 1.08s both; }
.link-card:nth-child(6) { animation: fadeInUp 0.7s ease-out 1.2s both; }
.link-card:nth-child(7) { animation: fadeInUp 0.7s ease-out 1.32s both; }

/* WhatsApp card */
.link-card--whatsapp {
    background: linear-gradient(180deg, #155a28 0%, #0a3318 100%);
    border-color: #1e8040;
    border-bottom-color: #06200e;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(37, 211, 102, 0.08), inset 0 1px 0 rgba(37, 211, 102, 0.15);
}

.link-card--whatsapp:hover {
    background: linear-gradient(180deg, #1c6e32 0%, #0e4020 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(37, 211, 102, 0.15), inset 0 1px 0 rgba(37, 211, 102, 0.2);
}

.link-card--whatsapp:active {
    background: linear-gradient(180deg, #104a20 0%, #082c12 100%);
}

.link-card--whatsapp .link-card__icon {
    background: rgba(37, 211, 102, 0.2);
    color: #3de875;
}

.link-card--whatsapp:hover .link-card__icon {
    background: rgba(37, 211, 102, 0.3);
}

.link-card--whatsapp .link-card__title {
    color: #3de875;
}

.link-card--whatsapp:hover .link-card__arrow {
    color: #3de875;
}

/* --- Footer --- */
.footer {
    margin-top: auto;
    padding-top: 40px;
    text-align: center;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.footer__divider {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.footer__web-divider {
    width: 120px;
    height: 20px;
}

.footer__text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.78rem;
    color: var(--text-secondary);
    letter-spacing: 0.06em;
    opacity: 0.6;
}

/* --- Responsive --- */
@media (max-width: 520px) {
    .container {
        padding: 40px 18px 30px;
    }
    
    .brand-name {
        font-size: 2.6rem;
    }
    
    .tagline-h1 {
        font-size: 1.35rem;
    }
    
    .tagline-h2 {
        font-size: 1.05rem;
    }
    
    .logo {
        width: 180px;
        height: 180px;
    }
    
    .link-card {
        padding: 16px 16px;
    }
    
    .link-card__title {
        font-size: 0.88rem;
    }
}

@media (max-width: 360px) {
    .brand-name {
        font-size: 2.1rem;
    }
    
    .logo {
        width: 150px;
        height: 150px;
    }
}

/* --- Subtle background gradient overlay --- */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 0%, rgba(92, 200, 200, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(212, 165, 90, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 30%, rgba(92, 200, 200, 0.03) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(12, 12, 20, 0.85) 0%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

/* --- Selection color --- */
::selection {
    background: rgba(92, 200, 200, 0.3);
    color: var(--text-primary);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(192, 192, 192, 0.15);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(192, 192, 192, 0.3);
}
