/* Reset and base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --text: #1a1a1a;
    --text-light: #666;
    --bg: #fff;
    --border: #eee;
    --accent: #000;
}

html {
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation */
nav {
    position: relative;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.nav-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
    text-decoration: none;
}

.nav-logo {
    height: 24px;
    width: auto;
}

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

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

/* Mobile nav - rotating circle around 3D model */
@media (max-width: 600px) {
    nav {
        position: static;
        padding: 0;
    }

    .nav-name {
        position: fixed;
        top: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 25;
        justify-content: center;
    }

    .nav-links {
        position: fixed;
        top: 35%;
        left: 50%;
        width: 360px;
        height: 360px;
        transform: translate(-50%, -50%);
        animation: orbit 60s linear infinite;
        z-index: 12;
    }

    .nav-links a {
        position: absolute;
        top: 50%;
        left: 50%;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    /* Position each nav item at 60° intervals - text baseline follows circle */
    .nav-links a:nth-child(1) { /* Art - top */
        transform: translate(-50%, -50%) rotate(-90deg) translateX(180px) rotate(90deg);
    }
    .nav-links a:nth-child(2) { /* Literature */
        transform: translate(-50%, -50%) rotate(-30deg) translateX(180px) rotate(90deg);
    }
    .nav-links a:nth-child(3) { /* Music */
        transform: translate(-50%, -50%) rotate(30deg) translateX(180px) rotate(90deg);
    }
    .nav-links a:nth-child(4) { /* Software - bottom */
        transform: translate(-50%, -50%) rotate(90deg) translateX(180px) rotate(90deg);
    }
    .nav-links a:nth-child(5) { /* Hardware */
        transform: translate(-50%, -50%) rotate(150deg) translateX(180px) rotate(90deg);
    }
    .nav-links a:nth-child(6) { /* Textiles */
        transform: translate(-50%, -50%) rotate(210deg) translateX(180px) rotate(90deg);
    }

    .hero {
        padding: 14rem 0 16rem;
    }
}

/* Main content */
main {
    position: relative;
    z-index: 20;
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 4rem 4rem;
    width: 100%;
}

/* Hero */
.hero {
    padding: 10rem 0 12rem;
    text-align: center;
    position: relative;
    pointer-events: none;
}

#constellation-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

#constellation-fg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 15;
    pointer-events: none;
}

.hero h1 {
    position: relative;
    z-index: 20;
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.04), 0 4px 20px rgba(0, 0, 0, 0.02);
}

.hero-subtitle {
    position: relative;
    z-index: 20;
    font-size: 1.1rem;
    color: #fff;
    margin-top: 0.5rem;
    letter-spacing: 0.1em;
    text-transform: lowercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.04), 0 4px 20px rgba(0, 0, 0, 0.02);
}

.hero-model {
    position: fixed;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    --poster-color: transparent;
    --progress-bar-color: transparent;
    --progress-bar-height: 0;
    background: transparent !important;
    pointer-events: none;
    z-index: 14;
}

.hero-model::part(default-progress-bar),
.hero-model::part(default-poster),
.hero-model::part(poster) {
    display: none !important;
    background: transparent !important;
}

.hero-model:not([loaded]) {
    background: transparent !important;
}

#model-click-overlay {
    position: fixed;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    z-index: 100;
    cursor: pointer;
    border-radius: 50%;
}

@media (max-width: 768px) {
    #model-click-overlay {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero-model {
        width: 300px;
        height: 300px;
    }
}

/* Page header */
.page-header {
    padding: 3rem 0;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
}

/* Section headers */
section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Latest Blog Section */
.latest-blog {
    margin-bottom: 3rem;
}

