/* ===== CSS VARIABLES ===== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --text-primary: #e8e8e8;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b80;
    --accent-1: #6c63ff;
    --accent-2: #00d4ff;
    --accent-3: #ff6584;
    --accent-gradient: linear-gradient(135deg, #6c63ff, #00d4ff);
    --accent-gradient-2: linear-gradient(135deg, #ff6584, #6c63ff);
    --border-color: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-glow: 0 0 40px rgba(108, 99, 255, 0.15);
    --font-main: 'Space Grotesk', 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-1) var(--bg-primary);
    overflow-x: hidden;
    width: 100%;
}

html::-webkit-scrollbar { width: 6px; }
html::-webkit-scrollbar-track { background: var(--bg-primary); }
html::-webkit-scrollbar-thumb { background: var(--accent-1); border-radius: 3px; }

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    cursor: none;
}

a { text-decoration: none; color: inherit; cursor: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== CUSTOM CURSOR ===== */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent-2);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10001;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 35px;
    height: 35px;
    border: 1.5px solid var(--accent-1);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
    transform: translate(-50%, -50%);
}

.cursor-follower.hover {
    width: 55px;
    height: 55px;
    border-color: var(--accent-2);
    background: rgba(0, 212, 255, 0.05);
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#bell-curve-canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

.preloader-label {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: labelPulse 1.5s ease-in-out infinite;
}

@keyframes labelPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* ===== PARTICLE CANVAS ===== */
#particles-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent-gradient);
    z-index: 10000;
    transition: width 0.1s linear;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    padding: 0.8rem 2rem;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.logo-text {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.3rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem 2rem;
}

/* ===== SOLAR SYSTEM BACKGROUND ===== */
.solar-system {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.galactic-core {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0%, #a78bfa 30%, #6c63ff 60%, transparent 100%);
    box-shadow:
        0 0 30px 10px rgba(108, 99, 255, 0.5),
        0 0 80px 30px rgba(108, 99, 255, 0.2),
        0 0 120px 50px rgba(167, 139, 250, 0.1);
    z-index: 1;
    animation: corePulse 4s ease-in-out infinite alternate;
}

@keyframes corePulse {
    0% { transform: scale(1); box-shadow: 0 0 30px 10px rgba(108,99,255,0.5), 0 0 80px 30px rgba(108,99,255,0.2); }
    100% { transform: scale(1.3); box-shadow: 0 0 40px 15px rgba(108,99,255,0.6), 0 0 100px 40px rgba(108,99,255,0.3); }
}

.orbit {
    position: absolute;
    border: 1px solid rgba(108, 99, 255, 0.06);
    border-radius: 50%;
    animation: orbitSpin linear infinite;
}

@keyframes orbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.planet {
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    box-shadow: 0 0 6px 2px currentColor;
}

/* Mercury */
.orbit-1 { width: 90px; height: 90px; animation-duration: 8s; border-color: rgba(200,200,200,0.08); }
.planet-1 { width: 4px; height: 4px; background: #bbb; color: rgba(187,187,187,0.4); }

/* Venus */
.orbit-2 { width: 140px; height: 140px; animation-duration: 12s; animation-direction: reverse; border-color: rgba(255,183,77,0.07); }
.planet-2 { width: 6px; height: 6px; background: #ffb74d; color: rgba(255,183,77,0.4); }

/* Earth */
.orbit-3 { width: 210px; height: 210px; animation-duration: 18s; border-color: rgba(0,212,255,0.08); }
.planet-3 { width: 7px; height: 7px; background: #00d4ff; color: rgba(0,212,255,0.5); }

/* Mars */
.orbit-4 { width: 290px; height: 290px; animation-duration: 25s; animation-direction: reverse; border-color: rgba(255,101,132,0.06); }
.planet-4 { width: 5px; height: 5px; background: #ff6584; color: rgba(255,101,132,0.4); }

/* Jupiter */
.orbit-5 { width: 400px; height: 400px; animation-duration: 35s; border-color: rgba(255,183,77,0.05); }
.planet-5 { width: 12px; height: 12px; background: radial-gradient(circle at 40% 40%, #ffd54f, #ff8a65); color: rgba(255,213,79,0.3); }

/* Saturn */
.orbit-6 { width: 530px; height: 530px; animation-duration: 45s; animation-direction: reverse; border-color: rgba(108,99,255,0.05); }
.planet-6 {
    width: 10px; height: 10px;
    background: #ce93d8;
    color: rgba(206,147,216,0.3);
    box-shadow: 0 0 6px 2px rgba(206,147,216,0.3), -8px 0 0 -3px rgba(206,147,216,0.2), 8px 0 0 -3px rgba(206,147,216,0.2);
}

/* Uranus */
.orbit-7 { width: 680px; height: 680px; animation-duration: 60s; border-color: rgba(0,212,255,0.04); }
.planet-7 { width: 8px; height: 8px; background: #4dd0e1; color: rgba(77,208,225,0.3); }

/* Neptune */
.orbit-8 { width: 850px; height: 850px; animation-duration: 80s; animation-direction: reverse; border-color: rgba(108,99,255,0.03); }
.planet-8 { width: 8px; height: 8px; background: #7c4dff; color: rgba(124,77,255,0.3); }

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 850px;
    width: 100%; /* Ensure it respects container width */
    padding: 0 1rem; /* Add some padding to prevent edge touching */
}

/* ===== HERO PHOTO ===== */
.hero-photo {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 2rem;
    display: inline-block;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border: 3px solid transparent;
    background-origin: border-box;
    background-clip: content-box, border-box;
    background-image: linear-gradient(var(--bg-primary), var(--bg-primary)),
                      var(--accent-gradient);
}

.hero-photo-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: var(--accent-gradient) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: ringRotate 8s linear infinite;
    z-index: 1;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-photo-glow {
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    background: var(--accent-gradient);
    opacity: 0.15;
    filter: blur(20px);
    z-index: 0;
    animation: photoGlow 4s ease-in-out infinite alternate;
}

@keyframes photoGlow {
    from { opacity: 0.1; transform: scale(0.95); }
    to { opacity: 0.2; transform: scale(1.05); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    background: var(--bg-glass);
    border: 1px solid var(--glass-border);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #00e278;
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 226, 120, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(0, 226, 120, 0); }
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-line {
    display: block;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-name {
    display: inline-block;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 1;
}

.name-char {
    display: inline-block;
    opacity: 1;
}

.name-char:hover {
    animation: charBounce 0.4s ease;
    color: var(--accent-2);
}

@keyframes charBounce {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px) scale(1.2); }
    100% { transform: translateY(0); }
}

.hero-typewriter {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    min-height: 2.2rem;
    color: var(--text-secondary);
}

.typewriter-prefix {
    color: var(--text-muted);
}

.typewriter-text {
    color: var(--accent-2);
    font-weight: 600;
}

.typewriter-cursor {
    color: var(--accent-1);
    animation: blink 1s step-end infinite;
    font-weight: 300;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-main);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.5);
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-outline {
    border: 1.5px solid var(--accent-1);
    color: var(--accent-1);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(108, 99, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.2);
}

.btn-resume {
    border: 1.5px solid #28c840;
    color: #28c840;
    background: transparent;
}

.btn-resume:hover {
    background: rgba(40, 200, 64, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(40, 200, 64, 0.2);
}

/* ===== SOCIAL LINKS ===== */
.hero-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: var(--transition);
    background: var(--bg-glass);
}

.social-link:hover {
    border-color: var(--accent-1);
    color: var(--accent-1);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(108, 99, 255, 0.2);
}

/* ===== SCROLL INDICATOR ===== */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease 3s forwards;
    opacity: 0;
    width: 90%; 
    max-width: 300px;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.mouse-wheel {
    width: 3px;
    height: 8px;
    background: var(--accent-1);
    border-radius: 3px;
    animation: mouseScroll 2s ease infinite;
}

@keyframes mouseScroll {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

/* ===== SECTION STYLES ===== */
.section {
    padding: 7rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-1);
    display: block;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 1rem auto 0;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== GLASS CARD ===== */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(108, 99, 255, 0.2);
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text {
    margin-bottom: 2.5rem;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.about-text strong {
    color: var(--text-primary);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-card {
    padding: 1.5rem;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.2;
}

.stat-number::after {
    content: '+';
    font-size: 1.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.3rem;
    display: block;
}

/* ===== LIVE EDITOR + PROFILE CARD ===== */
.live-editor-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

.live-editor-wrapper .ide-container {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: none;
    border-radius: 0;
    border-right: 1px solid var(--border-color);
}

.live-editor-wrapper .ide-container:hover {
    transform: none;
    box-shadow: none;
}

.code-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255,255,255,0.015);
}

.code-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }

.code-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    flex: 1;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    color: #28c840;
    background: rgba(40, 200, 64, 0.1);
    border: 1px solid rgba(40, 200, 64, 0.2);
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #28c840;
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

.editor-body {
    display: flex;
    flex: 1;
    overflow: auto;
}

.line-numbers {
    padding: 14px 0;
    width: 36px;
    text-align: right;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 1.65;
    color: var(--text-muted);
    user-select: none;
    padding-right: 10px;
    border-right: 1px solid var(--border-color);
    flex-shrink: 0;
}

.line-numbers span {
    display: block;
}

.code-editor {
    flex: 1;
    padding: 14px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.65;
    color: #c3e88d;
    background: transparent;
    border: none;
    outline: none;
    resize: none;
    min-height: 340px;
    tab-size: 2;
    white-space: pre;
    overflow: auto;
}

.code-editor::selection {
    background: rgba(108, 99, 255, 0.3);
}

/* ===== PROFILE CARD (Live Output) ===== */
.profile-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border: none;
    border-radius: 0;
    background: rgba(10, 10, 20, 0.3);
    position: relative;
    overflow: hidden;
    justify-content: center;
}

.profile-card:hover {
    transform: none;
    box-shadow: none;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at 30% 20%, rgba(108, 99, 255, 0.06), transparent 70%);
    pointer-events: none;
}

.profile-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 1.8rem;
    position: relative;
}

.profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.3);
    transition: var(--transition);
    border: 2px solid transparent;
    background: var(--accent-gradient) border-box;
    background-clip: padding-box, border-box;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    transition: all 0.3s ease;
}

.profile-role {
    font-size: 0.82rem;
    color: var(--accent-2);
    font-weight: 500;
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 1.5rem;
    position: relative;
}

.profile-detail-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    transition: var(--transition);
}

.profile-detail-row i {
    color: var(--accent-1);
    font-size: 0.85rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.profile-detail-row strong {
    color: var(--accent-2);
}

.profile-passions {
    margin-bottom: 1.5rem;
    position: relative;
}

.profile-passion-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-tag {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    background: rgba(108, 99, 255, 0.08);
    color: var(--accent-1);
    border: 1px solid rgba(108, 99, 255, 0.12);
    transition: var(--transition);
    animation: tagPop 0.3s ease forwards;
}

@keyframes tagPop {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.profile-tag:hover {
    background: rgba(108, 99, 255, 0.15);
    transform: translateY(-2px);
}

.profile-motto {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border-radius: 10px;
    background: rgba(108, 99, 255, 0.04);
    border-left: 3px solid var(--accent-1);
    position: relative;
}

.profile-motto i {
    color: var(--accent-1);
    font-size: 0.8rem;
    margin-top: 2px;
    opacity: 0.6;
}

.profile-motto span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.5;
}

/* Update animation on card */
.profile-card.updated {
    animation: cardFlash 0.4s ease;
}

@keyframes cardFlash {
    0% { box-shadow: inset 0 0 0 1px rgba(108, 99, 255, 0); }
    50% { box-shadow: inset 0 0 0 1px rgba(108, 99, 255, 0.3); }
    100% { box-shadow: inset 0 0 0 1px rgba(108, 99, 255, 0); }
}

/* ===== EXPERIENCE / TIMELINE ===== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 2rem; /* Prevent margin collapse issue */
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 2rem;
}

.timeline-dot {
    position: absolute;
    left: 16px;
    top: 20px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #fff;
    z-index: 1;
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.4);
}

.timeline-card {
    padding: 2rem;
    overflow-wrap: break-word; /* Ensure long words break */
    word-break: break-word;
    min-width: 0; /* Allow flex items to shrink */
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.timeline-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.timeline-role {
    color: var(--accent-2);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-1);
    background: rgba(108, 99, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    white-space: wrap;
    max-width: 100%;
    margin-top: 5px; /* Add some spacing if it wraps */
    display: inline-block;
}

.timeline-details {
    margin-bottom: 1.5rem;
}

.timeline-details li {
    display: flex;
    gap: 10px;
    align-items: flex-start; /* Align to top */
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.timeline-details li > span {
    flex: 1; /* Allow text wrapper to take remaining space */
    min-width: 0;
}


.timeline-details i {
    color: var(--accent-1);
    margin-top: 6px;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.highlight {
    color: var(--accent-2);
    font-weight: 600;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    background: rgba(108, 99, 255, 0.1);
    color: var(--accent-1);
    border: 1px solid rgba(108, 99, 255, 0.15);
}

/* ===== PROJECTS ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card {
    overflow: hidden;
    border-radius: 20px;
}

.project-card:hover {
    transform: translateY(-8px) !important;
}

.project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.project-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.chess-bg { background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460); }
.robot-bg { background: linear-gradient(135deg, #0f3460, #1a5276, #148f77); }
.gesture-bg { background: linear-gradient(135deg, #4a148c, #6a1b9a, #8e24aa); }
.chat-bg { background: linear-gradient(135deg, #1b5e20, #2e7d32, #43a047); }
.zomato-bg { background: linear-gradient(135deg, #b71c1c, #e23744, #ff6f61); }

.project-card:hover .project-image-placeholder {
    transform: scale(1.1);
    color: rgba(255, 255, 255, 0.3);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay { opacity: 1; }

.project-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    transition: var(--transition);
}

.project-link:hover {
    background: var(--accent-1);
    border-color: var(--accent-1);
    transform: scale(1.1);
}

.project-info {
    padding: 1.8rem;
}

.project-date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-2);
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.project-subtitle {
    font-size: 0.85rem;
    color: var(--accent-1);
    margin-bottom: 0.8rem;
}

.project-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

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

.project-tech span {
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    background: rgba(0, 212, 255, 0.08);
    color: var(--accent-2);
    border: 1px solid rgba(0, 212, 255, 0.12);
}

/* ===== SKILLS — NEURAL NETWORK AESTHETIC ===== */
.skills {
    overflow: hidden;
}

.neural-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.skills .container {
    position: relative;
    z-index: 1;
}

.nn-layer-labels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 1rem;
}

.nn-label {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    position: relative;
    padding-bottom: 10px;
}

.nn-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}

/* Synapse connectors between columns */
.skills-categories::before,
.skills-categories::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 100%;
    height: 1px;
    pointer-events: none;
}

.skill-category {
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid rgba(108, 99, 255, 0.12);
    border-radius: 16px;
    padding: 1.5rem 1.2rem;
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(10px);
}

.skill-category::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.skill-category:hover::before {
    opacity: 1;
}

.skill-category:hover {
    border-color: rgba(108, 99, 255, 0.35);
    box-shadow:
        0 0 30px rgba(108, 99, 255, 0.1),
        inset 0 0 30px rgba(108, 99, 255, 0.03);
    transform: translateY(-3px);
}

.skill-category-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(108, 99, 255, 0.1);
}

