/* ========== style.css ========== */
/* Premium Portfolio Styles for MGFearless - Enhanced Navigation with Welcome Popup */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #e6b17e;
    --primary-gold-dark: #c49a6c;
    --accent-ivory: #f5efe7;
    --accent-rose: #d4b8a7;
    --bg-deep: #0c0a0a;
    --bg-elevated: #141111;
    --glass-gold: rgba(230, 177, 126, 0.15);
    --glass-border: rgba(230, 177, 126, 0.3);
    --text-gold: #e6b17e;
    --text-light: #f8f4ef;
    --text-muted: #bfb2a4;
    --shadow-premium: 0 25px 45px -12px rgba(0,0,0,0.5);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-deep);
    color: var(--text-light);
    overflow-x: hidden;
    min-height: 100vh;
    background-image: radial-gradient(ellipse at 30% 40%, rgba(230,177,126,0.03) 0%, transparent 70%);
}

/* Custom Cursor Styles */
.custom-cursor {
    position: fixed;
    width: 28px;
    height: 28px;
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    backdrop-filter: invert(0.1);
    box-shadow: 0 0 15px rgba(230,177,126,0.4);
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--primary-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s;
    box-shadow: 0 0 8px var(--primary-gold);
}

.custom-cursor.hover {
    width: 48px;
    height: 48px;
    background: rgba(230, 177, 126, 0.15);
    border-color: var(--primary-gold-dark);
    backdrop-filter: blur(2px);
}

/* Hide default cursor on interactive elements */
a, button, .social-link, .contact-link, .tab-btn, .corner-nav-item, .music-btn-lux, .enter-btn {
    cursor: none;
}

/* Premium animated background */
.bg-luxury {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.bg-luxury::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(ellipse at 40% 50%, rgba(230,177,126,0.08), transparent 60%);
    animation: slowDrift 24s infinite alternate;
}

@keyframes slowDrift {
    0% { transform: translate(0,0) scale(1); opacity: 0.4; }
    100% { transform: translate(2%, 3%) scale(1.1); opacity: 0.8; }
}

/* ========== WELCOME OVERLAY ========== */
.welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #050404 0%, #120e0a 100%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(0);
    overflow: hidden;
}

.welcome-overlay.slide-down {
    transform: translateY(100%);
}

.welcome-frame {
    max-width: 1000px;
    width: 90%;
    padding: 3rem;
    position: relative;
    border: 1px solid rgba(230,177,126,0.3);
    background: rgba(12,10,10,0.6);
    backdrop-filter: blur(20px);
    border-radius: 48px;
    box-shadow: 0 0 80px rgba(230,177,126,0.1);
}

.welcome-intro {
    animation: cinematicRise 5s cubic-bezier(0.2, 0.9, 0.4, 1) forwards;
}

@keyframes cinematicRise {
    0% { opacity: 0; transform: translateY(70px) scale(0.95); filter: blur(10px); }
    15% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
    85% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
    100% { opacity: 0; transform: translateY(-50px) scale(0.98); filter: blur(6px); visibility: hidden; }
}

.welcome-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-weight: 500;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #f5efe7, var(--primary-gold), #e6b17e);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 2rem;
    text-align: center;
}

.welcome-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.welcome-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.5rem;
    background: rgba(230,177,126,0.05);
    border-left: 3px solid var(--primary-gold);
    border-radius: 16px;
    font-size: 1rem;
    backdrop-filter: blur(5px);
    animation: slideReveal 0.5s ease forwards;
    opacity: 0;
}

.welcome-item:nth-child(1) { animation-delay: 0.05s; }
.welcome-item:nth-child(2) { animation-delay: 0.12s; }
.welcome-item:nth-child(3) { animation-delay: 0.19s; }
.welcome-item:nth-child(4) { animation-delay: 0.26s; }
.welcome-item:nth-child(5) { animation-delay: 0.33s; }
.welcome-item:nth-child(6) { animation-delay: 0.40s; }
.welcome-item:nth-child(7) { animation-delay: 0.47s; }
.welcome-item:nth-child(8) { animation-delay: 0.54s; }

