/* ===================================
   Fadedwind Personal Blog - Main Stylesheet
   Dark Theme Modular CSS
   =================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond&display=swap');

/* Import Modular CSS Files */
@import url('/css/variables.css');
@import url('/css/base.css');
@import url('/css/layout.css');
@import url('/css/components.css');
@import url('/css/typography.css');
@import url('/css/pages.css');
@import url('/css/responsive.css');

/* ===================================
   Legacy Compatibility / Overrides
   =================================== */

/* Ensure any inline style conflicts are handled */
.welcome-text {
    color: var(--gold) !important;
}

/* Additional custom styles that don't fit in modular files */
.content-wrapper {
    max-width: 100%;
    overflow-x: hidden;
}

/* Ensure smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar for Webkit browsers */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 5px;
}

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

/* ===================================
   Hero Section Styles
   =================================== */

.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    position: relative;
    z-index: 10;
}

.typing-container {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.typing-text {
    font-family: var(--font-body);
    font-size: 3.5em;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    min-height: 1.2em;
    position: relative;
    background: linear-gradient(135deg, var(--gold) 0%, #ffd89b 50%, var(--gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background-color: var(--accent);
    margin-left: 5px;
    animation: blink 1s infinite;
    -webkit-text-fill-color: initial;
}

.typing-subtitle {
    font-family: var(--font-body);
    font-size: 1.5em;
    color: var(--text-secondary);
    margin-top: var(--spacing-lg);
    letter-spacing: 3px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    opacity: 0;
    animation: fadeIn 1s ease-out 0.8s forwards;
}

.hero-btn {
    padding: var(--spacing-md) var(--spacing-xl);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 1.1em;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.hero-btn.primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.hero-btn.primary:hover {
    background: var(--gradient-primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

.hero-btn.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent);
}

.hero-btn.secondary:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.4);
}

/* Particle Background */
.particle-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.6;
    animation: float linear infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

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

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

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

/* ===================================
   Additional Visual Enhancements
   =================================== */

/* Glow effect on accent color */
.glow-accent {
    text-shadow: 0 0 10px var(--accent-glow);
}

/* Gradient text utility */
.gradient-text {
    background: var(--gradient-primary);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Glass morphism utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

/* Hover lift effect */
.hover-lift {
    transition: all var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Pulse animation */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse {
    animation: pulse 2s infinite;
}
