/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: white;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Glass Panel Effect */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Button Effects */
.glow-button {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.glow-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), transparent);
    z-index: -1;
    transition: all 0.3s ease;
    opacity: 0;
}

.glow-button:hover::before {
    opacity: 1;
}

.glass-button {
    transition: all 0.3s ease;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Card Hover Effects */
.skill-card:hover, .project-card:hover {
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
}

/* Animated Underline */
.underline-animation {
    position: relative;
    display: inline-block;
}

.underline-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #3b82f6;
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.underline-animation:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .glass-panel {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
}

/* Scroll Reveal Animation */
[data-scroll] {
    opacity: 0;
    transition: opacity 0.8s, transform 0.8s;
}

[data-scroll="fade-up"] {
    transform: translateY(30px);
}

[data-scroll="fade-down"] {
    transform: translateY(-30px);
}

[data-scroll="fade-left"] {
    transform: translateX(-30px);
}

[data-scroll="fade-right"] {
    transform: translateX(30px);
}

[data-scroll].is-visible {
    opacity: 1;
    transform: translate(0);
}

/* Cursor glow (used by script.js) */
.cursor-glow {
    position: fixed;
    pointer-events: none;
    width: 40px;
    height: 40px;
    margin-left: -20px;
    margin-top: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,130,246,0.35) 0%, rgba(59,130,246,0.12) 40%, transparent 60%);
    mix-blend-mode: screen;
    transition: transform 0.15s ease, opacity 0.15s ease;
    opacity: 0.85;
    z-index: 9999;
}

.cursor-glow-active {
    transform: scale(1.6);
    opacity: 1;
}

.hero-bg {
    background-image: linear-gradient(to bottom, 
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.2) 50%,
        rgba(0,0,0,0.8) 85%,
        rgba(0,0,0,1) 100%
    ), url('/assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    inset: 0;
    opacity: 0.4;
    z-index: 0;
}