.skill-category-title i {
    color: var(--accent-2);
    font-size: 1rem;
    filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.4));
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(108, 99, 255, 0.06);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Neuron activation glow on hover */
.skill-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 3px;
}

.skill-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 50%, rgba(108, 99, 255, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-item:hover {
    border-color: rgba(108, 99, 255, 0.25);
    color: var(--text-primary);
    background: rgba(108, 99, 255, 0.04);
    transform: translateX(5px);
    box-shadow:
        0 0 15px rgba(108, 99, 255, 0.08),
        0 0 40px rgba(108, 99, 255, 0.03);
}

.skill-item:hover::before {
    opacity: 1;
}

.skill-item:hover::after {
    opacity: 1;
}

.skill-item i {
    font-size: 1rem;
    color: var(--accent-1);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.skill-item:hover i {
    color: var(--accent-2);
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.5));
    animation: neuronPulse 1s ease infinite;
}

.skill-item span {
    position: relative;
    z-index: 1;
}

@keyframes neuronPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Signal propagation animation on category hover */
.skill-category:hover .skill-item {
    animation: signalFlow 0.4s ease forwards;
}

.skill-category:hover .skill-item:nth-child(1) { animation-delay: 0s; }
.skill-category:hover .skill-item:nth-child(2) { animation-delay: 0.06s; }
.skill-category:hover .skill-item:nth-child(3) { animation-delay: 0.12s; }
.skill-category:hover .skill-item:nth-child(4) { animation-delay: 0.18s; }
.skill-category:hover .skill-item:nth-child(5) { animation-delay: 0.24s; }
.skill-category:hover .skill-item:nth-child(6) { animation-delay: 0.30s; }
.skill-category:hover .skill-item:nth-child(7) { animation-delay: 0.36s; }
.skill-category:hover .skill-item:nth-child(8) { animation-delay: 0.42s; }
.skill-category:hover .skill-item:nth-child(9) { animation-delay: 0.48s; }

