/* Quantum Doge - Brutalist Design */

:root {
    --black: #000000;
    --white: #ffffff;
    --gray-100: #f0f0f0;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #bfbfbf;
    --gray-500: #808080;
    --gray-600: #4a4a4a;
    --gray-700: #2a2a2a;
    --accent-blue: #6366f1;
    --accent-gold: #f59e0b;
    --accent-pink: #ec4899;
    --border: 4px solid #000;
    --shadow: 8px 8px 0 #000;
    --shadow-sm: 4px 4px 0 #000;
    --header-height: 80px;
    --app-height: 100vh;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background: var(--black);
    overflow-x: hidden;
    padding-top: var(--header-height);
}

/* Typography */
.text-outline {
    text-shadow: 4px 4px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

/* Scrolling Text Background */
.scrolling-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.08;
    z-index: 0;
}

.scroll-row {
    font-weight: 800;
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.85;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--gray-600);
}

.scroll-row span {
    display: inline-block;
    animation: scroll-left 30s linear infinite;
}

.scroll-row:nth-child(even) span {
    animation: scroll-right 30s linear infinite;
    opacity: 0.7;
}

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

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

/* Sections */
section {
    min-height: 100dvh;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
    scroll-margin-top: var(--header-height);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: var(--border);
    z-index: 100;
    padding: 12px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

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

.logo img {
    width: 48px;
    height: 48px;
    border: 3px solid var(--black);
    border-radius: 8px;
}

.logo span {
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.nav {
    display: flex;
    gap: 24px;
}

.nav a {
    color: var(--black);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s;
}

.nav a:hover {
    color: var(--accent-blue);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    border: var(--border);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--black);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000;
}

.btn-secondary {
    background: var(--white);
    color: var(--black);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--gray-100);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000;
}

.btn-social {
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 3px solid var(--black);
    box-shadow: var(--shadow-sm);
}

.btn-social:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000;
}

/* Hero Section */
.hero {
    background: var(--gray-100);
    display: flex;
    flex-direction: column;
    min-height: calc(var(--app-height) - var(--header-height));
}

.hero-header {
    background: var(--white);
    border-bottom: var(--border);
    padding: 16px 0;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

.stat-item {
    text-align: center;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.stat-value {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--black);
}

.stat-value a {
    color: inherit;
    text-decoration: none;
}

.stat-value a:hover {
    color: var(--accent-blue);
}

.stat-negative {
    color: #ed2c2e;
}

.stat-positive {
    color: #22c55e;
}

.stat-divider {
    width: 4px;
    height: 48px;
    background: var(--gray-300);
    border-radius: 2px;
}

.hero-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.hero-grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 48px;
    width: 100%;
    max-width: 1200px;
}

.hero-image {
    flex-shrink: 0;
}

.hero-image img {
    width: clamp(180px, 35vw, 400px);
    height: clamp(180px, 35vw, 400px);
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
    transition: transform 0.3s;
}

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

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.04em;
    color: var(--white);
    text-shadow: 4px 4px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    margin-bottom: 24px;
}

.hero-subtitle {
    display: inline-block;
    font-size: clamp(0.8rem, 2vw, 1.5rem);
    font-weight: 800;
    padding: 8px 16px;
    border: 3px solid var(--black);
    transform: rotate(-2deg);
    box-shadow: var(--shadow-sm);
    background: var(--white);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    stroke: var(--black);
}

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

/* About Section */
.about {
    background: var(--gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
}

.about-card {
    background: var(--white);
    border: var(--border);
    box-shadow: 12px 12px 0 #000;
    padding: clamp(32px, 6vw, 64px);
    max-width: 900px;
    width: 100%;
}

.about-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 800;
    color: var(--white);
    text-shadow: 4px 4px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    margin-bottom: 32px;
}

.about-text {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 700;
    line-height: 1.6;
    color: var(--black);
}

.about-text p {
    margin-bottom: 16px;
}

.about-text strong {
    text-decoration: underline;
    text-decoration-thickness: 3px;
}

/* Features Section */
.features {
    background: var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    width: 100%;
}

.feature-card {
    background: var(--white);
    border: var(--border);
    box-shadow: var(--shadow);
    padding: 32px;
    transition: all 0.2s;
}

