/* 
 * AJENDLESS Official Website Styles
 * Theme: Black & Gold (Premium, Minimalist, Grand)
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --color-gold-primary: #D4AF37;
    --color-gold-light: #F4D06F;
    --color-gold-dark: #AA8C2C;
    --color-black-bg: #050505;
    --color-gray-dark: #121212;
    --color-gray-light: #2A2A2A;
    --color-text-main: #FFFFFF;
    --color-text-muted: #A0A0A0;
    
    --transition-standard: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 
 * Global Reset & Typography 
 */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-black-bg);
    color: var(--color-text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

/* 
 * Custom Scrollbar (Premium Feel)
 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
    transition: background 0.3s;
}

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

/* 
 * Utility Classes - Gold Accents
 */
.text-gold {
    color: var(--color-gold-primary) !important;
}

/* Metallic Gradient Text */
.text-gold-gradient {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold-primary) 50%, var(--color-gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0px 2px 10px rgba(212, 175, 55, 0.1);
}

.border-gold {
    border-color: var(--color-gold-primary);
}

.border-gold-subtle {
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* 
 * Component: Glassmorphism Card (Dark Theme)
 */
.glass-card,
.random-bg-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-standard);
}

.glass-card:hover,
.random-bg-card:hover {
    background: rgba(30, 30, 30, 0.8);
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.1);
}

/* 
 * Component: Navigation 
 */
.nav-link {
    position: relative;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background: var(--color-gold-primary);
    transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-text-main);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* 
 * Component: Buttons
 */
/* 已废弃 - 改用Tailwind类 */
.btn-gold {
    background: var(--color-gold-primary);
    color: var(--color-black-bg);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: var(--transition-standard);
    border: 1px solid var(--color-gold-primary);
    display: inline-block;
}

.btn-gold:hover {
    background: var(--color-gold-light);
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.btn-outline-gold {
    background: transparent;
    color: var(--color-gold-primary);
    border: 1px solid var(--color-gold-primary);
    padding: 0.75rem 1.5rem;
    transition: var(--transition-standard);
    display: inline-block;
}

.btn-outline-gold:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-text-main) !important;
}

/* 
 * Component: Video Section
 */
.video-bg-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
}

.video-overlay {
    background: linear-gradient(
        to bottom, 
        rgba(5, 5, 5, 0.3) 0%, 
        rgba(5, 5, 5, 0.6) 50%, 
        var(--color-black-bg) 100%
    );
}

/* 
 * Component: News Scroll
 */
.news-scroll-container {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 
 * Animations
 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* 
 * Form Styles
 */
.input-dark {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: var(--transition-standard);
}

.input-dark:focus {
    outline: none;
    border-color: var(--color-gold-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
}

/* Mobile Menu Transition */
.mobile-menu-enter {
    transform: translateX(100%);
}
.mobile-menu-enter-active {
    transform: translateX(0);
}
.mobile-menu-exit {
    transform: translateX(100%);
}