.blog-preview-card {
    position: relative;
    z-index: 20;
    display: block;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog-preview-card:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.blog-preview-card time {
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-preview-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.blog-preview-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Featured Media Section */
.featured-media {
    margin-top: 3rem;
}

.media-preview-card {
    position: relative;
    z-index: 20;
    display: block;
    text-decoration: none;
    color: var(--text);
}

.media-preview-placeholder {
    aspect-ratio: 16 / 9;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.media-preview-card:hover .media-preview-placeholder {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.media-preview-caption {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-light);
    text-align: center;
}

/* Art grid on landing page */
.art-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    text-decoration: none;
    height: 320px;
}

.art-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.art-col-video .art-item {
    flex: 1;
}

.art-col-2 .art-item {
    flex: 1;
}

.art-col-3 .art-item {
    flex: 1;
}

.art-item {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.art-item:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.02);
}

.art-video {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(240, 240, 240, 0.5) 100%);
}

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

    .art-col-3 {
        display: none;
    }
}

/* Projects grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.project-card {
    position: relative;
    z-index: 20;
    display: block;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.project-card:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.project-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.project-icon-img {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    margin-bottom: 1rem;
}

/* App-specific colored shadows */
.card-tiempo:hover {
    box-shadow: 0 8px 40px rgba(230, 80, 80, 0.35);
}

.card-synesthesia:hover {
    box-shadow: 0 8px 40px rgba(230, 220, 0, 0.4);
}

.card-arrow:hover {
    box-shadow: 0 8px 40px rgba(70, 140, 220, 0.35);
}

.project-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

/* Apps page */
.apps-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* App Store Card */
.app-store-card {
    position: relative;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.app-store-card:hover {
    background: rgba(255, 255, 255, 0.7);
}

.app-store-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.app-store-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    flex-shrink: 0;
}

.app-store-info {
    flex: 1;
}

.app-store-info h2 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    text-transform: none;
    letter-spacing: normal;
    color: var(--text);
}

.app-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.25rem;
    background: #007AFF;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.app-store-btn:hover {
    opacity: 0.8;
}

.coming-soon-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--border);
    color: var(--text-light);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Screenshots */