.feature-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 #000;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.feature-card p {
    font-weight: 600;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Video Section */
.video-section {
    background: var(--gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
}

.section-title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    text-align: center;
}

.video-wrapper {
    background: var(--white);
    border: var(--border);
    box-shadow: var(--shadow);
    max-width: 900px;
    width: 100%;
    overflow: hidden;
}

.video-header {
    background: var(--black);
    color: var(--white);
    padding: 12px 16px;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.video-container {
    background: var(--gray-700);
    padding: 8px;
}

.featured-video {
    width: 100%;
    display: block;
    background: #000;
}

/* Comic Section - PRESERVED */
.comic-section {
    background: var(--gray-100);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 24px;
    min-height: 100dvh;
}

.comic-section .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.comic-section .section-title {
    margin-top: 60px;
}

/* Comic Reader Styles - ORIGINAL */
.comic-reader {
    background: linear-gradient(145deg, #1e1b4b 0%, #0f0d24 100%);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.comic-display {
    position: relative;
    margin-bottom: 20px;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    opacity: 0;
}

@media (hover: hover) {
    .comic-display:hover .nav-arrow {
        opacity: 1;
    }
}

.nav-arrow.mobile-visible {
    opacity: 1;
    touch-action: manipulation;
}

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

.nav-arrow:hover:not(:disabled) {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: translateY(-50%) scale(1.1);
}

.nav-arrow:disabled {
    background: rgba(0, 0, 0, 0.3);
    border-color: transparent;
    cursor: not-allowed;
    opacity: 0.3 !important;
}

.comic-page-container {
    position: relative;
    min-height: 70vh;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.comic-page {
    width: 100%;
    height: 100%;
    max-height: 85vh;
    object-fit: contain;
    transition: opacity 0.3s, transform 0.3s;
}

.comic-page:hover {
    transform: scale(1.01);
}

.page-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 600;
    display: none;
}

.comic-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.page-indicator {
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    min-width: 80px;
    text-align: center;
}

.page-slider-container {
    flex: 1;
    max-width: 400px;
}

.page-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.page-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-blue);
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.5);
}

.page-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: white;
}

.fullscreen-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.fullscreen-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

/* Thumbnail Strip */
.thumbnail-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 12px 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-blue) rgba(255, 255, 255, 0.1);
}

.thumbnail-strip::-webkit-scrollbar {
    height: 6px;
}

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

.thumbnail-strip::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 3px;
}

.thumbnail {
    flex-shrink: 0;
    width: 70px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    opacity: 0.6;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.08);
}

.thumbnail.active {
    border-color: var(--accent-blue);
    opacity: 1;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.6);
}

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

