/* ==========================================================================
   CSS VARIABLE SCHEMES & COLOR SWITCH SYSTEM
   ========================================================================== */
:root {
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --bg-dark: #060813;
    --navbar-bg: rgba(6, 8, 19, 0.75);
    --card-bg: rgba(20, 26, 46, 0.35);
    --card-border: rgba(255, 255, 255, 0.07);
    --aurora-blend: screen;
    --primary-gradient: linear-gradient(135deg, var(--accent-start), var(--accent-end));
}

/* 5 PREMIUM THEMES CONFIGURATION */
.theme-purple {
    --accent-start: #a855f7;
    --accent-end: #ec4899;
    --glow-glow: rgba(168, 85, 247, 0.25);
}

.theme-blue {
    --accent-start: #2563eb;
    --accent-end: #06b6d4;
    --glow-glow: rgba(37, 99, 235, 0.25);
}

.theme-cyan {
    --accent-start: #06b6d4;
    --accent-end: #10b981;
    --glow-glow: rgba(6, 182, 212, 0.25);
}

.theme-pink {
    --accent-start: #f43f5e;
    --accent-end: #a855f7;
    --glow-glow: rgba(244, 63, 94, 0.25);
}

.theme-orange {
    --accent-start: #f97316;
    --accent-end: #facc15;
    --glow-glow: rgba(249, 115, 22, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
    cursor: none;
}

/* ==========================================================================
   CUSTOM LOADING SCREEN & PROGRESS BAR
   ========================================================================== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #04050a;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.8s;
}

.loader-wrapper {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cyber-spinner {
    width: 70px;
    height: 70px;
    border: 3px solid rgba(255, 255, 255, 0.03);
    border-top: 3px solid var(--accent-start);
    border-bottom: 3px solid var(--accent-end);
    border-radius: 50%;
    animation: rotateSpinner 1.2s cubic-bezier(0.53, 0.21, 0.29, 0.67) infinite;
    margin-bottom: 25px;
}

@keyframes rotateSpinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-brand {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.loader-brand span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.load-bar {
    width: 180px;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.load-progress {
    height: 100%;
    width: 0;
    background: var(--primary-gradient);
    transition: width 0.3s;
}

.loader-status {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--primary-gradient);
    width: 0%;
    z-index: 10000;
}

/* ==========================================================================
   AURORA & MOUSE FOLLOW GRADIENT
   ========================================================================== */
.aurora-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    overflow: hidden;
    pointer-events: none;
    mix-blend-mode: var(--aurora-blend);
}

.aurora-layer {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.14;
}

.aurora-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-start);
    top: -20%;
    left: -10%;
    animation: floatAurora 15s infinite alternate ease-in-out;
}

.aurora-2 {
    width: 700px;
    height: 700px;
    background: var(--accent-end);
    bottom: -30%;
    right: -10%;
    animation: floatAurora 20s infinite alternate-reverse ease-in-out;
}

.aurora-3 {
    width: 500px;
    height: 500px;
    background: #3b82f6;
    top: 30%;
    left: 40%;
    animation: floatAurora 25s infinite alternate ease-in-out;
}

#mouse-gradient {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--glow-glow) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -2;
    mix-blend-mode: screen;
}

@keyframes floatAurora {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 80px) scale(1.15); }
}

/* ==========================================================================
   ANIMATED CUSTOM CURSOR
   ========================================================================== */
#custom-cursor {
    position: fixed;
    width: 35px;
    height: 35px;
    border: 1.5px solid var(--accent-start);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 100000;
    transition: transform 0.1s ease, border-color 0.3s;
}

#custom-cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background-color: var(--accent-end);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 100001;
    transition: transform 0.05s ease;
}

body.link-hover #custom-cursor {
    transform: translate(-50%, -50%) scale(1.6);
    border-color: var(--accent-end);
    background-color: rgba(255, 255, 255, 0.05);
}

body.link-hover #custom-cursor-dot {
    transform: translate(-50%, -50%) scale(0);
}

/* ==========================================================================
   THEME SWITCHER PANEL
   ========================================================================== */