@keyframes signalFlow {
    0% { border-left-color: transparent; }
    50% { border-left-color: rgba(0, 212, 255, 0.4); background: rgba(0, 212, 255, 0.03); }
    100% { border-left-color: transparent; }
}

/* ===== ACHIEVEMENTS ===== */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.achievement-card {
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.achievement-card:hover::before {
    transform: scaleX(1);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(108, 99, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.3rem;
    color: var(--accent-1);
    transition: var(--transition);
}

.achievement-card:hover .achievement-icon {
    background: var(--accent-gradient);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(108, 99, 255, 0.3);
}

.achievement-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.achievement-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.achievement-year {
    display: inline-block;
    margin-top: 1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-2);
    background: rgba(0, 212, 255, 0.08);
    padding: 2px 12px;
    border-radius: 12px;
}

/* ===== CERTIFICATIONS ===== */
.certifications {
    max-width: 900px;
    margin: 0 auto;
}

.cert-title {
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cert-title i {
    color: var(--accent-2);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.cert-item i {
    font-size: 1.3rem;
    color: var(--accent-1);
    flex-shrink: 0;
}

.cert-item:hover {
    color: var(--text-primary);
}

/* ===== CONTACT ===== */
/* ===== CONTACT ICONS WITH BIRDS ===== */
.contact-icons {
    display: flex;
    justify-content: center;
    gap: 4rem;
    max-width: 700px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.contact-node {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
}

/* Bird perch area */
.bird-perch {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 32px;
    display: flex;
    justify-content: center;
    pointer-events: none;
    z-index: 3;
}

.bird {
    width: 36px;
    height: 28px;
    color: var(--accent-1);
    filter: drop-shadow(0 2px 4px rgba(108, 99, 255, 0.3));
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center bottom;
    animation: birdIdle 3s ease-in-out infinite;
}

.bird .wing {
    transform-origin: 16px 17px;
    animation: wingFlap 1.2s ease-in-out infinite;
}

@keyframes wingFlap {
    0%, 100% { transform: rotate(0deg) scaleY(1); }
    30% { transform: rotate(-15deg) scaleY(0.8); }
    60% { transform: rotate(8deg) scaleY(1.1); }
}

.bird:nth-child(2) {
    animation-delay: -1s;
    color: var(--accent-2);
}

@keyframes birdIdle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    75% { transform: rotate(3deg); }
}

.bird.fly-away {
    animation: birdFly 0.8s ease-in forwards !important;
}

@keyframes birdFly {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
    30% { transform: translate(0, -10px) rotate(-10deg); opacity: 1; }
    100% { transform: translate(var(--fly-x, 80px), -200px) rotate(var(--fly-r, -30deg)); opacity: 0; }
}

.bird.copy-bird {
    animation: birdAppear 0.4s ease-out forwards;
    color: #28c840;
}

.bird.copy-bird .wing {
    animation: wingFlap 0.4s ease-in-out infinite;
}

@keyframes birdAppear {
    0% { transform: scale(0) translateY(10px); opacity: 0; }
    60% { transform: scale(1.2) translateY(-2px); opacity: 1; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* Round contact icon */
.contact-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 2;
}

.contact-node:hover .contact-circle {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
    transform: scale(1.12);
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.35);
}

.contact-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.contact-node:hover .contact-label {
    color: var(--text-primary);
}

/* Copy tooltip */
.copy-tooltip {
    position: absolute;
    top: -52px;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    padding: 6px 14px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.copy-tooltip strong {
    color: var(--accent-2);
}

.contact-node:hover .copy-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.copy-tooltip.copied {
    color: #28c840;
    border-color: rgba(40, 200, 64, 0.3);
}

.contact-circle.copied {
    background: rgba(40, 200, 64, 0.15);
    border-color: #28c840;
    color: #28c840;
    box-shadow: 0 0 20px rgba(40, 200, 64, 0.3), inset 0 0 12px rgba(40, 200, 64, 0.1);
}

/* ===== FOOTER ===== */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.footer-year {
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up { transform: translateY(60px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }

.reveal-up.revealed, .reveal-left.revealed, .reveal-right.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px) translateX(-50%); }
    to { opacity: 1; transform: translateY(0) translateX(-50%); }
}

/* ===== MAGNETIC EFFECT BASE ===== */
.magnetic {
    transition: transform 0.3s ease;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .achievements-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-icons { gap: 2.5rem; }
}

@media (max-width: 768px) {
    body { cursor: auto; }
    .cursor, .cursor-follower { display: none; }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        width: 75%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid var(--border-color);
    }

    .nav-links.active { transform: translateX(0); }
    .nav-toggle { display: flex; }

    .hero { padding: 5rem 1.5rem 2rem; }
    .hero-name { font-size: clamp(2.5rem, 10vw, 3.5rem); }
    .hero-typewriter { font-size: 1.1rem; }

    .projects-grid { grid-template-columns: 1fr; }
    .skills-categories { grid-template-columns: repeat(2, 1fr); }
    .nn-layer-labels { grid-template-columns: repeat(2, 1fr); }
    .live-editor-wrapper { grid-template-columns: 1fr; }
    .live-editor-wrapper .ide-container { border-right: none; border-bottom: 1px solid var(--border-color); }
    .achievements-grid { grid-template-columns: 1fr; }
    .cert-grid { grid-template-columns: 1fr; }
    .contact-icons { gap: 2rem; }

    .timeline::before { left: 20px; }
    .timeline-item { padding-left: 60px; }
    .timeline-dot { left: 6px; }
    .timeline-card { padding: 1.5rem; }

    .section { padding: 4rem 0; }
    .container { padding: 0 1.2rem; }
}

/* Mobile specific adjustments to font sizes */
@media (max-width: 480px) {
    .hero-name {
        font-size: clamp(2rem, 12vw, 3rem); /* Smaller min font size */
        margin-left: -2px; /* Visual alignment fix */
        word-break: break-word; /* Ensure wrapping if needed */
        line-height: 1.2;
    }
    
    .section-title {
        font-size: 1.8rem; /* Smaller section titles */
        word-break: break-word;
    }

    .about-stats { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }

    .stat-number { font-size: 2rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; max-width: 280px; }
    .skills-categories { grid-template-columns: 1fr; }
    .nn-layer-labels { grid-template-columns: 1fr; }
    
    .timeline-item { padding-left: 35px; }
    .timeline::before { left: 10px; }
    .timeline-dot { left: 1px; width: 20px; height: 20px; top: 22px; }
    .timeline-card { padding: 1rem; }
    
    .navbar {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
}