.comic-info {
    text-align: center;
    margin-top: 32px;
    color: var(--gray-500);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Zoom button */
.zoom-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.zoom-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.zoom-btn.active {
    background: var(--accent-green, #22c55e);
    border-color: var(--accent-green, #22c55e);
}

.zoom-btn.active-2 {
    background: var(--accent-purple, #a855f7);
    border-color: var(--accent-purple, #a855f7);
}

/* Zoom level 1 - Medium (halfway between fit and full width) */
.comic-page-container.zoom-1 {
    overflow: auto;
    cursor: grab;
    justify-content: center;
    align-items: safe center;
    overscroll-behavior: contain;
}

.comic-page-container.zoom-1:active {
    cursor: grabbing;
}

.comic-page-container.zoom-1 .comic-page {
    max-height: none;
    max-width: none;
    width: 75%;
    min-width: 75%;
    height: auto;
    object-fit: contain;
    cursor: grab;
    margin: 0 auto;
}

.comic-page-container.zoom-1 .comic-page:hover {
    transform: none;
}

/* Zoom level 2 - Full width */
.comic-page-container.zoom-2 {
    overflow: auto;
    cursor: grab;
    justify-content: center;
    align-items: safe center;
    overscroll-behavior: contain;
}

.comic-page-container.zoom-2:active {
    cursor: grabbing;
}

.comic-page-container.zoom-2 .comic-page {
    max-height: none;
    max-width: none;
    width: 100%;
    height: auto;
    object-fit: contain;
    cursor: grab;
    margin: 0 auto;
}

.comic-page-container.zoom-2 .comic-page:hover {
    transform: none;
}

/* Fullscreen mode */
.comic-reader.fullscreen {
    position: fixed;
    inset: 0;
    z-index: 1000;
    border-radius: 0;
    max-width: none;
    width: 100vw;
    height: var(--app-height);
    padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    display: flex;
    flex-direction: column;
    background: #000;
}

/* Hide header when fullscreen */
body.comic-fullscreen .header {
    display: none !important;
}

.comic-reader.fullscreen .comic-display {
    flex: 1;
    display: flex;
    min-height: 0;
    touch-action: manipulation;
    align-items: center;
    justify-content: center;
    position: relative;
}

.comic-reader.fullscreen .comic-page-container {
    min-height: 0;
    max-height: none;
    height: 100%;
    width: 100%;
    background: transparent;
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.comic-reader.fullscreen .comic-page {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Hide nav arrows by default in fullscreen */
.comic-reader.fullscreen .nav-arrow {
    opacity: 0;
    width: 80px;
    height: 80px;
    pointer-events: none;
    transition: opacity 0.3s;
}

/* Nav arrow positions */
.comic-reader.fullscreen .nav-prev {
    left: 20px;
}

.comic-reader.fullscreen .nav-next {
    right: 20px;
}

/* Show nav arrows when .visible or .mobile-visible class is added by JS */
.comic-reader.fullscreen .nav-arrow.visible,
.comic-reader.fullscreen .nav-arrow.mobile-visible {
    opacity: 1;
    pointer-events: auto;
}

/* Hide controls by default */
.comic-reader.fullscreen .comic-controls,
.comic-reader.fullscreen .thumbnail-strip {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
    z-index: 1002;
    pointer-events: none;
}

.comic-reader.fullscreen .comic-controls {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    margin: 0;
    border-radius: 0;
    bottom: env(safe-area-inset-bottom);
}

.comic-reader.fullscreen .thumbnail-strip {
    bottom: calc(76px + env(safe-area-inset-bottom));
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    max-height: 110px;
    border-radius: 0;
    padding: 8px 16px;
}

/* Show controls when .visible or .mobile-visible class is added by JS */
.comic-reader.fullscreen .comic-controls.visible,
.comic-reader.fullscreen .thumbnail-strip.visible,
.comic-reader.fullscreen .comic-controls.mobile-visible,
.comic-reader.fullscreen .thumbnail-strip.mobile-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Zoom level 1 in fullscreen - Medium */
.comic-reader.fullscreen .comic-page-container.zoom-1 {
    overflow: auto;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overscroll-behavior: contain;
}

.comic-reader.fullscreen .comic-page-container.zoom-1 .comic-page {
    max-height: none;
    max-width: none;
    width: min(125vw, 1400px);
    height: auto;
    margin: 0 auto;
}

/* Zoom level 2 in fullscreen - Full width */
.comic-reader.fullscreen .comic-page-container.zoom-2 {
    overflow: auto;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overscroll-behavior: contain;
}

.comic-reader.fullscreen .comic-page-container.zoom-2 .comic-page {
    max-height: none;
    max-width: none;
    width: 100vw;
    height: auto;
    margin: 0 auto;
}

body.comic-fullscreen {
    overflow: hidden;
}

/* Join Section */
.join-section {
    background: var(--gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
}

.join-card {
    background: var(--white);
    border: var(--border);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    max-width: 900px;
    width: 100%;
    overflow: hidden;
}

@media (min-width: 768px) {
    .join-card {
        flex-direction: row;
    }
}

.join-left {
    background: var(--accent-blue);
    padding: clamp(32px, 6vw, 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .join-left {
        width: 50%;
    }
}

.join-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.join-badge {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    padding: 8px 16px;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
}

.join-right {
    padding: clamp(32px, 6vw, 48px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .join-right {
        width: 50%;
    }
}

.join-text {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 16px;
}

.join-subtext {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Contract Display */
.contract-section {
    background: var(--white);
    border: var(--border);
    box-shadow: var(--shadow);
    padding: 24px;
    max-width: 700px;
    width: 100%;
    margin-top: 32px;
}

.contract-label {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.contract-display {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.contract-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    background: var(--gray-100);
    padding: 12px;
    border: 2px solid var(--black);
    flex: 1;
    min-width: 200px;
    word-break: break-all;
}

.copy-btn {
    background: var(--black);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: var(--gray-700);
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 48px 24px;
    border-top: var(--border);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.3));
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.footer-tagline {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    animation: pulse 3s infinite;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 16px;
    border: 2px solid var(--white);
    transition: all 0.2s;
}

.footer-links a:hover {
    background: var(--white);
    color: var(--black);
}

.disclaimer {
    font-size: 0.75rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto 16px;
    line-height: 1.5;
}

.copyright {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 768px) {
    html {
        scroll-snap-type: none;
    }
    
    section {
        min-height: auto;
        scroll-snap-align: none;
    }
    
    .hero {
        min-height: 100dvh;
    }
    
    .nav {
        display: none;
    }
    
    .header-content {
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    
    .hero-grid {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .social-buttons {
        justify-content: center;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .header .btn-social {
        width: 36px;
        height: 36px;
    }
    
    .header {
        padding: 5px 0;
    }

    .container {
        padding: 0 16px;
    }

    .hero-stats {
        flex-direction: row;
        gap: 12px;
        flex-wrap: nowrap;
    }

    .stat-value {
        font-size: clamp(0.95rem, 3.5vw, 1.4rem);
    }

    .stat-label {
        font-size: 0.6rem;
    }

    .stat-divider {
        height: 32px;
    }

    .hero-header {
        padding: 12px 0;
    }

    .comic-reader {
        padding: 16px;
        border-radius: 18px;
    }

    .comic-page-container {
        min-height: calc(var(--app-height) - 280px);
        max-height: calc(var(--app-height) - 220px);
    }

    .comic-reader.fullscreen {
        padding: 0;
    }

    .comic-reader.fullscreen .comic-page-container,
    .comic-reader.fullscreen .comic-page-container.zoom-1,
    .comic-reader.fullscreen .comic-page-container.zoom-2 {
        height: var(--app-height);
    }

    .comic-reader.fullscreen .comic-page {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }

    .comic-reader.fullscreen .comic-controls {
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        gap: 12px;
    }

    .comic-reader.fullscreen .thumbnail-strip {
        bottom: calc(74px + env(safe-area-inset-bottom));
    }

    .comic-reader.fullscreen .nav-arrow {
        width: 60px;
        height: 60px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }

    .minigames-grid {
        grid-template-columns: 1fr;
    }

    .minigame-card {
        display: flex;
        flex-direction: column;
    }

    .minigame-thumbnail {
        height: 200px;
    }

    .minigame-info {
        padding: 20px;
    }

    .minigame-title {
        font-size: 1.2rem;
    }
}

/* Fullscreen mode for comic */
.comic-reader.fullscreen {
    width: 100vw;
    height: var(--app-height);
}

.comic-reader.fullscreen .comic-page-container {
    max-height: none;
}

/* Zoom states for comic */
.comic-page-container.zoom-medium {
    overflow: auto;
}

.comic-page-container.zoom-medium .comic-page {
    width: 150%;
    max-width: none;
    max-height: none;
    object-fit: initial;
}

.comic-page-container.zoom-full {
    overflow: auto;
}

.comic-page-container.zoom-full .comic-page {
    width: 200%;
    max-width: none;
    max-height: none;
    object-fit: initial;
}

/* Hide scrolling background on mobile for performance */
@media (max-width: 768px) {
    .scrolling-bg {
        display: none;
    }
}

/* Minigames Section */
.minigames-section {
    background: var(--gray-300);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
}

.minigames-section .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.minigames-section .section-title {
    margin-bottom: 48px;
}

.minigames-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    width: 100%;
}

.minigame-card {
    background: var(--white);
    border: var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.minigame-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 #000;
}

.minigame-thumbnail {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--gray-700);
}

.minigame-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.minigame-card:hover .minigame-thumbnail img {
    transform: scale(1.05);
}

.minigame-info {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.minigame-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin: 0;
}

.minigame-description {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-600);
    line-height: 1.6;
    flex: 1;
}

.minigame-info .btn {
    align-self: flex-start;
    margin-top: auto;
}

.minigames-info {
    text-align: center;
    margin-top: 48px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-600);
}
