/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Theme Variables */
:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --secondary-text: #666666;
    --border-color: rgba(0, 0, 0, 0.1);
    --card-bg: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --hover-shadow: rgba(0, 0, 0, 0.2);
    --text-color-rgb: 0, 0, 0;
}

[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
    --secondary-text: #a0a0a0;
    --border-color: rgba(255, 255, 255, 0.1);
    --card-bg: #2d2d2d;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --hover-shadow: rgba(0, 0, 0, 0.4);
    --text-color-rgb: 255, 255, 255;
}

.menu-toggle {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: 100;
}

.nav-links.active a {
    font-size: 2rem;
    margin: 1rem 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Blog page: remove body centering so .container works */
body.blog-page {
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Header */
header {
    padding: 2rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
}
.logo img {
    height: 50px;
    width: auto;
}
.logo img.dark-mode {
    display: none;
}
[data-theme="dark"] .logo img.dark-mode {
    display: inline;
}
[data-theme="dark"] .logo img.light-mode {
    display: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1rem;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Profile Section */
.profile {
    text-align: center;
    padding: 4rem 0;
}

.profile-image {
    margin-bottom: 2rem;
}

.avatar-container {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.hover-counter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.avatar-container:hover .hover-counter {
    opacity: 1;
}

.snake-game {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.snake-game.active {
    opacity: 1;
    visibility: visible;
}

.score-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 48px;
    font-weight: bold;
    pointer-events: none;
    z-index: 2;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.snake-head {
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    transition: all 0.1s ease;
    z-index: 3;
}

.snake-body {
    position: absolute;
    pointer-events: none;
}

.snake-body-part {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transition: all 0.1s ease;
}

.food {
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px white;
}

.profile h1 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.bio {
    font-size: 1.1rem;
    color: var(--secondary-text);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-link {
    color: var(--text-color);
    font-size: 1.2rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.letterboxd-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-link:hover .letterboxd-icon {
    transform: scale(1.1);
}

/* Dark theme adjustments */
[data-theme="dark"] .letterboxd-icon {
    color: var(--text-color);
}

/* Gallery Section */
.gallery-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    margin: -2rem -1rem 4rem -1rem;
    padding: 3rem 2rem;
    overflow-x: auto;
    position: relative;
    margin-left: 4rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.gallery-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.gallery-item {
    flex: 0 0 300px;
    height: 222px;
    border-radius: 12px;
    overflow: hidden;
    transform: rotate(-5deg);
    transition: all 0.3s ease;
    margin-right: -4rem;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px var(--shadow-color);
    background: #000; /* Changed from #fff to #000 to avoid white edges */
    cursor: pointer;
}

.gallery-item:nth-child(2n) {
    transform: rotate(3deg);
}

.gallery-item:nth-child(3n) {
    transform: rotate(-3deg);
}

.gallery-item:nth-child(4n) {
    transform: rotate(5deg);
}

.gallery-item:hover {
    transform: rotate(0) scale(1.1) translateY(-10px);
    z-index: 1;
    box-shadow: 0 10px 25px var(--hover-shadow);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Remove any inline spacing */
    transition: transform 0.3s ease;
}

/* Experience Section */
.experiences {
    margin-bottom: 4rem;
}

h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.experience-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.experience-item img {
    height: 40px;
    width: auto;
}

/* Projects Section */
.projects {
    margin-bottom: 4rem;
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: var(--card-bg);
    box-shadow: 0 2px 8px var(--shadow-color);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: visible;
    text-decoration: none;
    display: block;
}

.project-logo {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
}

.project-logo img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.project-details {
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px var(--shadow-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--text-color);
}

.project-item:hover .project-details {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.project-header {
    margin-bottom: 1rem;
}

.project-header h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.project-period {
    font-size: 0.9rem;
    color: var(--secondary-text);
}

.project-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--secondary-text);
}

/* Ensure the details card appears above the logo when hovering */
.project-item:hover {
    z-index: 100;
}

.project-item.coming-soon {
    position: relative;
    cursor: default;
}

.project-item.coming-soon .project-logo {
    filter: blur(2px) grayscale(80%);
}

.coming-soon-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(var(--bg-color-rgb), 0.7);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-align: center;
}

/* Theme Toggle */
.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 0 16px;
    }

    /* Header mobile styles */
    .nav-links {
        display: none; /* Hide default nav */
    }

    .menu-toggle {
        display: block; /* Show hamburger menu */
        z-index: 101; /* Ensure it's above the overlay */
    }

    /* Profile section mobile styles */
    .profile {
        padding: 2rem 0;
    }

    .profile h1 {
        font-size: 1.8rem;
    }

    .bio {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Gallery mobile styles */
    .gallery-grid {
        margin: -1rem -1rem 2rem -1rem;
        padding: 2rem 1rem;
        margin-left: 2rem;
    }

    .gallery-item {
        flex: 0 0 260px;
        height: 180px;
        margin-right: -3rem;
    }

    /* Projects mobile styles */
    .projects-grid {
        justify-content: center;
        gap: 1.5rem;
    }

    .project-details {
        width: 280px;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
    }

    .project-item:hover .project-details {
        transform: translateX(-50%) translateY(0);
    }

    /* Ensure project details don't overflow on mobile */
    .project-item {
        position: static;
    }

    .project-details {
        position: fixed;
        bottom: 20px;
        top: auto;
        max-height: 80vh;
        overflow-y: auto;
    }

    /* Experience section mobile styles */
    .experience-grid {
        justify-content: center;
        gap: 1.5rem;
    }

    h2 {
        text-align: center;
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .profile {
        padding: 1.5rem 0;
    }

    .avatar {
        width: 140px;
        height: 140px;
    }

    .gallery-item {
        flex: 0 0 220px;
        height: 160px;
        margin-right: -2.5rem;
    }

    .project-details {
        width: calc(100% - 32px);
        bottom: 16px;
        left: 16px;
        right: 16px;
        transform: translateX(0) translateY(10px);
        border-radius: 8px;
    }

    .project-item:hover .project-details {
        transform: translateX(0) translateY(0);
    }

    .social-links {
        gap: 1rem;
    }

    .social-link {
        font-size: 1.1rem;
    }
}

/* Landscape orientation fixes */
@media (max-height: 600px) and (orientation: landscape) {
    .project-details {
        max-height: 70vh;
    }

    .profile {
        padding: 1rem 0;
    }

    .avatar {
        width: 120px;
        height: 120px;
    }
}

.theme-lock-warning {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

[data-theme="dark"] .theme-lock-warning {
    background: rgba(255, 255, 255, 0.9);
    color: black;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.theme-toggle {
    transition: opacity 0.3s ease, transform 0.3s ease, cursor 0.3s ease;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #f00;
    border-radius: 2px;
    opacity: 0.7;
    z-index: 1000;
    animation: confetti-fall 2s ease-out forwards;
    pointer-events: none;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-50px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(200px) rotate(720deg);
        opacity: 0;
    }
}

/* About Section */
.about {
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--text-color), #666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content {
    padding: 0 2rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.intro-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--secondary-text);
    font-weight: 500;
    margin-bottom: 2.5rem;
}

.about-text h3 {
    font-size: 1.6rem;
    margin: 2.5rem 0 1rem;
    color: var(--text-color);
    font-weight: 600;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.interests-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2.5rem;
}

.interests-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    padding-left: 2rem;
    position: relative;
}

.interests-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--text-color);
    border-radius: 50%;
}

.highlight-link {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.2rem 0.4rem;
    background: linear-gradient(transparent 50%, rgba(var(--text-color-rgb), 0.1) 0);
    transition: all 0.3s ease;
    border-radius: 4px;
}

.highlight-link:hover {
    background: linear-gradient(transparent 10%, rgba(var(--text-color-rgb), 0.15) 0);
}

.fun-fact {
    margin-top: 3rem;
    padding: 1.5rem;
    border-radius: 12px;
    background: linear-gradient(45deg, rgba(var(--text-color-rgb), 0.03), rgba(var(--text-color-rgb), 0.08));
    border: 1px solid rgba(var(--text-color-rgb), 0.1);
}

.fun-fact p {
    margin: 0;
    font-size: 1.1rem;
    font-style: italic;
}

/* Skills Section */
.skills {
    padding: 4rem 0;
    background: var(--card-bg);
    margin-top: 2rem;
}

.skills h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.skill-category {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.skill-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category li {
    margin-bottom: 0.8rem;
    color: var(--secondary-text);
    font-size: 1.1rem;
}

/* Responsive adjustments for about page */
@media (max-width: 768px) {
    .about, .skills {
        padding: 3rem 0;
    }

    .about-text {
        font-size: 1rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .skill-category {
        padding: 1.5rem;
    }
}

/* Top 4 Films Game */
.top4-trigger {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 0.6rem;
    text-decoration: underline;
    padding: 0;
    opacity: 0.5;
    position: absolute;
    margin-top: 0.8rem;
    margin-left:0.5rem;
    width: 16.8rem;
}

.top4-game {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: 1000;
    display: none;
}

.top4-game.active {
    display: block;
}

.game-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.game-score, .game-target {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.game-area {
    width: 300px;
    height: 100px;
    border: 2px solid var(--text-color);
    margin: 0 auto 2rem;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.capture-target {
    width: 20px;
    height: 100%;
    background: var(--text-color);
    position: absolute;
    left: 0;
    opacity: 0.8;
}

.capture-zone {
    width: 30px;
    height: 100%;
    background: rgba(var(--text-color-rgb), 0.2);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-left: 2px solid var(--text-color);
    border-right: 2px solid var(--text-color);
}

.capture-button {
    display: block;
    margin: 1rem auto;
    padding: 0.8rem 1.5rem;
    background: var(--text-color);
    color: var(--bg-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.capture-button:hover {
    transform: scale(1.05);
}

.capture-button:active {
    transform: scale(0.95);
}

@keyframes perfect-capture {
    0% { background: #4CAF50; }
    100% { background: var(--text-color); }
}

.perfect-capture {
    animation: perfect-capture 0.5s ease;
}

/* Top 4 Films Reveal */
.top4-reveal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px var(--shadow-color);
    text-align: center;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
}

.top4-reveal.hidden {
    display: none;
}

.films-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
    max-width: 1200px;
    margin: 2rem auto;
}

.film-item {
    background: var(--card-bg);
    border-radius: 12px;
    position: relative;
    text-align: left;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.film-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.film-poster {
    width: 100%;
    height: 0;
    padding-bottom: 150%; /* 2:3 aspect ratio for movie posters */
    position: relative;
    overflow: hidden;
}

.film-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.film-item:hover .film-poster img {
    transform: scale(1.05);
}

.film-info {
    padding: 1.5rem;
    background: var(--card-bg);
}

.film-number {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    background: var(--text-color);
    color: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.film-info h4 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    color: var(--text-color);
}

.film-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--secondary-text);
}

.close-reveal {
    background: var(--text-color);
    color: var(--bg-color);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.close-reveal:hover {
    transform: translateY(-2px);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.game-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--text-color);
    max-width: 300px;
    margin: 0 auto 1rem;
}

.lens-count {
    color: var(--text-color);
}

.game-over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.game-over.hidden {
    display: none;
}

.game-over h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.play-again {
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: var(--text-color);
    color: var(--bg-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.play-again:hover {
    transform: scale(1.05);
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: #4CAF50;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    pointer-events: none;
    animation: particle-fade 0.8s ease-out forwards;
}

@keyframes particle-fade {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

.capture-flash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0;
    pointer-events: none;
    animation: flash 0.2s ease-out;
}

@keyframes flash {
    0% { opacity: 0.8; }
    100% { opacity: 0; }
}

@media (max-width: 1200px) {
    .films-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1rem;
    }
}

@media (max-width: 600px) {
    .films-grid {
        grid-template-columns: 1fr;
    }
    
    .reveal-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .explore-letterboxd {
        width: 100%;
        justify-content: center;
    }
}

.reveal-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.explore-letterboxd {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: #00c030;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.explore-letterboxd:hover {
    background: #00a528;
    transform: translateY(-2px);
}

.explore-letterboxd i {
    font-size: 1.2rem;
} 

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
} 

/* Frutal Page Styles */
.frutal-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 160px); /* Adjust based on header/footer height */
    text-align: center;
}

.frutal-promo {
    max-width: 500px;
}

.frutal-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
}

.frutal-promo h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.frutal-description {
    font-size: 1.2rem;
    color: var(--secondary-text);
    margin-bottom: 2.5rem;
}

.install-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #3bb930; /* Google Blue */
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.install-button:hover {
    background: #357ae8;
}

.install-button img {
    width: 32px;
    height: 32px;
}

.playground-button {
    display: block;
    margin-top: 1rem;
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.playground-button:hover {
    color: var(--text-color);
} 

.frutal-body {
    background-color: #1a1a1a;
    transition: none;
} 

.suggestion-button {
    display: block;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--secondary-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.suggestion-button:hover {
    color: var(--text-color);
}

.trail {
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: trail-fade 0.5s linear forwards;
}

@keyframes trail-fade {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
} 