/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #161616;
    --bg-tertiary: #1f1f1f;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #ffffff;
    --accent-hover: #e0e0e0;
    --transition-speed: 0.3s;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
.header {
    text-align: center;
    margin-bottom: 4rem;
    padding-top: 1rem;
}

.site-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Segmented Control - iOS Style */
.toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.toggle-switch {
    position: relative;
    display: inline-flex;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 4px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.08),
        inset 0 -1px 1px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.toggle-switch input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.toggle-label {
    position: relative;
    padding: 0.7rem 1.6rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    white-space: nowrap;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.toggle-label:last-of-type {
    border-right: none;
}

.toggle-label:hover {
    color: rgba(255, 255, 255, 0.8);
}

.toggle-switch input[type="radio"]:checked + .toggle-label {
    color: var(--bg-primary);
}

/* Sliding background pill */
.toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    width: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.95) 100%
    );
    border-radius: 10px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    box-shadow:
        0 4px 12px rgba(255, 255, 255, 0.2),
        0 2px 6px rgba(255, 255, 255, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.8);
    pointer-events: none;
}

/* Year Filter Buttons */
.year-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.year-btn {
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-smooth);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.year-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.year-btn.active {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--bg-primary);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.2),
                inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

/* Gallery Grid */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    animation: fadeIn 0.6s var(--transition-smooth);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-speed) var(--transition-smooth),
                box-shadow var(--transition-speed) var(--transition-smooth),
                background var(--transition-speed) var(--transition-smooth),
                border-color var(--transition-speed) var(--transition-smooth);
    animation: slideUp 0.5s var(--transition-smooth) backwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item:nth-child(1) { animation-delay: 0.05s; }
.gallery-item:nth-child(2) { animation-delay: 0.1s; }
.gallery-item:nth-child(3) { animation-delay: 0.15s; }
.gallery-item:nth-child(4) { animation-delay: 0.2s; }
.gallery-item:nth-child(5) { animation-delay: 0.25s; }
.gallery-item:nth-child(6) { animation-delay: 0.3s; }

.gallery-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.1),
                0 4px 16px rgba(0, 0, 0, 0.3);
}

.gallery-item-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    background: var(--bg-tertiary);
    transition: transform var(--transition-speed) var(--transition-smooth),
                filter var(--transition-speed) var(--transition-smooth);
}

.gallery-item:hover .gallery-item-image {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.gallery-item-info {
    padding: 1.25rem;
}

.gallery-item-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.gallery-item-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Enhanced Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    animation: fadeInLightbox 0.3s var(--transition-smooth);
}

@keyframes fadeInLightbox {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox.active {
    display: block;
}

/* Scrollable Container */
.lightbox-scroll-container {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 6rem 3rem 2rem;
    cursor: pointer;
}

.lightbox-scroll-container::-webkit-scrollbar {
    width: 8px;
}

.lightbox-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.lightbox-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.lightbox-scroll-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-content {
    max-width: 1200px;
    margin: 0 auto;
    animation: slideUpFade 0.4s var(--transition-smooth);
    transition: opacity 0.3s var(--transition-smooth);
    cursor: default;
}

@keyframes slideUpFade {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Main Image */
.lightbox-main-image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

#lightbox-img {
    width: 100%;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    transition: opacity 0.3s var(--transition-smooth);
}

/* Info Panel */
.lightbox-info-panel {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

#lightbox-title {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    padding-right: 8rem;
    color: var(--text-primary);
}

#lightbox-full-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Software Pill - Top Right */
.lightbox-software-pill {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 200px;
    justify-content: flex-end;
}

.software-badge {
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
}

.software-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.12);
}

/* Metadata - Hidden by default */
.lightbox-metadata {
    display: none;
}

.metadata-item {
    display: none;
}

.metadata-label {
    display: none;
}

.metadata-value {
    display: none;
}