.theme-switcher-widget {
    position: fixed;
    top: 120px;
    right: 25px;
    z-index: 901;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.switcher-toggle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.switcher-options {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 12px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    backdrop-filter: blur(15px);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.theme-switcher-widget.active .switcher-options {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.color-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s;
    border: 2px solid transparent;
}

.color-dot:hover { transform: scale(1.3); }
.color-dot.active { border-color: #fff; transform: scale(1.15); }

/* ==========================================================================
   GLASS NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 900;
    background: var(--navbar-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--card-border);
    transition: all 0.4s;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-main);
    text-decoration: none;
}

.nav-logo span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 10px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 10px;
    transition: 0.3s;
}

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

#mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   PAGE TRANSITION & GRADIENT TEXTS
   ========================================================================== */
.page-transition {
    animation: pageEnter 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s ease infinite alternate;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* ==========================================================================
   GLASSMORPHISM CARDS
   ========================================================================== */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 35px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s ease, box-shadow 0.4s ease, border-color 0.4s;
    transform-style: preserve-3d;
}

.glass-card:hover {
    border-color: var(--accent-start);
}

/* ==========================================================================
   HERO AREA & GRAPHICS
   ========================================================================== */
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.hero-section {
    padding: 180px 0 100px 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.hero-img-box {
    display: flex;
    justify-content: center;
}

.avatar-glow-ring {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: var(--primary-gradient);
    padding: 4px;
    box-shadow: 0 10px 40px var(--glow-glow);
    transition: 0.5s;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-dark);
}

.hero-welcome {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-start);
    letter-spacing: 2px;
}

.hero-name {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 15px 0;
}

.hero-profession {
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 25px;
}

#typing-text {
    color: var(--accent-start);
    border-right: 2px solid var(--accent-start);
}

.hero-desc {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 5px 20px var(--glow-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   INFINITE MARQUEE
   ========================================================================== */
.marquee-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    padding: 20px 0;
    overflow: hidden;
    display: flex;
    margin-bottom: 40px;
}

.marquee-content {
    display: flex;
    gap: 60px;
    white-space: nowrap;
    animation: runMarquee 25s linear infinite;
}

.marquee-content span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.marquee-content span i {
    color: var(--accent-start);
}

@keyframes runMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   ANIMATED TIMELINE MODULE
   ========================================================================== */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.stat-card {
    text-align: center;
}

.animated-timeline {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--card-border);
    transform: translateX(-50%);
}

.timeline-node {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease;
}

.timeline-node.revealed {
    opacity: 1;
    transform: translateY(0);
}

.left-node { left: 0; text-align: right; }
.right-node { left: 50%; text-align: left; }

.timeline-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 30px;
    z-index: 2;
}

.left-node .timeline-icon { right: -20px; }
.right-node .timeline-icon { left: -20px; }

.timeline-date {
    color: var(--accent-start);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: inline-block;
}

/* ==========================================================================
   SKILLS SECTION
   ========================================================================== */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.skills-group h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 1.25rem;
}

.skills-group h3 i { color: var(--accent-start); }

.linear-skill { margin-bottom: 25px; }

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    width: 0;
    background: var(--primary-gradient);
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.1, 1, 0.1, 1);
}

.circular-skills-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.circular-skill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.progress-circle {
    position: relative;
    width: 80px;
    height: 80px;
}

.progress-circle svg {
    width: 80px;
    height: 80px;
    transform: rotate(-90deg);
}

.progress-circle svg circle {
    fill: none;
    stroke-width: 6;
}

.progress-circle svg circle:nth-child(1) {
    stroke: rgba(255, 255, 255, 0.04);
}

.progress-circle svg circle:nth-child(2) {
    stroke: var(--accent-start);
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.8s ease;
}

.circle-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    font-size: 0.85rem;
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    max-width: 550px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}

.project-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #0d1117;
    overflow: hidden;
}

.project-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.project-card:hover .project-thumbnail img {
    transform: scale(1.05);
}

.project-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--accent-start);
}

.project-info { padding: 25px; }
.project-info h3 { font-size: 1.3rem; margin-bottom: 10px; }
.project-info p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; line-height: 1.6; }

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tech span {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    border: 1px solid var(--card-border);
}

