/* SunFlare94 — Modern AMOLED Dark Theme */
:root {
    --primary: #e3b779;
    --primary-dark: #c9a060;
    --primary-glow: rgba(227, 183, 121, 0.15);
    --secondary: #9acd32;
    --secondary-dark: #7ab828;
    --bg-dark: #000000;
    --bg-card: #0c0c0c;
    --bg-card-hover: #111111;
    --bg-section-alt: #050505;
    --text-light: #f0f0f0;
    --text-muted: #9acd32;
    --text-dim: #9acd32;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(227, 183, 121, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Page Loader ─── */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(154, 205, 50, 0.15);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1rem;
}

.loader-text {
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

html {
    font-size: 15px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html { font-size: 16px; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: url('/images/background.jpg') center top / cover no-repeat fixed;
    color: var(--text-light);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: -1;
    pointer-events: none;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--secondary); }

img { max-width: 100%; display: block; }

/* ─── Navbar ─── */
.navbar {
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.75rem 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.3px;
}

.navbar-brand:hover { color: var(--primary) !important; }

.navbar-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    transition: box-shadow var(--transition);
}

.navbar-brand:hover .navbar-logo {
    box-shadow: 0 0 12px var(--primary-glow);
}

.navbar .nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.5rem 1rem !important;
    letter-spacing: 0.2px;
    transition: color var(--transition);
    position: relative;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all var(--transition);
    transform: translateX(-50%);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary) !important;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 60%;
}

.navbar-toggler {
    border: 1px solid var(--border-subtle);
    padding: 0.4rem 0.65rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(227, 183, 121, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-admin {
    opacity: 0.35;
    font-size: 0.75rem !important;
    transition: opacity var(--transition);
}

.nav-admin:hover { opacity: 1 !important; }

/* ─── Hero Section ─── */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.6;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-about {
    margin-top: 1.5rem;
    text-align: left;
}

.hero-about p {
    color: #e3b779;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
    font-weight: 600;
    font-style: italic;
}

.hero-about p:last-child {
    margin-bottom: 0;
}

.hero-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--primary);
    box-shadow: 0 0 60px var(--primary-glow);
}

.hero-subtitle {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--secondary);
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 200;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-light);
    letter-spacing: -2px;
}

.hero-title .highlight {
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1rem;
    color: #e3b779;
    max-width: 480px;
    margin: 0 auto 0.6rem;
    line-height: 1.8;
    font-weight: 300;
}

.hero-tagline {
    font-size: 0.9rem;
    color: #e3b779;
    font-style: italic;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.hero-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    letter-spacing: 0.3px;
    transition: all var(--transition);
    cursor: pointer;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(227, 183, 121, 0.3);
    background: var(--primary);
    color: #000;
}

.social-btn {
    background: transparent;
    border: 1px solid var(--border-subtle) !important;
    color: var(--text-light) !important;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    transition: all var(--transition);
}

.social-btn:hover {
    transform: translateY(-2px);
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    box-shadow: 0 4px 20px rgba(227, 183, 121, 0.1);
}

/* ─── Thought ─── */
.thought-container {
    max-width: 600px;
    margin: 2rem auto 2.5rem;
    padding: 1.5rem 2rem;
    background: rgba(227, 183, 121, 0.04);
    border-radius: var(--radius-sm);
    text-align: center;
}

.thought-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.thought-text {
    font-size: 1rem;
    color: var(--primary);
    font-style: italic;
    font-weight: 700;
    line-height: 1.8;
    margin: 0;
}

/* ─── Sections ─── */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--bg-section-alt);
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 0.8rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--primary);
    margin-top: 0.8rem;
}

.section-title-center::after {
    margin-left: 0;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
}

/* ─── About ─── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.about-text p {
    color: #e3b779;
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 1.2rem;
    font-weight: 600;
    font-style: italic;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition);
}

.stat-box:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ─── Work Grid ─── */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.work-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.work-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.work-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    background: var(--bg-card-hover);
}

.work-card:hover::before {
    opacity: 1;
}

.work-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.work-card p {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}

/* ─── Support ─── */
.support-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 700px;
}

.support-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition);
}

.support-card:hover {
    border-color: var(--border-hover);
}

.support-card h3 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.support-qr {
    width: 160px;
    height: 160px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    margin: 0 auto 1rem;
    background: #fff;
    padding: 8px;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}

.support-qr:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(227, 183, 121, 0.2);
}

.support-qr.expanded {
    transform: scale(2.2);
    box-shadow: 0 15px 60px rgba(227, 183, 121, 0.35);
    z-index: 10;
    position: relative;
}

.support-detail {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
    word-break: break-all;
    font-weight: 400;
    font-family: 'Courier New', monospace;
}

.support-note {
    text-align: center;
    color: var(--text-dim);
    font-style: italic;
    font-size: 0.85rem;
    margin-top: 1.5rem;
}

/* ─── Contact ─── */
.contact-section {
    text-align: center;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    letter-spacing: 0.3px;
    transition: all var(--transition);
}

.contact-btn:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(227, 183, 121, 0.25);
}

