@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #0a0a0a;
    --dark: #111111;
    --dark-2: #1a1a1a;
    --gray: #2a2a2a;
    --gray-light: #888;
    --white: #ffffff;
    --white-soft: #e0e0e0;
    --accent: #FF3366;
    --accent-light: rgba(255, 51, 102, 0.1);
    --accent-2: #6C5CE7;
    --gradient-primary: linear-gradient(135deg, #FF3366, #FF6B35);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

@media (max-width: 768px) {
    body { cursor: auto; }
}

/* Cursor */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: all 0.25s ease;
    transform: translate(-50%, -50%);
}

.cursor.hover {
    transform: scale(2.5);
    background: var(--accent-2);
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    border-color: var(--accent-2);
}

@media (max-width: 768px) {
    .cursor, .cursor-follower { display: none; }
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 48px;
    transition: all 0.4s ease;
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 16px 48px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
}

.nav-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.nav-logo:hover img { transform: scale(1.05); }

.nav-logo span {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--gray-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
}

.nav-link.active::after { width: 100%; }

@media (max-width: 768px) {
    .nav { padding: 16px 24px; }
    .nav-logo span { font-size: 1.2rem; }
    
    .nav-toggle { display: flex; }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right 0.4s ease;
    }
    
    .nav-menu.active { right: 0; }
    .nav-link { font-size: 1.5rem; }
    
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

/* Section Header */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-light);
    max-width: 500px;
    margin: 0 auto;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 80% 40%, rgba(108, 92, 231, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 70%, rgba(255, 51, 102, 0.1) 0%, transparent 40%),
        var(--black);
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--white);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); opacity: 0.4; }
    50% { transform: translate(30px, -100px); opacity: 0.2; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    text-align: center;
}

.hero-pretitle {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gray-light);
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 8px;
}

.hero-tagline {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 51, 102, 0.35);
}

.btn-primary.large { padding: 20px 40px; font-size: 1rem; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-ghost:hover { color: var(--accent); }

.hero-visual {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 400px;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 320px;
    height: 380px;
    object-fit: contain;
    animation: heroFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}

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

.hero-image-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 51, 102, 0.25) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--gray-light);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
    50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding: 100px 24px 60px;
        text-align: center;
    }
    
    .hero-content { max-width: 100%; }
    .hero-visual { margin-top: 40px; }
}

/* Intro Section */
.intro-section {
    padding: 120px 0;
    background: var(--dark);
}

.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.intro-text {
    max-width: 600px;
    margin-bottom: 60px;
}

.intro-text.full-width {
    max-width: 100%;
}

.intro-text h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 24px;
}

.intro-text > p {
    color: var(--gray-light);
    font-size: 1.05rem;
}

/* Card Deck */
a.card-deck {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
    perspective: 1000px;
    padding: 40px 0;
    text-decoration: none;
}

.card-deck {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
    perspective: 1000px;
    padding: 40px 0;
}

.playing-card {
    width: 280px;
    height: 400px;
    position: relative;
    cursor: pointer;
}

.playing-card:nth-child(1) {
    transform: rotate(-15deg) translateY(30px);
    z-index: 1;
    animation: floatCard1 4s ease-in-out infinite;
}
.playing-card:nth-child(2) {
    transform: rotate(0deg) translateY(0);
    z-index: 2;
    animation: floatCard2 4s ease-in-out infinite;
}
.playing-card:nth-child(3) {
    transform: rotate(15deg) translateY(30px);
    z-index: 1;
    animation: floatCard3 4s ease-in-out infinite;
}

@keyframes floatCard1 {
    0%, 100% { transform: rotate(-15deg) translateY(30px); }
    50% { transform: rotate(-15deg) translateY(10px); }
}

@keyframes floatCard2 {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    50% { transform: rotate(0deg) translateY(-20px); }
}

@keyframes floatCard3 {
    0%, 100% { transform: rotate(15deg) translateY(30px); }
    50% { transform: rotate(15deg) translateY(10px); }
}

.playing-card:hover {
    animation-play-state: paused;
}

.playing-card:nth-child(1):hover {
    transform: rotate(-15deg) translateY(10px) scale(1.05);
}
.playing-card:nth-child(2):hover {
    transform: rotate(0deg) translateY(-20px) scale(1.05);
}
.playing-card:nth-child(3):hover {
    transform: rotate(15deg) translateY(10px) scale(1.05);
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
    border-radius: 16px;
}

.playing-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.card-front {
    background: var(--dark-2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-front img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-back {
    background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark) 100%);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    border: 2px solid var(--accent);
}

.card-back h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--white);
}