/* Tags */
.lightbox-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* Related Images Section - Stacked Vertically */
.lightbox-related-images {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.related-image-item {
    width: 100%;
    display: flex;
    justify-content: center;
}

.related-image-item img {
    width: 100%;
    max-height: 90vh;
    object-fit: contain;
    display: block;
}

.lightbox-close {
    position: fixed;
    top: 2rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
    padding: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.lightbox-close::before {
    content: '✕';
    font-weight: 300;
    font-size: 1.2rem;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.lightbox-close:active {
    transform: scale(0.98);
}

.lightbox-close-left {
    left: 2rem;
}

.lightbox-close-right {
    right: 2rem;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 3rem;
    cursor: pointer;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    transition: all var(--transition-speed) var(--transition-smooth);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.05);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

/* Comic Reader */
.comic-reader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 2000;
    overflow: hidden;
    animation: fadeInLightbox 0.3s var(--transition-smooth);
}

.comic-reader.active {
    display: flex;
    flex-direction: column;
}

.comic-reader-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 2rem;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2001;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.comic-reader-header.hidden {
    transform: translateY(-100%);
}

.comic-reader-title-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

#comic-reader-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
}

.comic-reader-page-counter {
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.comic-reader-close {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
    padding: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.comic-reader-close::before {
    content: '✕';
    font-weight: 300;
    font-size: 1.2rem;
}

.comic-reader-close:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.comic-reader-close:active {
    transform: scale(0.98);
}

/* Scroll to Top Button */
.comic-scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

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

.comic-scroll-to-top:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.comic-scroll-to-top:active {
    transform: translateY(-2px) scale(1);
}

.comic-reader-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 0 2rem 0;
    gap: 0;
    transition: padding-top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.comic-reader-content.header-hidden {
    padding-top: 20px;
}

.comic-reader-content::-webkit-scrollbar {
    width: 8px;
}

.comic-reader-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.comic-reader-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.comic-reader-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.comic-page {
    width: 100%;
    max-width: 1000px;
    display: block;
    margin: 0;
    animation: fadeIn 0.3s var(--transition-smooth);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .site-title {
        font-size: 2rem;
    }

    .toggle-container {
        padding: 0 1rem;
    }

    .toggle-switch {
        padding: 3px;
    }

    .toggle-label {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .year-filters {
        gap: 0.75rem;
    }

    .year-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }

    .lightbox-nav {
        font-size: 2rem;
        padding: 0.5rem 1rem;
    }

    .lightbox-prev {
        left: 1rem;
    }

    .lightbox-next {
        right: 1rem;
    }

    .lightbox-close {
        top: 1rem;
        font-size: 1.6rem;
        width: 44px;
        height: 44px;
    }

    .lightbox-close-left {
        left: 1rem;
    }

    .lightbox-close-right {
        right: 1rem;
    }

    .lightbox-scroll-container {
        padding: 5rem 1.5rem 1rem;
    }

    .lightbox-info-panel {
        padding: 1.5rem;
    }

    #lightbox-title {
        font-size: 1.5rem;
    }

    #lightbox-full-description {
        font-size: 1rem;
    }

    .lightbox-metadata {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    #lightbox-img {
        max-height: 70vh;
    }

    .related-image-item img {
        max-height: 70vh;
    }

    .lightbox-main-image {
        margin-bottom: 1.5rem;
    }

    .lightbox-related-images {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr;
    }

    .toggle-container {
        padding: 0 0.5rem;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }

    .toggle-container::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

    .toggle-switch {
        min-width: max-content;
        padding: 3px;
    }

    .toggle-label {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
        border-right-width: 1px;
    }

    .toggle-slider {
        top: 3px;
        left: 3px;
        height: calc(100% - 6px);
        border-radius: 8px;
    }

    .comic-reader-header {
        padding: 1rem;
    }

    #comic-reader-title {
        font-size: 1.2rem;
    }

    .comic-reader-close {
        width: 40px;
        height: 40px;
    }

    .comic-reader-close::before {
        font-size: 1rem;
    }

    .comic-reader-content {
        margin-top: 70px;
        padding: 1rem 0;
    }

    .comic-scroll-to-top {
        width: 48px;
        height: 48px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .lightbox-info-panel {
        padding: 1.5rem;
    }

    #lightbox-title {
        font-size: 1.5rem;
        padding-right: 6rem;
    }

    .lightbox-software-pill {
        top: 1.5rem;
        right: 1.5rem;
        max-width: 150px;
    }

    .software-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.7rem;
    }

    .lightbox-scroll-container {
        padding: 5rem 1rem 1rem;
    }

    .lightbox-main-image {
        margin-bottom: 1rem;
    }

    .lightbox-related-images {
        gap: 1rem;
    }

    .lightbox-info-panel {
        margin-top: 2rem;
    }

    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading state */
.gallery.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* ==================== NAVIGATION ==================== */
.nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0 1rem;
    margin-bottom: 1rem;
}

.nav-link {
    position: relative;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color var(--transition-speed) var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transform: translateX(-50%);
    transition: width var(--transition-speed) var(--transition-smooth);
}

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

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

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

/* ==================== PAGE HEADER ==================== */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-top: 1rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* ==================== ABOUT PAGE ==================== */
.about-section,
.social-section,
.contact-section {
    margin-bottom: 6rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-primary);
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.about-image-container {
    display: flex;
    justify-content: center;
}

.about-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Social Grid - Optimized for 6 cards */
.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .social-grid {
        grid-template-columns: 1fr;
    }
}

.social-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition-speed) var(--transition-smooth);
    cursor: pointer;
}

.social-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

