/* CSS Variables & Design System */
:root {
    --bg-dark: #000000;
    --bg-card: rgba(30, 41, 59, 0.4);
    --primary: #2997ff;
    /* Apple-like Blue */
    --primary-hover: #007aff;
    --accent: #bf5af2;
    /* Apple-like Purple */
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --success: #32d74b;
    --error: #ff453a;
    --radius: 24px;
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --glass-border: 1px solid rgba(255, 255, 255, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Light Theme Overrides */
.light-theme {
    --bg-dark: #f0f2f5;
    /* Light Gray Background */
    --bg-card: rgba(255, 255, 255, 0.8);
    /* White Cards */
    --text-main: #1a1a1a;
    /* Dark Text */
    --text-muted: #666666;
    /* Gray Text */
    --glass-border: 1px solid rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.6);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

/* Update specific elements for Light Mode clarity */
.light-theme .logo-text {
    color: var(--text-main);
}

.light-theme .intro-name {
    background: linear-gradient(to right, #333, #666);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.light-theme .col-info,
.light-theme .col-work,
.light-theme .game-header,
.light-theme .game-canvas-area {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.light-theme .game-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.light-theme .game-card:hover {
    border-color: var(--primary);
}

.light-theme .btn-icon {
    color: var(--text-muted);
}

.light-theme .btn-icon:hover {
    color: var(--primary);
}

.light-theme .project-title,
.light-theme .stat b {
    color: var(--text-main);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(41, 151, 255, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(191, 90, 242, 0.15), transparent 25%);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
    /* Smooth Theme Transition */
    transition: background-color 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.app-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    animation: pageFadeIn 0.3s ease-out forwards;
    flex-direction: column;
    gap: 2rem;
    /* height: 100%; Removed to prevent overflow with padding */
    min-height: auto;
    /* Ensure it fills parent */
}

/* Home Page Specifics - No Scroll */
.home-body {
    overflow: hidden;
    /* Prevent scrolling on desktop */
    height: 100vh;
}

.home-body .app-container {
    height: 100vh;
    justify-content: space-between;
    padding-bottom: 1rem;
}

.home-body .hero-section {
    flex: 1;
    /* Take all available space */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    /* Remove specific paddings to center perfectly */
    margin: 0;
}

.home-body .app-footer {
    margin-top: 0;
    padding-bottom: 1rem;
}

/* Navigation */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    /* In case it's wrapped in an anchor */
}

.logo-img {
    display: none;
}

.logo-text {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: white;
    font-family: var(--font-main);
}

.logo-highlight {
    color: #ff9f0a;
    /* Premium Orange */
}

.logo-icon {
    display: none;
}

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

/* Theme Toggle Switch */
/* Theme Toggle Switch - Day/Night Style */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
}

.theme-switch {
    display: inline-block;
    height: 30px;
    position: relative;
    width: 60px;
}

.theme-switch input {
    display: none;
}

.theme-slider {
    background-color: #1f2125;
    /* Night Sky */
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: 0.5s ease;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* Knob (Moon/Sun) */
.theme-slider:before {
    background-color: #f1c40f;
    /* Moon color (initially sun-like but we'll trick it) */
    bottom: 3px;
    content: "";
    height: 22px;
    left: 4px;
    position: absolute;
    transition: 0.4s;
    width: 22px;
    border-radius: 50%;
    /* Moon Shadow Trick for Crescent */
    box-shadow: inset 8px -4px 0px 0px #fff;
    background-color: transparent;
    transform: rotate(-45deg);
    /* Bouncy Animation */
    transition: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Light Mode (Checked) - Day */
input:checked+.theme-slider {
    background-color: #4CB5F5;
    /* Day Sky */
    border-color: rgba(255, 255, 255, 0.3);
}

input:checked+.theme-slider:before {
    transform: translateX(30px) rotate(0deg);
    background-color: #FFD700;
    /* Sun Yellow */
    box-shadow: none;
    /* Remove crescent shadow to make full sun */
    box-shadow: 0 0 10px #FFD700;
    /* Sun Glow */
}

/* Light Theme Overrides for general UI are handled below via .light-theme class, 
   but specific overrides for the slider track color logic are self-contained above. */

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 4rem 1rem 6rem;
    animation: fadeInDown 0.8s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    line-height: 1.6;
}

.btn-hero {
    margin-top: 2.5rem;
    /* More breathing room */
    padding: 1.2rem 3.5rem;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

/* Games Section */
.games-section {
    padding-top: 2rem;
    scroll-margin-top: 100px;
    /* For sticky header link scroll */
}

.highlight {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



/* View Management */
.view {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.view.active {
    display: block;
}

/* Dashboard */
.section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
}

.game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Game Cards - Flat Style Matching About Page */
.game-card {
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.03);
    /* Matching About Card */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    /* Matching About Card radius */
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    /* Subtle shadow, no glow */
    transition: border-color 0.3s ease;
    /* Only animate border color */
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.game-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    /* No transform, no glow */
}

/* Removed ::before glow effects */
.game-card::before {
    display: none;
}

.game-card:hover::before {
    display: none;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}



/* CSS Icons General */
.css-icon {
    width: 60px;
    height: 60px;
    position: relative;
    opacity: 0.6;
    transition: all 0.4s ease;
    /* Default Blend for Dark Mode */
    mix-blend-mode: overlay;
    color: white;
    /* Base color for icons */
}

.light-theme .css-icon {
    opacity: 0.5;
    mix-blend-mode: multiply;
    color: #333;
    /* Dark color for light mode */
}

.game-card:hover .css-icon {
    opacity: 1;
    transform: scale(1.1);
    mix-blend-mode: normal;
}

/* 1. Speed Math Icon */
.icon-math span {
    position: absolute;
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1;
}

.icon-math span:nth-child(1) {
    top: 0;
    left: 10%;
    transform: rotate(-15deg);
    font-size: 1.2rem;
}

/* + */
.icon-math span:nth-child(2) {
    top: 10%;
    right: 10%;
    transform: rotate(15deg);
    font-size: 1.4rem;
}

/* - */
.icon-math span:nth-child(3) {
    bottom: 10%;
    left: 15%;
    transform: rotate(10deg);
    font-size: 1.1rem;
}

/* x */
.icon-math span:nth-child(4) {
    bottom: 0;
    right: 20%;
    transform: rotate(-10deg);
    font-size: 1.6rem;
}

/* = */

/* 2. Grid Memory Icon */
.icon-memory {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 4px;
    width: 48px;
    /* Slightly tighter */
    height: 48px;
}

.icon-memory i {
    border: 2px solid currentColor;
    border-radius: 2px;
    box-sizing: border-box;
}

/* Highlight a few squares to look like active memory */
.icon-memory i:nth-child(2),
.icon-memory i:nth-child(5),
.icon-memory i:nth-child(9) {
    background-color: currentColor;
    opacity: 0.6;
}

/* 3. Motion Puzzle Icon (Tree) */
.icon-puzzle {
    display: flex;
    justify-content: center;
    align-items: center;
}

.p-node {
    width: 12px;
    height: 12px;
    border: 2px solid currentColor;
    border-radius: 50%;
    position: absolute;
    background: transparent;
    z-index: 2;
}

/* Top Node */
.p-node.top {
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
}

/* Left Node */
.p-node.left {
    bottom: 10px;
    left: 10px;
}

/* Right Node */
.p-node.right {
    bottom: 10px;
    right: 10px;
}

/* Connecting Lines using Box Shadow or Pseudo elements on the container would be hard. 
   Let's use pseudo-elements on the nodes themselves to draw lines to the top node. */
.p-node.left::before,
.p-node.right::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 34px;
    background: currentColor;
    top: -28px;
    left: 50%;
    transform-origin: bottom center;
    opacity: 0.5;
}

.p-node.left::before {
    transform: translateX(-50%) rotate(30deg);
    height: 40px;
    top: -36px;
}

.p-node.right::before {
    transform: translateX(-50%) rotate(-30deg);
    height: 40px;
    top: -36px;
}

.game-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.game-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.game-card .btn-primary {
    margin-top: auto;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: white;
    border: 1px solid var(--primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-main);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.1rem;
    box-shadow: none;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: none;
    border-color: var(--primary-hover);
    text-decoration: none;
}

.btn-icon {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    /* No underline */
}

.btn-icon:hover {
    color: var(--text-main);
    text-decoration: none;
    /* Ensure no underline on hover */
}

.contact-link {
    color: inherit;
    text-decoration: none !important;
    transition: color 0.2s;
    border-bottom: none !important;
    box-shadow: none !important;
}

.contact-link:hover {
    color: var(--primary);
    cursor: pointer;
    text-decoration: none !important;
}

/* Game Interface */
.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--glass-border);
    padding: 1.2rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.game-info {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.stat b {
    color: var(--primary);
    font-size: 1.2rem;
    margin-left: 0.25rem;
}

.game-canvas-area {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius);
    height: 600px;
    position: relative;
    overflow: hidden;
    border: var(--glass-border);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 50;
    padding: 2rem;
}

.overlay h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.overlay p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 500px;
    margin-bottom: 2rem;
}

.btn-large {
    font-size: 1.2rem;
    padding: 1rem 3rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Controls */
.controls-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
    padding-right: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.control-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.toggle-switch {
    position: relative;
    width: 80px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;

    transition: .4s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    font-size: 0.7rem;
    font-weight: 700;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 36px;
    left: 4px;
    bottom: 3px;
    background-color: var(--primary);
    border-radius: 20px;
    transition: .4s;
    z-index: 1;
}

.label-asc {
    color: white;
    z-index: 2;
    transition: color 0.3s;
}

.label-desc {
    color: var(--text-muted);
    z-index: 2;
    transition: color 0.3s;
}

input:checked+.slider:before {
    transform: translateX(36px);
    background-color: var(--accent);
}

input:checked+.slider .label-asc {
    color: var(--text-muted);
}

input:checked+.slider .label-desc {
    color: white;
}

/* Utilities */
.hidden {
    display: none !important;
}




/* Portfolio Split Layout - Reference Style */
.portfolio-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Balanced 2-column split (Bio | Work) */
    min-height: 70vh;
    margin: 2rem auto 6rem;
    border-radius: 30px;
    overflow: hidden;
    /* Removed border/box-shadow relative to container to let columns breathe or keep them contained? 
       Let's keep the container subtle but remove the heavy dividers. */
    background: transparent;
    /* No global BG color as requested */
    gap: 2rem;
    /* Separation between the two distinct glass cards */
    box-shadow: none;
    /* remove container shadow */
    border: none;
}

/* Column 1: Info (Left) */
.col-info {
    background: rgba(10, 10, 12, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    /* Individual card radius */
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    position: relative;
    z-index: 2;
}

.intro-name {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    /* Increased from 1 to fix descender clipping */
    color: white;
    margin-bottom: 0.5rem;
    padding-bottom: 10px;
    /* Extra safety for gradient clipping */
    background: linear-gradient(to right, #fff, #bbb);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-brand {
    color: #ff9f0a;
    /* Brand Yellow/Orange */
    -webkit-text-fill-color: #ff9f0a;
    background: none;
}

.intro-role {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 4rem;
}

.about-block h4 {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-text {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.1rem;
    /* Slightly larger for readability */
    max-width: 450px;
    /* Allow text to be wider now */
}

.contact-link {
    margin-top: 3rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--primary);
    padding-bottom: 2px;
    display: inline-block;
}

/* Column 2: Image Strip (Center) */


/* Column 3: Work Showcase (Right) */
/* Merged Image Strip functionality is gone, so just the work card */
.col-work {
    background: rgba(10, 10, 12, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Global Theme Transition Helpers */
.game-card,
.col-info,
.col-work,
.game-header,
.game-canvas-area,
.logo-text,
.intro-name,
.section-title,
.btn-icon,
.main-nav {
    transition: background-color 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-card-floating {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    /* Removed 3D transform/float effect */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: border-color 0.3s ease, background-color 0.6s ease;
}

.work-card-floating:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.work-preview-img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.project-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.project-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

.social-pills {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    flex-wrap: wrap;
    /* Allow buttons to wrap if needed */
}

.pill-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    /* No underline */
    font-size: 0.9rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pill-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    /* Ensure no underline */
}

/* Responsive */
@media (max-width: 950px) {
    .portfolio-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .col-info,
    .col-work {
        padding: 2rem;
    }

    .col-info {
        order: 1;
        text-align: center;
        align-items: center;
    }

    .col-work {
        order: 3;
    }

    .about-text {
        max-width: 100%;
    }
}

/* Footer Signature */
.app-footer {
    text-align: center;
    margin-top: 3rem;
    padding-bottom: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    animation: fadeIn 1s ease-out;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.app-footer:hover {
    transform: translateY(-5px);
}

.app-footer::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(41, 151, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    filter: blur(10px);
}

.app-footer:hover::after {
    opacity: 1;
}

.app-footer a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

/* Crazy Hover Effect Removed - Back to Clean */
.app-footer a:hover {
    color: var(--primary);
    text-decoration: none;
    opacity: 0.8;
}

/* About Page Specifics */
.about-wrapper {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-contact-header {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
}

.about-contact-text {
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

/* Feedback Page Styles */
.feedback-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Vertically Center */
    min-height: 100vh;
    padding-top: 0;
}

.feedback-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feedback-card h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.feedback-form .form-group {
    margin-bottom: 1.5rem;
}

.feedback-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.feedback-form input,
.feedback-form textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.1);
}

/* Light Mode Overrides for Feedback */
body.light-mode .feedback-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .feedback-form input,
body.light-mode .feedback-form textarea {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-color);
}

body.light-mode .feedback-form input:focus,
body.light-mode .feedback-form textarea:focus {
    background: #fff;
    border-color: var(--primary-color);
}