.app-screenshots {
    margin: 0 -1.5rem;
    padding: 0 1.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.app-screenshots::-webkit-scrollbar {
    display: none;
}

.screenshot-scroll {
    display: flex;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
}

.screenshot-placeholder {
    flex-shrink: 0;
    width: 140px;
    height: 280px;
    background: linear-gradient(135deg, #e8e8e8 0%, #d8d8d8 100%);
    border-radius: 12px;
}

/* Horizontal screenshots for VisionOS apps */
.screenshot-scroll.horizontal .screenshot-placeholder {
    width: 320px;
    height: 180px;
}

/* App description */
.app-store-description {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.app-store-description p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--text);
    color: var(--bg);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}

.btn:hover {
    opacity: 0.8;
}

/* Blog page */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.blog-post-preview time {
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-post-preview h2 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    text-transform: none;
    letter-spacing: normal;
    color: var(--text);
}

.blog-post-preview h2 a {
    color: inherit;
    text-decoration: none;
}

.blog-post-preview h2 a:hover {
    text-decoration: underline;
}

.blog-post-preview p {
    color: var(--text-light);
}

/* Literature page */
.lit-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.lit-tab {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.lit-tab:hover {
    border-color: var(--text-light);
}

.lit-tab.active {
    background: var(--text);
    border-color: var(--text);
    color: #fff;
}

.lit-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.lit-item {
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.lit-item:hover {
    background: rgba(255, 255, 255, 0.7);
}

.lit-type-label {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--border);
    color: var(--text-light);
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.lit-item time {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.lit-item h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: none;
    letter-spacing: normal;
    color: var(--text);
}

.lit-item h2 a {
    color: inherit;
    text-decoration: none;
}

.lit-item h2 a:hover {
    text-decoration: underline;
}

.lit-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Meditation style */
.lit-meditation {
    text-align: center;
    padding: 2.5rem 3rem;
}

.lit-meditation blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.lit-meditation cite {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: normal;
}

/* Media page - Video Carousel */
.video-carousel-section {
    margin-bottom: 4rem;
}

.video-carousel {
    overflow: hidden;
    margin: 0 -4rem;
    padding: 0 4rem;
}

.video-track {
    display: flex;
    gap: 1rem;
    animation: scroll 30s linear infinite;
}

.video-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.video-item {
    flex-shrink: 0;
    width: 180px;
}

.video-placeholder {
    aspect-ratio: 9 / 16;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Media page - Photo Grid */
.photo-grid-section h2 {
    margin-bottom: 1.5rem;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.photo-item {
    aspect-ratio: 1 / 1;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.photo-placeholder:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.02);
}

/* Page transition flash - lightning effect behind content */
.page-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 19; /* Above nodes (10-18), below content (20) */
    pointer-events: none;
    opacity: 0;
}

.page-flash.active {
    animation: lightning 0.5s ease-out;
}

@keyframes lightning {
    0% { opacity: 0; }
    10% { opacity: 0.9; }
    20% { opacity: 0.3; }
    30% { opacity: 0.8; }
    50% { opacity: 0.2; }
    100% { opacity: 0; }
}

/* Rotating navigation - counter-clockwise */
@keyframes orbit {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* Footer */
footer {
    position: relative;
    z-index: 20;
    padding: 2rem 4rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 1.5rem 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    main {
        padding: 1.5rem 1.5rem 3rem;
    }

    .hero {
        padding: 6rem 0 8rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .app-feature {
        flex-direction: column;
        gap: 1.5rem;
    }

    .app-icon-large {
        font-size: 4rem;
    }

    .video-carousel {
        margin: 0 -1.5rem;
        padding: 0 1.5rem;
    }

    .video-item {
        width: 140px;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lit-tabs {
        flex-wrap: wrap;
    }

    .lit-meditation {
        padding: 2rem 1.5rem;
    }

    .lit-meditation blockquote {
        font-size: 1.1rem;
    }
}

/* Admin Page */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.admin-login-box {
    background: #fff;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.admin-login-box h1 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.admin-login-box input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.admin-login-box button {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--text);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.admin-login-box button:hover {
    opacity: 0.8;
}

.admin-error {
    color: #e65050;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.admin-dashboard nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.admin-logout-btn {
    background: transparent;
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-light);
    transition: all 0.2s;
}

.admin-logout-btn:hover {
    border-color: var(--text);
    color: var(--text);
}

.admin-actions {
    margin-bottom: 2rem;
}

.admin-btn {
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    font-family: inherit;
}

.admin-btn:hover {
    border-color: var(--text);
}

.admin-btn.primary {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
}

.admin-btn.primary:hover {
    opacity: 0.8;
}

.admin-btn.danger {
    color: #e65050;
    border-color: #e65050;
}

.admin-btn.danger:hover {
    background: #e65050;
    color: #fff;
}

.admin-btn.small {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.admin-post-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-post-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    gap: 1rem;
}

.admin-post-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.admin-post-type {
    padding: 0.2rem 0.6rem;
    background: var(--border);
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    flex-shrink: 0;
}

.admin-post-title {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-post-date {
    color: var(--text-light);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.admin-post-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.admin-empty {
    text-align: center;
    color: var(--text-light);
    padding: 3rem;
}

/* Music page */
.music-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    min-height: 70vh;
    align-items: center;
    margin-top: -2rem;
}

.music-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    padding: 1.5rem;
}

.music-card.vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    width: 200px;
}

.music-card h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.2s, background 0.2s;
}

.play-btn:hover {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.9);
}

.play-btn svg {
    width: 32px;
    height: 32px;
}

.play-icon {
    margin-left: 2px; /* Visual centering for play triangle */
}

/* Admin Modal */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 100;
}

.admin-modal-content {
    background: #fff;
    border-radius: 24px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.admin-modal-content h2 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.admin-form-group {
    margin-bottom: 1.25rem;
}

.admin-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.admin-form-group input,
.admin-form-group select,
.admin-form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
}

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

.admin-form-group select {
    cursor: pointer;
}

.admin-form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .admin-dashboard nav {
        padding: 1.5rem;
    }

    .admin-post-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-post-info {
        flex-wrap: wrap;
    }

    .admin-post-actions {
        width: 100%;
        justify-content: flex-end;
    }
}