.card-back p {
    color: var(--gray-light);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 1000px) {
    .card-deck {
        flex-wrap: wrap;
        perspective: none;
        gap: 30px;
    }
    
    .playing-card {
        width: 240px;
        height: 340px;
    }
    
    .playing-card:nth-child(1),
    .playing-card:nth-child(2),
    .playing-card:nth-child(3) {
        transform: rotate(0deg) translateY(0);
        animation: floatCardMobile 4s ease-in-out infinite;
    }
    
    .playing-card:nth-child(1) { animation-delay: 0s; }
    .playing-card:nth-child(2) { animation-delay: 0.5s; }
    .playing-card:nth-child(3) { animation-delay: 1s; }
    
    @keyframes floatCardMobile {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-15px); }
    }
    
    .playing-card:hover {
        transform: translateY(-10px) scale(1.05) !important;
        animation-play-state: paused;
    }
    
    .playing-card:hover .card-inner {
        transform: rotateY(180deg);
    }
}

@media (max-width: 600px) {
    .card-deck {
        flex-direction: column;
        gap: 20px;
    }
    
    .playing-card {
        width: 260px;
        height: 360px;
    }
}

/* Moments / Timeline Section */
.moments-section {
    padding: 120px 0;
    background: var(--black);
}

.moments-timeline {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-bottom: 64px;
}

.moment-item {
    display: grid;
    grid-template-columns: 80px 300px 1fr;
    gap: 40px;
    align-items: center;
    padding: 32px;
    background: var(--dark-2);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.moment-item:hover {
    transform: translateX(8px);
    background: var(--gray);
}

.moment-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.3;
}

.moment-image {
    width: 300px;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
}

.moment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.moment-item:hover .moment-image img {
    transform: scale(1.05);
}

.moment-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.moment-content p {
    color: var(--gray-light);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.moment-meta {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
}

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

@media (max-width: 900px) {
    .moment-item {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .moment-number { display: none; }
    .moment-image { width: 100%; height: 200px; }
}

/* Gallery Section */
.gallery-section {
    padding: 120px 0;
    background: var(--dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    font-weight: 600;
    font-size: 1rem;
}

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

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

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: var(--gray);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gray);
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 16px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: var(--accent);
}

.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-title {
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--gray-light);
    text-align: center;
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gray-light);
    font-size: 0.9rem;
}

/* Author Section - Split Layout */
.author-section {
    padding: 120px 0;
    background: var(--dark);
}

.author-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Left Side - Author */
.author-left {
    padding-right: 40px;
    border-right: 1px solid var(--gray);
}

.author-left .section-tag {
    display: block;
    margin-bottom: 16px;
}

.author-left h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.author-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 40px;
}

.author-image {
    position: relative;
}

.author-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.author-image-ring {
    position: absolute;
    inset: -10px;
    border: 2px solid var(--accent);
    border-radius: 28px;
    opacity: 0.3;
}

.author-details .author-name {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 16px;
}

.author-details .author-bio {
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.author-quote {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    background: var(--dark-2);
    border-radius: 12px;
}

.author-quote svg {
    flex-shrink: 0;
    color: var(--accent);
}

.author-quote p {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
}

.author-left .author-social {
    margin-top: 32px;
}

.author-social h4 {
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: var(--gray-light);
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--dark-2);
    border-radius: 100px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent);
}

/* Right Side - Donate */
.author-right {
    padding-left: 40px;
}

.author-right .section-tag {
    display: block;
    margin-bottom: 16px;
}

.author-right h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.donate-card {
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.1) 0%, rgba(108, 92, 231, 0.1) 100%);
    border: 1px solid var(--gray);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    margin-bottom: 32px;
}