@keyframes slideReveal {
    to { opacity: 1; transform: translateX(0); }
    from { opacity: 0; transform: translateX(-30px); }
}

.welcome-item i {
    color: var(--primary-gold);
    width: 32px;
    font-size: 1.3rem;
}

.welcome-quote {
    text-align: center;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    border-top: 1px solid rgba(230,177,126,0.3);
    border-bottom: 1px solid rgba(230,177,126,0.3);
    padding: 1rem;
    margin: 1.5rem 0;
    color: var(--text-muted);
}

.enter-btn {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    border-radius: 60px;
    color: #0c0a0a;
    cursor: pointer;
    transition: all 0.4s;
    box-shadow: 0 5px 25px rgba(230,177,126,0.4);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeEnter 0.5s ease-out 4.5s forwards;
}

@keyframes fadeEnter {
    to { opacity: 1; }
    from { opacity: 0; transform: translateY(15px); }
}

.enter-btn:hover {
    transform: scale(1.03);
    gap: 18px;
    box-shadow: 0 8px 35px rgba(230,177,126,0.6);
}

.timer-line {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 2px;
    background: rgba(230,177,126,0.3);
    border-radius: 2px;
    overflow: hidden;
}

.timer-progress {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--primary-gold), #ffddb0);
    animation: shrinkLine 5s linear forwards;
}

@keyframes shrinkLine {
    from { width: 100%; }
    to { width: 0%; }
}

/* ========== MAIN SITE ========== */
.main-site {
    opacity: 0;
    transition: opacity 1.2s ease;
    pointer-events: none;
    position: relative;
    z-index: 5;
}

.main-site.visible {
    opacity: 1;
    pointer-events: auto;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

/* Premium Header with Top Corner Navigation */
.premium-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(230,177,126,0.3);
    position: relative;
}

.premium-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-gold), transparent);
}

.logo-master {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.logo-emblem {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, var(--primary-gold), #b8865b);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(230,177,126,0.2);
    transition: transform 0.3s ease;
}

.logo-emblem:hover {
    transform: scale(1.05);
}

.logo-emblem i {
    font-size: 2.2rem;
    color: #0c0a0a;
}

.logo-text h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-light);
}

.logo-text p {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--primary-gold);
    text-transform: uppercase;
}

/* Top Corner Navigation (Home/About/Identify/Discord) */
.top-corner-nav {
    display: flex;
    gap: 0.5rem;
    background: rgba(20, 17, 17, 0.7);
    backdrop-filter: blur(12px);
    padding: 0.5rem 1rem;
    border-radius: 60px;
    border: 1px solid rgba(230,177,126,0.3);
    transition: all 0.3s ease;
}

.top-corner-nav:hover {
    border-color: rgba(230,177,126,0.6);
    box-shadow: 0 0 20px rgba(230,177,126,0.1);
}

.corner-nav-item {
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    position: relative;
}

.corner-nav-item i {
    margin-right: 6px;
    font-size: 0.85rem;
}

.corner-nav-item:hover {
    color: var(--primary-gold);
    background: rgba(230,177,126,0.1);
    transform: translateY(-2px);
}

.corner-nav-item.active {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    color: #0c0a0a;
    box-shadow: 0 2px 10px rgba(230,177,126,0.3);
}

/* Category Tabs (Original Categories: Information/Socials/Hobbies) */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0 2rem;
    border-bottom: 1px solid rgba(230,177,126,0.2);
    padding-bottom: 0.8rem;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 500;
    padding: 0.7rem 2rem;
    cursor: pointer;
    border-radius: 60px;
    transition: all 0.3s;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
}

.tab-btn i {
    margin-right: 8px;
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    color: #0c0a0a;
    box-shadow: 0 4px 15px rgba(230,177,126,0.4);
}

.tab-btn:hover:not(.active) {
    color: var(--primary-gold);
    background: rgba(230,177,126,0.1);
    transform: translateY(-2px);
}