/* ==========================================================================
   GALLERY SERTIFIKAT MINIMALIS & POP-UP MODAL (DESKTOP & MOBILE)
   ========================================================================== */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 10px 0;
}

.gallery-item {
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-start);
}

.thumb-wrapper {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background-color: #121624;
}

.thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover .thumb-wrapper img {
    transform: scale(1.08);
}

.gallery-info {
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(20, 26, 46, 0.6);
}

.gallery-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-main);
}

.gallery-info .badge {
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--primary-gradient);
    color: #fff;
    font-weight: 600;
}

/* Modal Pop-Up Preview Sertifikat */
.cert-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(4, 5, 10, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

.cert-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    height: 82vh;
    padding: 15px;
    border-radius: 20px;
    background: rgba(15, 20, 35, 0.95);
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.cert-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 36px;
    height: 36px;
    background: #ef4444;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    border-radius: 50%;
    text-align: center;
    line-height: 34px;
    cursor: pointer;
    z-index: 100000;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    transition: transform 0.2s ease;
}

.cert-modal-close:hover {
    transform: scale(1.1);
}

#cert-pdf-viewer {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* ==========================================================================
   TESTIMONIALS SLIDER
   ========================================================================== */
.testimonials-slider-wrapper {
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 20px 40px;
    opacity: 0.3;
    transition: 0.5s;
}

.testimonial-slide.active { opacity: 1; }

.testi-text {
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 25px;
}

.testi-author {
    font-weight: 700;
    color: var(--accent-start);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    background: none;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.slider-btn:hover {
    border-color: var(--accent-start);
    color: var(--accent-start);
}

/* ==========================================================================
   GITHUB GRID
   ========================================================================== */
.github-grid-placeholder {
    display: grid;
    grid-template-columns: repeat(28, 1fr);
    gap: 4px;
    margin-bottom: 20px;
}

.github-cell {
    aspect-ratio: 1;
    border-radius: 2px;
}

.github-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   BLOG SECTION
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card { padding: 0; overflow: hidden; }
.blog-img { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-content { padding: 25px; }
.blog-date { font-size: 0.75rem; color: var(--accent-start); font-weight: 700; }
.blog-content h3 { font-size: 1.2rem; margin: 10px 0; }
.blog-content p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; margin-bottom: 20px; }
.read-more {
    text-decoration: none;
    color: var(--accent-start);
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS & AUDIO
   ========================================================================== */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fab-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
}

.fab-whatsapp { background: #25d366; border-color: #25d366; }
.fab-whatsapp:hover { box-shadow: 0 0 20px rgba(37, 211, 102, 0.6); transform: scale(1.1); }

.fab-email { background: var(--accent-start); border-color: var(--accent-start); }
.fab-email:hover { box-shadow: 0 0 20px var(--glow-glow); transform: scale(1.1); }

.fab-social-trigger { position: relative; }
.fab-social-menu {
    position: absolute;
    bottom: 65px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(15px);
    pointer-events: none;
    transition: 0.3s;
}

.fab-social-trigger:hover .fab-social-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.fab-social-menu a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #111827;
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    text-decoration: none;
    transition: 0.3s;
}

.fab-social-menu a:hover {
    border-color: var(--accent-start);
    color: var(--accent-start);
    transform: scale(1.1);
}

#back-to-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    background: var(--primary-gradient);
    border: none;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.audio-control {
    position: fixed;
    top: 120px;
    left: 25px;
    z-index: 901;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.audio-control i { color: var(--accent-start); }
.audio-control.playing { border-color: var(--accent-start); }

#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 10000;
}

.custom-404-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #04050a;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
}

.custom-404-wrapper.active {
    opacity: 1;
    visibility: visible;
}

.error-404-box { text-align: center; max-width: 500px; }
.error-404-box h1 {
    font-size: 6rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (MOBILE / TABLET)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-buttons { justify-content: center; }

    .timeline-line { left: 20px; }

    .timeline-node {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        text-align: left !important;
    }

    .timeline-icon { left: 0 !important; }

    #custom-cursor, #custom-cursor-dot { display: none; }
    body { cursor: auto; }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--navbar-bg);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--card-border);
    }

    .nav-menu.active { display: flex; }
    #mobile-menu-btn { display: block; }
}