.social-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.social-icon svg {
    width: 100%;
    height: 100%;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-card:hover .social-icon svg {
    transform: scale(1.1);
}

/* Brand Colors on Hover */
.social-card:nth-child(1):hover .social-icon svg {
    color: #E4405F; /* Instagram */
}

.social-card:nth-child(2):hover .social-icon svg {
    color: #13AFF0; /* ArtStation */
}

.social-card:nth-child(3):hover .social-icon svg {
    color: #1DA1F2; /* Twitter/X */
}

.social-card:nth-child(4):hover .social-icon svg {
    color: #FF424D; /* Patreon */
}

.social-card:nth-child(5):hover .social-icon svg {
    color: #43E55E; /* Linktree */
}

.social-card:nth-child(6):hover .social-icon svg {
    color: #5865F2; /* Discord */
}

.social-card h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.social-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Contact Info Header */
.contact-info-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.5rem;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-quick-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.quick-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-info-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateX(4px);
}

.quick-info-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.quick-info-content h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.quick-info-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.contact-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.contact-email {
    font-size: 1.3rem;
    color: var(--accent);
    text-decoration: none;
    margin-bottom: 1rem;
    display: inline-block;
    transition: opacity var(--transition-speed) var(--transition-smooth);
}

.contact-email:hover {
    opacity: 0.8;
}

.contact-subtext {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Contact Form */
.contact-form-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    padding: 0.85rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-speed) var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-smooth);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.submit-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Form Status Messages */
.form-status {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    display: none;
    animation: slideDown 0.3s var(--transition-smooth);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-status.success {
    display: block;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.form-status.loading {
    display: block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-secondary);
}

/* ==================== COMMISSIONS PAGE ==================== */

/* Status Card */
.status-section {
    margin-bottom: 6rem;
    display: flex;
    justify-content: center;
}

.status-card {
    padding: 2rem 3rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.status-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ef4444;
    animation: pulse 2s ease-in-out infinite;
}

.status-card.open .status-indicator {
    background: #22c55e;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.status-card h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.status-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Pricing Section */
.pricing-section {
    margin-bottom: 6rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Keep featured card in first row, second position */
    .price-card.featured {
        order: 2;
    }

    .price-card:first-child {
        order: 1;
    }

    .price-card:last-child {
        order: 3;
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .price-card:last-child {
        grid-column: auto;
        max-width: none;
    }
}

.price-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all var(--transition-speed) var(--transition-smooth);
}

.price-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.price-card.featured {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.4rem 1.2rem;
    background: var(--accent);
    color: var(--bg-primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
}

.price-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-header h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent);
}

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-features li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.pricing-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-style: italic;
    margin-top: 2rem;
}

/* Process Section */
.process-section {
    margin-bottom: 6rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Connecting arrows between steps */
.process-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.15) 100%
    );
    z-index: 0;
}

.process-step {
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

/* Arrow after each step except last */
.process-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -1.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15),
        rgba(255, 255, 255, 0.08)
    );
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.process-step h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Tablet: 2x2 grid with vertical flow */
@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .process-grid::before {
        display: none;
    }

    .process-step:nth-child(1)::after,
    .process-step:nth-child(3)::after {
        content: '→';
        right: -2rem;
    }

    .process-step:nth-child(2)::after {
        content: '↓';
        right: auto;
        bottom: -2.5rem;
        top: auto;
        transform: none;
    }

    .process-step:nth-child(4)::after {
        display: none;
    }
}

/* Mobile: Vertical stack */
@media (max-width: 600px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .process-step:not(:last-child)::after {
        content: '↓';
        right: auto;
        bottom: -1.75rem;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Terms Section */
.terms-section {
    margin-bottom: 6rem;
}

.terms-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.terms-column h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.terms-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.terms-list li {
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.terms-list.yes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
    font-size: 1.2rem;
}

.terms-list.no li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: bold;
    font-size: 1.2rem;
}

.terms-notes {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.terms-notes h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.terms-notes ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.terms-notes li {
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.terms-notes li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: var(--accent);
    font-size: 1.5rem;
}

/* CTA Section */
.cta-section {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}

.cta-card {
    padding: 3rem 4rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    text-align: center;
    max-width: 600px;
}

.cta-card h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all var(--transition-speed) var(--transition-smooth);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.cta-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* ==================== RESPONSIVE - NEW PAGES ==================== */
@media (max-width: 768px) {
    .nav {
        gap: 1rem;
    }

    .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        width: 250px;
        height: 250px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .terms-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-card {
        padding: 2rem;
    }

    .cta-card h2 {
        font-size: 1.5rem;
    }

    .cta-card p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .nav {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .about-image {
        width: 200px;
        height: 200px;
    }

    .contact-form-container {
        padding: 1.5rem;
    }
}