.donate-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.donate-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.donate-card > p {
    color: var(--gray-light);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.paypal-form {
    margin-bottom: 0;
}

.btn-donate {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 32px;
    background: #0070ba;
    border: none;
    border-radius: 100px;
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-donate:hover {
    background: #005ea6;
    transform: translateY(-2px);
}

.author-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.author-stats .stat-item {
    text-align: center;
    padding: 20px 12px;
    background: var(--dark-2);
    border-radius: 16px;
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-light);
}

/* Responsive */
@media (max-width: 1000px) {
    .author-split {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .author-left {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid var(--gray);
        padding-bottom: 60px;
    }
    
    .author-right {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .author-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .author-image {
        max-width: 180px;
        margin: 0 auto;
    }
}

/* Comic Detail Page */
.comic-detail {
    min-height: 100vh;
    padding: 140px 0 100px;
    background: var(--black);
}

.comic-detail-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 80px;
}

.comic-detail-cover {
    position: sticky;
    top: 120px;
}

.comic-detail-cover img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.comic-detail-info h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin: 16px 0 8px;
    line-height: 1.2;
}

.comic-detail-author {
    color: var(--gray-light);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.comic-detail-author strong {
    color: var(--accent);
}

.comic-detail-desc {
    color: var(--gray-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.comic-detail-meta {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    padding: 24px;
    background: var(--dark-2);
    border-radius: 16px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-label {
    font-size: 0.85rem;
    color: var(--gray-light);
}

.meta-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

.meta-value.status {
    color: #4ade80;
}

.comic-detail-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary.large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-primary.large svg {
    width: 22px;
    height: 22px;
}

.comic-pages-preview {
    border-top: 1px solid var(--gray);
    padding-top: 60px;
}

.comic-pages-preview h2 {
    font-size: 1.5rem;
    margin-bottom: 32px;
}

.pages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.page-thumb {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.page-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.page-thumb:hover img {
    transform: scale(1.05);
}

.page-thumb span {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.8);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

@media (max-width: 900px) {
    .comic-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .comic-detail-cover {
        position: static;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .comic-detail-meta {
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .pages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .comic-detail-actions {
        flex-direction: column;
    }
    
    .btn-primary.large,
    .btn-ghost {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Gallery Page */
.gallery-section-page {
    min-height: 100vh;
    padding: 140px 0 100px;
    background: var(--black);
}

.comics-gallery-grid {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
}

.comic-card.large {
    background: var(--dark);
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: var(--white);
    transition: all 0.4s ease;
    max-width: 400px;
    width: 100%;
}

.comic-card.large:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.comic-card.large:hover .comic-card-cover img {
    transform: scale(1.05);
}

.comic-card.large:hover .comic-card-overlay {
    opacity: 1;
}

.comic-card-cover {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.comic-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.comic-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.read-btn {
    padding: 14px 32px;
    background: var(--accent);
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
}

.comic-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: white;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.comic-card-info {
    padding: 28px;
}

.comic-card-info h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.comic-card-author {
    color: var(--gray-light);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.comic-card-genre {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Coming Soon Section */
.coming-soon-section {
    border-top: 1px solid var(--gray);
    padding-top: 60px;
}

.coming-soon-section h2 {
    font-size: 1.5rem;
    margin-bottom: 32px;
    text-align: center;
    color: var(--gray-light);
}

.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.coming-soon-card {
    background: var(--dark);
    border-radius: 16px;
    overflow: hidden;
    opacity: 0.6;
}

.coming-soon-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.coming-soon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%);
}

.coming-soon-info {
    padding: 20px;
}

.coming-soon-info h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.coming-soon-info p {
    color: var(--gray-light);
    font-size: 0.85rem;
}

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

/* Footer */
.footer {
    padding: 60px 0;
    background: var(--black);
    border-top: 1px solid var(--gray);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.footer-brand span {
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-nav {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--gray-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover { color: var(--white); }

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    color: var(--gray-light);
    font-size: 0.85rem;
}

.footer-bottom p {
    margin-bottom: 8px;
}

.footer-email {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: var(--white);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-nav {
        justify-content: center;
    }
}

/* Toast */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--dark-2);
    border: 1px solid var(--accent);
    border-radius: 100px;
    color: var(--white);
    font-weight: 500;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 3000;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-icon { font-size: 1.2rem; }

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Comics Index Page */
.comics-index {
    min-height: 100vh;
    padding: 140px 0 80px;
    background: var(--black);
}

.comics-index .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.comics-index .section-header h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    letter-spacing: 10px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.comics-grid {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.comic-thumb.large {
    background: var(--dark);
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: var(--white);
    transition: all 0.4s ease;
    max-width: 600px;
    width: 100%;
    display: block;
}

.comic-thumb.large:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.comic-thumb.large .thumb-image {
    aspect-ratio: 16/9;
}

.comic-thumb.large:hover .thumb-image img {
    transform: scale(1.05);
}

.thumb-number {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.thumb-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.thumb-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.thumb-image.finale {
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.3), rgba(108, 92, 231, 0.3));
}

.thumb-info {
    padding: 30px;
    text-align: center;
}

.thumb-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.thumb-info p {
    color: var(--gray-light);
    font-size: 1rem;
}

.story-preview {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: var(--dark);
    border-radius: 20px;
}

.story-preview h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.story-preview p {
    color: var(--gray-light);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .thumb-info {
        padding: 20px;
    }
    
    .thumb-info h3 {
        font-size: 1.2rem;
    }
    
    .story-preview {
        padding: 30px 20px;
    }
}
