/* ========================================
   GAVY SANTANA - Official Website Styles
   Michael Jackson Inspired Aesthetic
   ======================================== */

/* CSS Variables */
:root {
    --black: #000000;
    --deep-black: #0a0a0a;
    --gold: #d4af37;
    --gold-light: #f4d03f;
    --gold-dark: #b8960c;
    --silver: #c0c0c0;
    --white: #ffffff;
    --gray: #888888;
    --pink-gradient: #e8b4c8;
    --blue-gradient: #a8c4d4;
    --red-accent: #c41e3a;

    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.8s ease;
}

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

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

body {
    font-family: var(--font-body);
    background: var(--deep-black);
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Background Effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(196, 30, 58, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse at 20% 80%, rgba(168, 196, 212, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* Spotlight Effect */
.spotlight {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    transition: background 0.3s ease;
}

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

.particle {
    position: absolute;
    bottom: -10px;
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: float-up 20s linear infinite;
    box-shadow: 0 0 6px var(--gold);
}

@keyframes float-up {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

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

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 0 60px;
    flex-shrink: 0;
}

.logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.logo {
    width: 100%;
    max-width: 350px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.3));
    animation: logo-glow 4s ease-in-out infinite;
    transition: transform var(--transition-medium);
}

.logo:hover {
    transform: scale(1.05);
}

@keyframes logo-glow {
    0%, 100% {
        filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 50px rgba(212, 175, 55, 0.5));
    }
}

.tagline {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--silver);
    margin-top: 20px;
    opacity: 0.9;
}

/* Sections */
.section {
    margin-bottom: 50px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 0.15em;
    text-align: center;
    margin-bottom: 30px;
    color: var(--white);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-title::before,
.section-title::after {
    content: '';
    flex: 1;
    max-width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.title-icon {
    color: var(--gold);
    font-size: 1.5rem;
}

/* Links Grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

/* Link Cards */
.link-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.02em;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.link-card::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: left 0.5s ease;
}

.link-card:hover::before {
    left: 100%;
}

.link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.link-card .icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.link-card:hover .icon {
    transform: scale(1.15);
}

/* Platform-specific colors */
.link-card.spotify:hover {
    border-color: #1db954;
    background: linear-gradient(145deg, rgba(29, 185, 84, 0.2), rgba(29, 185, 84, 0.05));
    box-shadow: 0 10px 40px rgba(29, 185, 84, 0.2);
}
.link-card.spotify .icon { color: #1db954; }

.link-card.apple:hover {
    border-color: #fc3c44;
    background: linear-gradient(145deg, rgba(252, 60, 68, 0.2), rgba(252, 60, 68, 0.05));
    box-shadow: 0 10px 40px rgba(252, 60, 68, 0.2);
}
.link-card.apple .icon { color: #fc3c44; }

.link-card.youtube-music:hover {
    border-color: #ff0000;
    background: linear-gradient(145deg, rgba(255, 0, 0, 0.2), rgba(255, 0, 0, 0.05));
    box-shadow: 0 10px 40px rgba(255, 0, 0, 0.2);
}
.link-card.youtube-music .icon { color: #ff0000; }

.link-card.tidal:hover {
    border-color: #00ffff;
    background: linear-gradient(145deg, rgba(0, 255, 255, 0.2), rgba(0, 255, 255, 0.05));
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.2);
}
.link-card.tidal .icon { color: #00ffff; }

.link-card.instagram:hover {
    border-color: #e4405f;
    background: linear-gradient(145deg, rgba(228, 64, 95, 0.2), rgba(131, 58, 180, 0.1));
    box-shadow: 0 10px 40px rgba(228, 64, 95, 0.2);
}
.link-card.instagram .icon { color: #e4405f; }

.link-card.tiktok:hover {
    border-color: #00f2ea;
    background: linear-gradient(145deg, rgba(0, 242, 234, 0.15), rgba(255, 0, 80, 0.1));
    box-shadow: 0 10px 40px rgba(0, 242, 234, 0.2);
}
.link-card.tiktok .icon { color: #00f2ea; }

.link-card.youtube:hover {
    border-color: #ff0000;
    background: linear-gradient(145deg, rgba(255, 0, 0, 0.2), rgba(255, 0, 0, 0.05));
    box-shadow: 0 10px 40px rgba(255, 0, 0, 0.2);
}
.link-card.youtube .icon { color: #ff0000; }

.link-card.soundcloud:hover {
    border-color: #ff5500;
    background: linear-gradient(145deg, rgba(255, 85, 0, 0.2), rgba(255, 85, 0, 0.05));
    box-shadow: 0 10px 40px rgba(255, 85, 0, 0.2);
}
.link-card.soundcloud .icon { color: #ff5500; }

/* Footer */
.footer {
    text-align: center;
    padding: 50px 0 30px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
    color: var(--gray);
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.footer-tagline {
    font-family: var(--font-display);
    font-size: 1.25rem !important;
    letter-spacing: 0.2em;
    color: var(--gold) !important;
    text-transform: uppercase;
}

.contact-email {
    margin-bottom: 20px !important;
}

.contact-email a {
    color: var(--gold);
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.05em;
    transition: color var(--transition-fast);
}

.contact-email a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 30px 16px;
    }

    .hero {
        padding: 30px 0 50px;
    }

    .logo {
        max-width: 280px;
    }

    .tagline {
        font-size: 0.85rem;
        letter-spacing: 0.2em;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .links-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .link-card {
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 240px;
    }

    .tagline {
        font-size: 0.75rem;
        letter-spacing: 0.15em;
    }

    .section-title::before,
    .section-title::after {
        max-width: 50px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .particle {
        display: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .link-card {
        border-width: 2px;
    }

    .section-title::before,
    .section-title::after {
        height: 2px;
    }
}

/* Focus states for accessibility */
.link-card:focus {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

.link-card:focus:not(:focus-visible) {
    outline: none;
}

.link-card:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

/* Selection styling */
::selection {
    background: var(--gold);
    color: var(--black);
}

::-moz-selection {
    background: var(--gold);
    color: var(--black);
}

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

::-webkit-scrollbar-track {
    background: var(--deep-black);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}