/* ─── Footer ─── */
.site-footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-subtle);
    padding: 2rem 0;
    color: var(--text-dim);
    font-size: 0.75rem;
    letter-spacing: 0.3px;
}

/* ─── Gallery ─── */
.gallery-section {
    padding: 8rem 0 4rem;
    min-height: 100vh;
}

.gallery-filters {
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(227, 183, 121, 0.05);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition);
}

.gallery-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.gallery-image-wrapper {
    width: 100%;
    height: 100%;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    transform: translateY(10px);
    opacity: 0;
    transition: all var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.2rem;
    color: var(--primary);
}

.gallery-overlay p {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin: 0;
}

.gallery-desc {
    margin-top: 0.4rem !important;
    font-size: 0.68rem !important;
    line-height: 1.5;
}

/* ─── Apps ─── */
.apps-section {
    padding: 8rem 0 4rem;
    min-height: 100vh;
}

.apps-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.app-card-full {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all var(--transition);
}

.app-card-full:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.app-card-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.8rem;
}

.app-card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    background: rgba(227, 183, 121, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.app-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-icon-placeholder {
    font-size: 1.8rem;
}

.app-card-meta h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.3rem;
    color: var(--text-light);
}

.app-platform-badge {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--secondary);
    font-weight: 600;
    background: rgba(227, 183, 121, 0.08);
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    margin-right: 0.3rem;
}

.app-price-badge {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(227, 183, 121, 0.12);
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    margin-right: 0.3rem;
}

.app-free-badge {
    font-size: 0.6rem;
    font-weight: 600;
    color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    margin-right: 0.3rem;
}

.app-trial-badge {
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
}

.app-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 0.8rem;
    line-height: 1.6;
    font-weight: 300;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.app-feature-tag {
    font-size: 0.7rem;
    color: var(--secondary);
    background: rgba(227, 183, 121, 0.06);
    border: 1px solid rgba(227, 183, 121, 0.12);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-weight: 400;
}

.app-screenshots {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.app-screenshot {
    height: 180px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    object-fit: contain;
    flex-shrink: 0;
}

.app-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ─── Buttons ─── */
.btn {
    display: inline-block;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    transition: all var(--transition);
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}

.btn-outline {
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 50px;
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: #000;
}

.btn-outline-primary {
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 50px;
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: #000;
}

.btn-primary {
    background: transparent !important;
    border: 1px solid var(--primary) !important;
    color: var(--primary) !important;
    border-radius: 50px;
}

.btn-primary:hover {
    background: var(--primary) !important;
    color: #000 !important;
}

.contact-email-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 50px;
    text-decoration: none;
    transition: all var(--transition);
}

.contact-email-btn:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-2px);
}

/* ─── Focus ─── */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.15rem rgba(227, 183, 121, 0.25);
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: var(--primary-dark); border-radius: 3px; }

/* ─── Selection ─── */
::selection {
    background: rgba(227, 183, 121, 0.25);
    color: #fff;
}

/* ─── Admin Login ─── */
.admin-login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem;
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 380px;
}

.login-title {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 1.8rem;
    color: var(--primary);
    text-align: center;
}

.error-text {
    color: #ef4444;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-input::placeholder {
    color: var(--text-dim);
}

.login-btn {
    width: 100%;
    margin-top: 0.3rem;
    padding: 0.75rem;
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23777' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

textarea.form-input {
    resize: vertical;
    min-height: 80px;
}

/* ─── Admin Dashboard ─── */
.admin-section {
    padding: 8rem 1.5rem;
    min-height: 100vh;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.admin-header h1 {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin: 0;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem 1.2rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
}

.admin-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    color: inherit;
}

.admin-card-icon {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.admin-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--primary);
}

.admin-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 300;
}

.admin-stats {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.2rem 2.5rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 600;
}

/* ─── Admin Forms ─── */
.upload-form {
    max-width: 480px;
}

.success-text {
    color: var(--secondary);
    font-size: 0.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* ─── Manage Content ─── */
.manage-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary);
    margin: 1.5rem 0 0.8rem;
    letter-spacing: 0.3px;
}

.manage-grid {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.manage-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    transition: border-color var(--transition);
}

.manage-item:hover {
    border-color: var(--border-hover);
}

.manage-thumb {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
}

.manage-info {
    flex: 1;
}

.manage-info h4 {
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0 0 0.15rem;
}

.manage-info p {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin: 0;
}

.btn-delete {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}

.btn-delete:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

.empty-text {
    color: var(--text-dim);
    font-size: 0.85rem;
    font-style: italic;
    text-align: center;
    padding: 3rem 0;
}

/* ─── Preview Modal ─── */
.preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.preview-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.preview-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
}

.preview-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-md);
    object-fit: contain;
}

.preview-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color var(--transition);
}

.preview-close:hover {
    color: var(--primary);
}

.preview-title {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .hero-section {
        padding: 5rem 1.5rem 3rem;
    }

    .hero-title {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: 3.5rem 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .support-cards {
        grid-template-columns: 1fr;
    }

    .admin-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-filters {
        justify-content: center;
    }
}