/* Panels */
.content-panel {
    display: none;
    animation: panelFade 0.5s ease;
}

.content-panel.active-panel {
    display: block;
}

@keyframes panelFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Premium Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.premium-card {
    background: rgba(20, 17, 17, 0.7);
    backdrop-filter: blur(16px);
    border-radius: 32px;
    padding: 2rem;
    border: 1px solid rgba(230,177,126,0.2);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), transparent);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.premium-card:hover::before {
    transform: scaleX(1);
}

.premium-card:hover {
    transform: translateY(-6px);
    border-color: rgba(230,177,126,0.5);
    box-shadow: 0 25px 40px -20px rgba(230,177,126,0.2);
}

.card-icon-premium {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    color: var(--primary-gold);
    transition: transform 0.3s ease;
}

.premium-card:hover .card-icon-premium {
    transform: scale(1.05);
}

h3 {
    font-size: 1.7rem;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: -0.3px;
    margin-bottom: 0.8rem;
}

.skill-badge {
    display: inline-block;
    background: rgba(230,177,126,0.12);
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.7rem;
    margin-right: 6px;
    margin-top: 8px;
    border-left: 2px solid var(--primary-gold);
    transition: all 0.2s ease;
}

.skill-badge:hover {
    background: rgba(230,177,126,0.25);
    transform: translateX(3px);
}

.social-lux, .contact-lux {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-link, .contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    background: rgba(30, 25, 22, 0.6);
    border-radius: 60px;
    text-decoration: none;
    color: var(--text-light);
    border: 1px solid rgba(230,177,126,0.2);
    transition: all 0.25s ease;
}

.social-link:hover, .contact-link:hover {
    background: rgba(230,177,126,0.15);
    transform: translateX(6px);
    border-color: var(--primary-gold);
}

.pvp-lux {
    background: rgba(230,177,126,0.05);
    border-radius: 24px;
    padding: 1rem;
    margin: 1rem 0;
}

.pvp-tag-lux {
    display: inline-block;
    background: rgba(230,177,126,0.15);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    margin: 4px;
    transition: all 0.2s ease;
}

.pvp-tag-lux:hover {
    background: rgba(230,177,126,0.3);
    transform: scale(1.02);
}

.quote-lux {
    border-left: 3px solid var(--primary-gold);
    padding-left: 1.2rem;
    margin: 1rem 0;
    font-style: italic;
    color: var(--text-muted);
}

.footer-lux {
    text-align: center;
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(230,177,126,0.2);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Music Widget */
.music-widget-lux {
    position: fixed;
    bottom: 1.8rem;
    right: 1.8rem;
    background: rgba(12,10,10,0.85);
    backdrop-filter: blur(20px);
    padding: 0.6rem 1.3rem;
    border-radius: 60px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--primary-gold);
    z-index: 9998;
    transition: all 0.3s ease;
}

.music-widget-lux:hover {
    border-color: var(--primary-gold-dark);
    box-shadow: 0 0 20px rgba(230,177,126,0.2);
    transform: scale(1.02);
}

.music-btn-lux {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    color: #0c0a0a;
    transition: all 0.2s ease;
}

.music-btn-lux:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(230,177,126,0.5);
}

.vol-slider {
    width: 70px;
    height: 3px;
    background: var(--primary-gold);
    border-radius: 3px;
    -webkit-appearance: none;
}

.vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.vol-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

/* Toast Notification Animation */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 860px) {
    .premium-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .top-corner-nav {
        align-self: flex-start;
        flex-wrap: wrap;
    }
    
    .corner-nav-item {
        padding: 0.4rem 0.9rem;
        font-size: 0.8rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .welcome-title {
        font-size: 2.5rem;
    }
    
    .welcome-item {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }
    
    .custom-cursor, .cursor-dot {
        display: none;
    }
    
    body {
        cursor: auto;
    }
    
    .container {
        padding: 1rem 1rem 3rem;
    }
    
    .logo-text h1 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Styling */
::selection {
    background: var(--primary-gold);
    color: #0c0a0a;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold-dark);
}