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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-full {
    padding: 0 60px;
    max-width: 100%;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .container-full {
        padding: 0 24px;
    }
}

/* Navigation */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffffff;
    opacity: 1;
}

.nav-link.active {
    color: #ffffff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #ffffff;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0 80px 60px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.35) 100%);
    z-index: 1;
}

.hero-text-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    position: relative;
    z-index: 2;
    width: 100%;
    align-items: start;
    justify-content: space-between;
    max-width: none;
    padding-right: 0;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    padding-left: 0;
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    max-width: none;
    justify-self: end;
    padding-right: 60px;
}

.hero-left p,
.hero-right p {
    font-size: 42px;
    font-weight: 300;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
    transition: all 0.3s ease;
}

.hero-right p {
    font-size: 40px;
    display: inline-block;
}

.hero-playful p:hover,
.blah-blah:hover {
    transform: translateY(-2px) rotate(0.5deg);
    opacity: 0.85;
}

.hero-extended {
    position: relative;
}

.blah-blah {
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blah-blah:hover {
    letter-spacing: 0.05em;
}

/* Blessing Popup */
.blessing-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0) rotate(-15deg);
    z-index: 9999;
    text-align: center;
    pointer-events: none;
    animation: blessingPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.blessing-popup.hide {
    animation: blessingFadeOut 0.5s ease-out forwards;
}

.blessing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.blessing-image {
    width: 280px;
    height: auto;
    animation: cupidFloat 0.8s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

.blessing-text {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: -0.01em;
    line-height: 1.5;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

@keyframes blessingPop {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(-15deg);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15) rotate(5deg);
    }
    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes blessingFadeOut {
    0% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.3) rotate(15deg);
        opacity: 0;
    }
}

@keyframes cupidFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 24px;
    }
    
    .hero-text-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-left p,
    .hero-right p {
        font-size: 28px;
    }

    .hero-right {
        text-align: left;
        max-width: 100%;
        margin-left: 0;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.8;
}

.hero-background iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.hero-content {
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-description {
    font-size: clamp(20px, 4vw, 32px);
    color: rgba(255, 255, 255, 0.95);
    max-width: 80%;
    margin: 0;
    line-height: 1.7;
    font-weight: 300;
    text-align: left;
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column !important;
        gap: 40px !important;
    }
}

.scroll-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.arrow-icon {
    width: 16px;
    height: 16px;
}

/* Animations */
.fade-in {
    animation: fadeIn 1.2s ease-out forwards;
    opacity: 0;
}

.fade-in-delay {
    animation: fadeIn 1.2s ease-out 0.3s forwards;
    opacity: 0;
}

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Smooth scroll behavior for entire page */
html {
    scroll-behavior: smooth;
}

body {
    scroll-behavior: smooth;
}

/* Projects Section */
.projects-section {
    padding: 180px 0 120px;
    min-height: auto;
}

.section-title {
    font-size: clamp(48px, 7vw, 72px);
    font-weight: 300;
    text-align: left;
    margin-bottom: 80px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

@media (max-width: 768px) {
    .section-title {
        font-size: clamp(36px, 5vw, 48px);
        margin-bottom: 50px;
    }
}

/* Category Filters */
.category-filters {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 60px;
    padding: 0 60px;
}

@media (max-width: 768px) {
    .category-filters {
        padding: 0 24px;
    }
}

.filter-btn {
    padding: 10px 24px;
    background-color: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.filter-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.4);
}

.filter-btn.active {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.filter-btn.active:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 60px 40px;
    margin-bottom: 80px;
    padding: 0 60px;
}

@media (max-width: 768px) {
    .projects-grid {
        padding: 0 24px;
    }
}

.project-card {
    cursor: pointer;
    transition: transform 0.4s ease;
    display: block;
}

.project-card:hover {
    transform: translateY(-8px);
    opacity: 1;
}

