@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-color: #0B0510;
    --text-main: #FFFFFF;
    --text-muted: #A09DB0;
    --accent-light: #D0A2FF;
    --accent-glow: #8B5CF6;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(208, 162, 255, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

.ambient-light {
    position: fixed;
    top: -20%;
    left: 30%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.15;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(145deg, rgba(19, 10, 30, 0.55), rgba(31, 16, 48, 0.45));
    border: 1px solid rgba(181, 138, 255, 0.2);
    box-shadow: 0 12px 30px rgba(92, 35, 182, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    margin: 10px 2.5%;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-light);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 600;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: var(--accent-light);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--accent-glow), #5B21B6);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.4);
}

section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}
h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    background: linear-gradient(to right, #fff, var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    min-height: 70vh;
    flex-wrap: wrap;
}
.hero-text { flex: 1; min-width: 300px; position: relative; }
.hero-text h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 20px; }
.hero-text p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 30px; }

.hero-avatar img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--glass-border);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.3);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}
.video-card, .video-card-link {
    padding: 15px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.video-card:hover, .video-card-link:hover {
    transform: translateY(-10px);
    border-color: var(--accent-light);
    box-shadow: 0 18px 40px rgba(139, 92, 246, 0.35);
}
.thumbnail-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}
.thumbnail-wrapper img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.video-card:hover .thumbnail-wrapper img {
    transform: scale(1.05);
}
.video-info h3 { font-size: 1.2rem; margin-bottom: 10px; }
.video-info p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; flex-grow: 1; }
.video-card .btn { text-align: center; width: 100%; }

.clients-marquee {
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    white-space: nowrap;
}
.clients-track {
    display: inline-block;
    animation: marquee 20s linear infinite;
}
.client-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-block;
    margin: 0 30px;
    object-fit: cover;
    border: 2px solid var(--glass-border);
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.about-me .about-card {
    padding: 30px;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
}
.about-me h2 {
    font-size: 2rem;
    margin-bottom: 18px;
    text-align: center;
    -webkit-text-fill-color: #fff;
    background: none;
    color: #fff;
}
.about-me p {
    font-size: 1rem;
    color: #e9e1ff;
    line-height: 1.7;
    margin-bottom: 12px;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.filter-btn {
    background: transparent;
    border: 1px solid var(--accent-light);
    color: var(--text-main);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}
.filter-btn.active, .filter-btn:hover {
    background: var(--accent-light);
    color: var(--bg-color);
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
}
.contact-container h3 { margin-bottom: 10px; }
.contact-container p { color: #e5dcff; margin-bottom: 26px; }
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
}
.social-btn {
    min-width: 230px;
    padding: 18px 28px;
    font-size: 1.05rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(142, 85, 255, 0.2));
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.35), inset 0 0 3px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(16px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(139, 92, 246, 0.45), inset 0 0 6px rgba(255, 255, 255, 0.25);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.25), rgba(118, 69, 255, 0.35));
}
.liquid-glass {
    background: linear-gradient(135deg, rgba(166, 117, 255, 0.45), rgba(141, 84, 254, 0.35), rgba(95, 43, 191, 0.5));
    border: 1px solid rgba(196, 138, 255, 0.45);
    box-shadow: 0 12px 32px rgba(135, 77, 206, 0.4), inset 0 0 7px rgba(227, 183, 255, 0.45);
    backdrop-filter: blur(16px);
}
.liquid-glass:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(160, 100, 225, 0.55), inset 0 0 10px rgba(255, 239, 255, 0.5);
    background: linear-gradient(135deg, rgba(208, 142, 255, 0.55), rgba(156, 94, 255, 0.55), rgba(107, 58, 215, 0.6));
}
.liquid-glass.portfolio-btn {
    padding: 0.9rem 1.6rem;
    font-size: 1rem;
    min-width: 220px;
}
.instagram-btn, .discord-btn {
    color: #fff;
    background: linear-gradient(135deg, rgba(166, 117, 255, 0.45), rgba(141, 84, 254, 0.35), rgba(95, 43, 191, 0.5));
    border-color: rgba(196, 138, 255, 0.45);
    box-shadow: 0 12px 32px rgba(135, 77, 206, 0.4), inset 0 0 7px rgba(227, 183, 255, 0.45);
}
.instagram-btn:hover, .discord-btn:hover {
    background: linear-gradient(135deg, rgba(208, 142, 255, 0.55), rgba(156, 94, 255, 0.55), rgba(107, 58, 215, 0.6));
    box-shadow: 0 18px 44px rgba(160, 100, 225, 0.55), inset 0 0 10px rgba(255, 239, 255, 0.5);
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 14px;
}
.contact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 12px;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    color: #fff;
}
.contact-card:hover {
    border-color: rgba(208, 162, 255, 0.85);
    background: rgba(208, 162, 255, 0.1);
    transform: translateY(-2px);
}
.card-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: rgba(139, 92, 246, 0.25);
    font-size: 1.2rem;
    border: 1px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
}
.contact-card h4 {
    margin-bottom: 4px;
    font-size: 1rem;
}
.contact-card p {
    margin: 0;
    font-size: 0.85rem;
    color: #d8d0ff;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

footer {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
}

@media (max-width: 768px) {
    .hero { text-align: center; }
    .hero-text h1 { font-size: 2.5rem; }
}

.about-card.blurred {
    filter: blur(4px);
    transition: filter 0.4s ease;
}
.about-card {
    transition: filter 0.4s ease;
}