.project-thumbnail {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    margin-bottom: 16px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lazy-image {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lazy-image.loaded {
    opacity: 1;
}

.project-card:hover .project-thumbnail {
    opacity: 0.8;
}

.project-card-title {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 8px;
}

.project-card-category {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* Get Personal Clarification */
.get-personal-clarification {
    padding: 0 60px;
    margin-top: 120px;
    text-align: left;
}

.get-personal-clarification p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.personal-link {
    color: #ffffff;
    text-decoration: underline;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.personal-link:hover {
    opacity: 0.8;
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

.personal-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    margin-top: 12px;
    line-height: 1.6;
}

.personal-note em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .get-personal-clarification {
        padding: 0 24px;
    }

    .personal-note {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .personal-note {
        font-size: 11px;
        margin-top: 8px;
    }
}

/* Projects Page */
.projects-page {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.page-title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 300;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: 0.02em;
}

/* Project Detail Page */
.project-detail-page {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.project-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: stretch;
    width: 100%;
}

.project-header {
    text-align: left;
    margin-bottom: 0;
}

.project-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 300;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.project-category {
    display: inline-block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
}

.project-hero-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 0;
}

.project-description {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    margin-top: 16px;
}

.project-description p {
    margin-bottom: 24px;
}

.extra-media {
    margin: 60px 0;
}

.extra-media-item {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 40px;
}

.embed-container {
    margin: 60px 0;
}

.embed-container h3,
.gallery-section h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 24px;
    text-align: center;
}

.embed-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Gallery Section */
.gallery-section {
    margin: 0;
    width: 100%;
}

.gallery-section h3 {
    text-align: left;
    margin-bottom: 24px;
}

.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.gallery-viewer {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.gallery-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
    pointer-events: none;
}

.gallery-btn {
    width: 48px;
    height: 48px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    font-family: inherit;
}

.gallery-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
}

.gallery-thumbnails {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 0 8px 0;
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: contain;
    object-position: center;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 2px solid transparent;
    background-color: rgba(255, 255, 255, 0.02);
}

.thumbnail:hover {
    opacity: 0.8;
}

.thumbnail.active {
    opacity: 1;
    border-color: #ffffff;
}

/* Iridescence Page */
.iridescence-page {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.iridescence-content {
    text-align: center;
}

.media-container {
    margin: 60px 0;
}

.centered-media {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    margin: 0 auto;
    display: block;
}

.placeholder-media {
    padding: 120px 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.additional-media {
    margin: 60px 0;
}

/* Error Message */
.error-message {
    text-align: center;
    padding: 120px 40px;
}

.error-message h1 {
    font-size: 36px;
    margin-bottom: 16px;
}

.error-message p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
}

.button {
    display: inline-block;
    padding: 12px 32px;
    background-color: #ffffff;
    color: #000000;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    opacity: 1;
}

/* Contact Section */
.contact-section {
    padding: 180px 0 120px;
}

.social-links {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 80px;
    margin-top: 80px;
    flex-wrap: wrap;
    padding: 0 60px;
}

@media (max-width: 768px) {
    .social-links {
        padding: 0 24px;
        gap: 50px;
    }
}

.contact-link {
    font-size: 18px;
    color: #ffffff;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 3px;
    font-weight: 300;
    text-transform: lowercase;
}

.contact-link:hover {
    opacity: 0.7;
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

/* Footer */
.site-footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0;
}

.site-footer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* About Page */
.about-page {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.about-intro {
    text-align: center;
    margin-bottom: 80px;
}

.about-lead {
    font-size: clamp(18px, 3vw, 24px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

.about-section-title {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 400;
    margin-bottom: 32px;
    letter-spacing: 0.02em;
}

.about-bio,
.about-skills,
.about-approach,
.about-cta {
    margin-bottom: 80px;
}

.bio-content p,
.approach-content p {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.skill-category h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-category li:last-child {
    border-bottom: none;
}

.about-cta {
    text-align: center;
}

.cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

/* Page Transitions */
body {
    animation: pageIn 0.5s ease-out;
}

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

/* Responsive Design - Tablet (768px and below) */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 24px;
    }

    .hero-section {
        padding: 60px 24px;
    }

    .projects-section,
    .projects-page,
    .project-detail-page,
    .iridescence-page,
    .about-page {
        padding: 100px 0 60px;
    }

    .section-title,
    .page-title {
        font-size: clamp(32px, 5vw, 48px);
        margin-bottom: 40px;
    }

    .embed-container iframe {
        height: 400px;
    }

    .site-nav {
        padding: 16px 0;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-link {
        font-size: 12px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .social-links {
        gap: 16px;
        padding: 0 24px;
    }

    .category-filters {
        gap: 8px;
        padding: 0 24px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .get-personal-clarification {
        padding: 0 24px;
        margin-top: 80px;
    }

    .get-personal-clarification p {
        font-size: 16px;
    }

    .hero-left p,
    .hero-right p {
        font-size: 24px;
    }

    .hero-text-wrapper {
        gap: 40px;
    }
}

/* Responsive Design - Mobile (480px and below) */
@media (max-width: 480px) {
    html {
        scroll-padding-top: 70px;
    }

    body {
        font-size: 14px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }

    .hero-section {
        padding: 40px 16px;
        min-height: 80vh;
    }

    .hero-text-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-left p,
    .hero-right p {
        font-size: 20px;
    }

    .hero-right {
        text-align: left;
        max-width: 100%;
        margin-left: 0;
    }

    .projects-section,
    .projects-page,
    .project-detail-page,
    .iridescence-page,
    .about-page {
        padding: 80px 0 40px;
    }

    .section-title {
        font-size: clamp(24px, 4vw, 36px);
        margin-bottom: 24px;
        padding: 0 16px;
    }

    .page-title {
        font-size: clamp(20px, 4vw, 32px);
        margin-bottom: 24px;
    }

    .category-filters {
        gap: 6px;
        padding: 0 16px;
        margin-bottom: 40px;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .site-nav {
        padding: 12px 0;
    }

    .site-nav .container {
        padding: 0 16px;
    }

    .nav-brand {
        font-size: 16px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-link {
        font-size: 11px;
    }

    .project-card {
        transition: transform 0.3s ease;
    }

    .project-card:active {
        transform: translateY(-4px);
    }

    .project-thumbnail {
        height: 200px;
        margin-bottom: 12px;
    }

    .project-card-title {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .project-card-category {
        font-size: 12px;
    }

    .embed-container iframe {
        height: 300px;
    }

    .gallery-viewer {
        height: 300px;
    }

    .gallery-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .project-title {
        font-size: clamp(24px, 4vw, 36px);
        margin-bottom: 16px;
    }

    .project-description {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .social-links {
        gap: 20px;
        padding: 0 16px;
        margin-top: 40px;
    }

    .contact-link {
        font-size: 14px;
    }

    .contact-section {
        padding: 120px 0 80px;
    }

    .who-i-am-content {
        padding: 0 16px;
        flex-direction: column;
    }

    .who-i-am-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .who-i-am-bio {
        width: 100%;
    }

    .who-i-am-bio h3 {
        font-size: 18px;
    }

    .who-i-am-bio p {
        font-size: 13px;
        line-height: 1.6;
    }

    .about-lead {
        font-size: 14px;
        max-width: 100%;
    }

    .bio-content p,
    .approach-content p {
        font-size: 14px;
    }

    .skill-category h3 {
        font-size: 16px;
    }

    .skill-category li {
        font-size: 14px;
    }

    .get-personal-clarification {
        padding: 0 16px;
        margin-top: 60px;
    }

    .get-personal-clarification p {
        font-size: 14px;
    }

    .cta-text {
        font-size: 14px;
    }

    .pomegranate-modal-image {
        max-height: 70vh;
    }

    .pomegranate-modal-button {
        padding: 8px 16px;
        font-size: 12px;
    }

    .about-section-title {
        font-size: clamp(18px, 3vw, 24px);
    }

    /* Archive Grid Mobile */
    .archive-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }

    .archive-card {
        padding: 16px;
    }

    .archive-card-image {
        height: 200px;
        margin-bottom: 12px;
    }

    .archive-card-title {
        font-size: 16px;
    }

    .archive-card-medium {
        font-size: 12px;
    }

    .archive-card-year {
        font-size: 12px;
    }

    .archive-card-description {
        font-size: 12px;
    }

    .archive-page {
        padding: 80px 0 40px;
    }

    .archive-section-title {
        font-size: clamp(20px, 3vw, 28px);
        padding: 0 16px;
    }

    .archive-subtitle {
        font-size: 14px;
        padding: 0 16px;
        margin-bottom: 40px;
    }

    /* Pomegranate Modal Mobile */
    .pomegranate-modal-content {
        width: 95%;
        padding: 20px;
    }

    .blessing-image {
        width: 180px;
    }

    .blessing-text {
        font-size: 16px;
    }

    .site-footer {
        padding: 40px 0;
    }

    .site-footer p {
        font-size: 12px;
        padding: 0 16px;
    }
}

/* Archive Page Styles */
.archive-page {
    padding: 100px 0 60px;
}

.archive-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 800px;
    margin-bottom: 80px;
    line-height: 1.6;
    animation: fadeIn 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.archive-grid-section {
    margin-bottom: 60px;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 48px;
    margin-bottom: 40px;
}

.archive-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 2px;
    display: block;
    text-decoration: none;
}

.archive-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    opacity: 0.9;
}

.archive-card-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.archive-card-title {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.4;
    margin: 0;
    color: white;
}

.archive-card-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-weight: 600;
}

.archive-card-medium {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.archive-card-year {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.archive-card-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    margin: 8px 0 0 0;
}

@media (max-width: 768px) {
    .archive-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 32px;
    }

    .archive-card {
        padding: 24px;
    }

    .archive-page {
        padding: 80px 0 60px;
    }

    .archive-subtitle {
        margin-bottom: 60px;
    }
}

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

    .archive-card {
        padding: 20px;
    }

    .archive-card-title {
        font-size: 16px;
    }
}

/* Archive card thumbnail styling */
.archive-card-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    object-position: center;
    margin-bottom: 16px;
    border-radius: 2px;
}

/* Pomo Jump Game Link */
.footer-game-link {
    text-align: center;
    margin-bottom: 40px;
}

.pomo-game-link {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    letter-spacing: 0.02em;
    font-weight: 300;
}

.pomo-game-link:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .pomo-game-link {
        font-size: 14px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .footer-game-link {
        margin-bottom: 30px;
    }

    .pomo-game-link {
        font-size: 12px;
        padding: 5px 10px;
    }
}
