:root {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2a2a2a;
    --bg-tertiary: #333333;
    --text-primary: #00ff00;
    --text-secondary: #00cc00;
    --text-muted: #009900;
    --accent: #00ff00;
    --accent-hover: #00cc00;
    --border: #004400;
    --success: #00ff00;
    --error: #ff0000;
}

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

body {
    font-family: 'Source Code Pro', 'Courier Prime', 'Courier New', monospace;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

/* Override body text-shadow for gallery and tokenize pages */
.gallery-page,
.gallery-page * {
    text-shadow: none;
}

.gallery-page .hero-title,
.gallery-page .section-title,
.gallery-page .gallery-item-title {
    text-shadow: 2px 2px 4px rgba(139, 74, 107, 0.2);
}

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

/* Header */
.header {
    background-color: var(--bg-secondary);
    border-bottom: 2px solid var(--border);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(42, 42, 42, 0.95);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
}

.lore-page-new .header {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 3px solid #FFD700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.twitter-button {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid transparent;
    z-index: 101;
}

.twitter-button:hover {
    color: var(--text-primary);
    background-color: rgba(0, 255, 0, 0.1);
    border-color: var(--border);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.twitter-button svg {
    width: 20px;
    height: 20px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

.lore-page-new .logo h1 {
    font-family: 'Fredoka One', 'Comic Neue', sans-serif;
    color: #2c3e50;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.8);
}

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

.lore-page-new .nav a {
    font-family: 'Comic Neue', 'Nunito', sans-serif;
    font-weight: 600;
    color: #34495e;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.lore-page-new .nav a:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

.lore-page-new .nav a.nav-active {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #2c3e50;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.4);
}

.lore-page-new .twitter-button {
    color: #000000;
}

.lore-page-new .twitter-button:hover {
    color: #000000;
    background-color: rgba(255, 215, 0, 0.2);
    border-color: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.lore-page-new .twitter-button svg {
    fill: #000000;
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a.nav-active {
    color: var(--text-primary);
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.8);
    border-bottom-color: var(--text-primary);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
    position: relative;
}

.gallery-page .hero {
    background: transparent;
}

.lore-page .hero {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}


.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.8), 0 0 40px rgba(0, 255, 0, 0.4);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero-buyback-notice {
    margin-top: 1rem;
    padding: 1rem 2rem;
    background-color: rgba(255, 182, 193, 0.4);
    border: 2px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    max-width: 800px;
}

.official-ca {
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background-color: rgba(255, 245, 245, 0.9);
    border: 2px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1.1rem;
    display: inline-block;
    max-width: 800px;
}

.official-ca strong {
    font-weight: 700;
    margin-right: 0.5rem;
}

.ca-address {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
}

.btn-primary {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.6), 0 5px 15px rgba(0, 255, 0, 0.2);
    background-color: rgba(0, 255, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.1rem;
    width: 100%;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.section-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Tokenize Form */
.tokenize-section {
    background-color: var(--bg-secondary);
}

.lore-page .tokenize-section {
    background-color: var(--bg-secondary);
}


.tokenize-form {
    max-width: 700px;
    margin: 3rem auto 0;
}

/* Drawing Canvas */
.drawing-container {
    max-width: 1000px;
    margin: 0 auto 3rem;
    background-color: var(--bg-tertiary);
    border-radius: 0;
    padding: 1.5rem;
    border: 2px solid var(--border);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
}

.drawing-toolbar {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border);
}

.tool-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tool-group label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.tool-buttons {
    display: flex;
    gap: 0.5rem;
}

.tool-btn {
    background-color: var(--bg-secondary);
    border: 2px solid var(--border);
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.tool-btn:hover {
    background-color: var(--border);
    border-color: var(--text-primary);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.tool-btn.active {
    background-color: rgba(0, 255, 0, 0.1);
    border-color: var(--text-primary);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.brush-slider {
    width: 120px;
    accent-color: var(--text-primary);
}

#brush-size-value {
    font-size: 0.9rem;
    color: var(--text-secondary);
    min-width: 45px;
}

.color-picker-container {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.color-input {
    width: 50px;
    height: 40px;
    border: 2px solid var(--border);
    border-radius: 0;
    cursor: pointer;
    background: none;
}

.color-presets {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.color-preset {
    width: 30px;
    height: 30px;
    border-radius: 0;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.color-preset:hover {
    transform: scale(1.1);
    border-color: var(--text-primary);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.canvas-wrapper {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem auto;
    box-shadow: none;
}

#drawing-canvas {
    border-radius: 0;
    cursor: crosshair;
    width: 1000px;
    height: 700px;
    display: block;
    touch-action: none;
    border: 2px solid var(--border);
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1200px) {
    #drawing-canvas {
        width: 90vw;
        max-width: 1000px;
        height: auto;
        aspect-ratio: 10/7;
    }
    
    .canvas-wrapper {
        padding: 0.5rem;
        width: 100%;
    }
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 0;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-primary);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    background-color: rgba(0, 255, 0, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
}

/* Upload Area */
.upload-area {
    position: relative;
}

.upload-area input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.upload-placeholder {
    border: 2px dashed var(--border);
    border-radius: 0;
    padding: 3rem 2rem;
    text-align: center;
    background-color: var(--bg-tertiary);
    transition: all 0.3s;
    cursor: pointer;
}

.upload-area:hover .upload-placeholder {
    border-color: var(--text-primary);
    background-color: rgba(0, 255, 0, 0.05);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

.upload-placeholder svg {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.upload-placeholder p {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.upload-placeholder span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.upload-preview {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.upload-preview img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    display: block;
    background-color: var(--bg-tertiary);
}

.remove-image {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--text-primary);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.remove-image:hover {
    background-color: var(--error);
}

/* Gallery */
.gallery-section {
    background-color: var(--bg-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    background-color: var(--bg-secondary);
    border-radius: 0;
    overflow: hidden;
    border: 2px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--text-primary);
}

.gallery-item-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background-color: var(--bg-tertiary);
    border-bottom: 1px solid var(--border);
}

.gallery-item-info {
    padding: 1.5rem;
}

.gallery-item-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.gallery-item-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.gallery-item-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: transparent;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid var(--text-primary);
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.8);
}

.gallery-item-btn:hover {
    background-color: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

/* Vote buttons */
.vote-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
    padding: 0.5rem 0;
}

.vote-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 0.25rem;
    transition: all 0.2s;
    font-family: inherit;
    font-size: 0.85rem;
}

.vote-btn:hover {
    background-color: rgba(0, 255, 0, 0.1);
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.vote-up:hover {
    border-color: #00ff00;
    color: #00ff00;
}

.vote-down:hover {
    border-color: #ff6666;
    color: #ff6666;
}

.vote-icon {
    font-size: 0.9rem;
}

.vote-count {
    font-weight: 600;
    min-width: 1.5rem;
    text-align: center;
}

.net-votes {
    font-weight: 700;
    font-size: 1rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.net-votes.positive {
    color: #00ff00;
}

.net-votes.negative {
    color: #ff6666;
}

/* Gallery page vote buttons */
.gallery-page .vote-btn {
    border-color: var(--border);
    color: var(--text-secondary);
}

.gallery-page .vote-up:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
    background-color: rgba(139, 74, 107, 0.1);
}

.gallery-page .vote-down:hover {
    border-color: #d44d5c;
    color: #d44d5c;
    background-color: rgba(212, 77, 92, 0.1);
}

.gallery-page .net-votes.positive {
    color: var(--text-primary);
}

.gallery-page .net-votes.negative {
    color: #d44d5c;
}


.lore-text {
    margin-bottom: 4rem;
}

.lore-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.lore-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.9;
}

.lore-quote {
    font-style: italic;
    color: var(--text-primary) !important;
    font-size: 1.2rem !important;
    text-align: center;
    padding: 2rem;
    border-left: 3px solid var(--text-primary);
    background-color: rgba(0, 255, 0, 0.05);
    margin-top: 2rem !important;
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.8);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.scattered-art-gallery {
    position: relative;
    min-height: 800px;
    margin-top: 4rem;
    width: 100%;
}

.character-art {
    position: absolute;
    width: 180px;
    height: 220px;
    border: 3px solid var(--border);
    overflow: hidden;
    background-color: var(--bg-secondary);
    transition: transform 0.3s, box-shadow 0.3s, z-index 0.3s;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
    filter: grayscale(40%) brightness(0.9);
}

.character-art:hover {
    transform: scale(1.15) !important;
    box-shadow: 0 0 40px rgba(0, 255, 0, 0.6), 0 10px 40px rgba(0, 0, 0, 0.7);
    border-color: var(--text-primary);
    z-index: 10;
    filter: grayscale(0%) brightness(1.1);
}

.character-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.eerie-art-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Tweet Image Container */
.tweet-image-container {
    max-width: 600px;
    margin: 3rem auto 0;
    text-align: center;
}

.tweet-image {
    max-width: 100%;
    height: auto;
    border: 2px solid var(--border);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
    transition: all 0.3s;
}

.tweet-image:hover {
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.4);
    border-color: var(--text-primary);
}

.tweet-fallback {
    padding: 2rem;
    border: 2px solid var(--border);
    background-color: var(--bg-secondary);
    font-family: inherit;
    line-height: 2;
}

/* Tweet reference in lore */
.tweet-reference {
    margin-top: 2.5rem;
    text-align: center;
}

.tweet-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s;
}

.tweet-link:hover {
    transform: scale(1.02);
}

.tweet-preview {
    max-width: 100%;
    width: 600px;
    margin: 0 auto;
    border: 3px solid var(--border);
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.3);
    transition: all 0.3s;
    background-color: var(--bg-secondary);
    padding: 0;
    overflow: hidden;
}

.tweet-preview:hover {
    box-shadow: 0 0 35px rgba(0, 255, 0, 0.5);
    border-color: var(--text-primary);
}

.tweet-preview-content {
    padding: 1.5rem;
}

.tweet-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.tweet-preview-header strong {
    color: var(--text-primary);
    font-weight: 600;
}

.tweet-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.tweet-preview-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    font-family: inherit;
}

.tweet-link-text {
    display: block;
    margin-top: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s;
}

.tweet-link:hover .tweet-link-text {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

/* Progression Container for Lore Page */
.progression-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.progression-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.emoji-item {
    font-size: 3rem;
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.emoji-item:nth-child(1) { animation-delay: 0s; }
.emoji-item:nth-child(2) { animation-delay: 0.2s; }
.emoji-item:nth-child(3) { animation-delay: 0.4s; }
.emoji-item:nth-child(4) { animation-delay: 0.6s; }
.emoji-item:nth-child(5) { animation-delay: 0.8s; }

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

.progression-arrow {
    font-size: 3rem;
    color: var(--text-primary);
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.8);
}

.tweet-image-container {
    max-width: 500px;
}

/* Gallery Page Color Scheme - Cherry Blossom Theme */
.gallery-page {
    --bg-primary: #FFF5F5;
    --bg-secondary: rgba(255, 182, 193, 0.9);
    --bg-tertiary: rgba(255, 192, 203, 0.8);
    --text-primary: #8B4A6B;
    --text-secondary: #A06785;
    --text-muted: #C4A4B4;
    --accent: #FFB6C1;
    --accent-hover: #FFC0CB;
    --border: #E6B8D3;
    --success: #8B4A6B;
    font-family: 'Playfair Display', 'Crimson Text', serif;
    background-image: url('https://images.unsplash.com/photo-1522383225653-ed111181a951?w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-primary);
    position: relative;
}

.gallery-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 245, 245, 0.85);
    z-index: -1;
}

.gallery-page .header {
    background-color: rgba(255, 245, 245, 0.95);
    border-bottom-color: var(--border);
    box-shadow: 0 2px 10px rgba(139, 74, 107, 0.2);
}

.gallery-page .twitter-button {
    color: var(--text-secondary);
}

.gallery-page .twitter-button:hover {
    color: var(--text-primary);
    background-color: rgba(139, 74, 107, 0.1);
    border-color: var(--border);
    box-shadow: 0 0 10px rgba(139, 74, 107, 0.3);
}

.gallery-page .logo h1 {
    text-shadow: 1px 1px 2px rgba(139, 74, 107, 0.3);
    color: var(--text-primary);
}

.gallery-page .hero-title {
    text-shadow: 2px 2px 4px rgba(139, 74, 107, 0.3);
    color: var(--text-primary);
}

.gallery-page .hero-subtitle,
.gallery-page .hero-description {
    color: var(--text-secondary);
    text-shadow: none;
}

.gallery-page .nav a {
    color: var(--text-secondary);
}

.gallery-page .nav a:hover,
.gallery-page .nav a.nav-active {
    color: var(--text-primary);
    text-shadow: none;
    border-bottom-color: var(--text-primary);
}

.gallery-page .btn-primary {
    border-color: var(--text-primary);
    color: var(--text-primary);
    text-shadow: none;
    box-shadow: 2px 2px 8px rgba(139, 74, 107, 0.3);
    background-color: rgba(255, 245, 245, 0.9);
}

.gallery-page .btn-primary:hover {
    box-shadow: 3px 3px 12px rgba(139, 74, 107, 0.4);
    background-color: rgba(255, 182, 193, 0.3);
}

.gallery-page .btn-secondary {
    border-color: var(--border);
    color: var(--text-secondary);
}

.gallery-page .btn-secondary:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
    box-shadow: 2px 2px 8px rgba(139, 74, 107, 0.3);
}

.gallery-page .gallery-item {
    background-color: rgba(255, 245, 245, 0.95);
    border-color: var(--border);
    backdrop-filter: blur(10px);
}

.gallery-page .gallery-section {
    background: transparent;
    position: relative;
}

.gallery-page .gallery-item:hover {
    box-shadow: 4px 4px 16px rgba(139, 74, 107, 0.3);
    border-color: var(--text-primary);
}

.gallery-page .gallery-item-btn {
    border-color: var(--text-primary);
    color: var(--text-primary);
    text-shadow: none;
}

.gallery-page .gallery-item-btn:hover {
    box-shadow: 2px 2px 8px rgba(139, 74, 107, 0.3);
    background-color: rgba(255, 182, 193, 0.2);
}

.gallery-page .section-title {
    color: var(--text-primary);
    text-shadow: 2px 2px 4px rgba(139, 74, 107, 0.2);
}

.hero-buyback-notice {
    margin-top: 2rem;
    padding: 1rem 2rem;
    background-color: rgba(255, 182, 193, 0.4);
    border: 2px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
}

/* Tokenize Page Color Scheme - Medieval Art Theme */
.tokenize-page {
    --bg-primary: #2C1810;
    --bg-secondary: rgba(61, 43, 31, 0.95);
    --bg-tertiary: rgba(88, 61, 46, 0.9);
    --text-primary: #D4AF37;
    --text-secondary: #C9A961;
    --text-muted: #B8956A;
    --accent: #D4AF37;
    --accent-hover: #F4D03F;
    --border: #8B6914;
    --success: #D4AF37;
    font-family: 'Cinzel', 'Uncial Antiqua', serif;
    background-image: url('https://images.unsplash.com/photo-1584132967334-10e028bd69f7?w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-primary);
    position: relative;
}

.tokenize-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 24, 16, 0.85);
    z-index: -1;
}

.tokenize-page .header {
    background-color: rgba(61, 43, 31, 0.95);
    border-bottom-color: var(--border);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}

.tokenize-page .twitter-button {
    color: var(--text-secondary);
}

.tokenize-page .twitter-button:hover {
    color: var(--text-primary);
    background-color: rgba(212, 175, 55, 0.1);
    border-color: var(--border);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.tokenize-page .logo h1 {
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.8), 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
}

.tokenize-page .section-title {
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6), 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
}

.tokenize-page .section-description {
    color: var(--text-secondary);
}

.tokenize-page .nav a {
    color: var(--text-secondary);
}

.tokenize-page .nav a:hover,
.tokenize-page .nav a.nav-active {
    color: var(--text-primary);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.8);
    border-bottom-color: var(--text-primary);
}

.tokenize-page .btn-primary {
    border-color: var(--text-primary);
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4), 2px 2px 4px rgba(0, 0, 0, 0.5);
    background-color: rgba(61, 43, 31, 0.8);
}

.tokenize-page .btn-primary:hover {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6), 3px 3px 8px rgba(0, 0, 0, 0.5);
    background-color: rgba(212, 175, 55, 0.15);
}

.tokenize-page .btn-secondary {
    border-color: var(--border);
    color: var(--text-secondary);
    background-color: rgba(61, 43, 31, 0.8);
}

.tokenize-page .btn-secondary:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.8);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.tokenize-page .drawing-container {
    border-color: var(--border);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2), inset 0 0 20px rgba(0, 0, 0, 0.3);
    background-color: rgba(61, 43, 31, 0.9);
}

.tokenize-page .tool-btn {
    background-color: rgba(88, 61, 46, 0.8);
    border-color: var(--border);
    color: var(--text-secondary);
}

.tokenize-page .tool-btn:hover {
    border-color: var(--text-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    color: var(--text-primary);
}

.tokenize-page .tool-btn.active {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    background-color: rgba(212, 175, 55, 0.2);
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.tokenize-page .form-group input,
.tokenize-page .form-group textarea {
    background-color: rgba(88, 61, 46, 0.8);
    border-color: var(--border);
    color: var(--text-primary);
}

.tokenize-page .form-group input:focus,
.tokenize-page .form-group textarea:focus {
    border-color: var(--text-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    background-color: rgba(88, 61, 46, 0.9);
}


.tokenize-page .brush-slider {
    accent-color: var(--text-primary);
}

.tokenize-page .color-preset:hover {
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.tokenize-page label {
    color: var(--text-secondary);
}

.tokenize-page .tokenize-section {
    background: transparent;
    position: relative;
}

.tokenize-page .section-title {
    color: var(--text-primary);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6), 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Eerie Art Placeholder Styles - Creating eerie abstract patterns with green theme */
.art-1 {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a2a1a 100%);
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(0, 255, 0, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 204, 0, 0.15) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0, 255, 0, 0.02) 10px, rgba(0, 255, 0, 0.02) 20px);
}

.art-2 {
    background: linear-gradient(45deg, #1a2a1a 0%, #2a3a2a 50%, #1a1a1a 100%);
    background-image: 
        radial-gradient(ellipse at 50% 20%, rgba(0, 255, 0, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 80%, rgba(0, 255, 136, 0.15) 0%, transparent 60%),
        repeating-linear-gradient(90deg, transparent, transparent 15px, rgba(0, 255, 0, 0.03) 15px, rgba(0, 255, 0, 0.03) 30px);
}

.art-3 {
    background: linear-gradient(180deg, #1a1a2a 0%, #2a2a3a 50%, #1a1a1a 100%);
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(0, 255, 0, 0.1) 0%, transparent 70%),
        repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(0, 204, 0, 0.05) 10deg, transparent 20deg);
}

.art-4 {
    background: linear-gradient(225deg, #1a2a1a 0%, #2a3a2a 25%, #1a1a1a 75%, #2a1a2a 100%);
    background-image: 
        linear-gradient(45deg, rgba(0, 255, 0, 0.08) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(0, 255, 0, 0.08) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(0, 204, 0, 0.08) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(0, 204, 0, 0.08) 75%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
}

.art-5 {
    background: linear-gradient(135deg, #1a1a2a 0%, #2a2a1a 50%, #1a2a1a 100%);
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 255, 0, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, rgba(0, 204, 136, 0.12) 0%, transparent 40%),
        repeating-linear-gradient(60deg, transparent, transparent 12px, rgba(0, 255, 0, 0.03) 12px, rgba(0, 255, 0, 0.03) 24px);
}

.art-6 {
    background: linear-gradient(90deg, #1a2a2a 0%, #2a1a1a 50%, #1a1a2a 100%);
    background-image: 
        conic-gradient(from 45deg at 30% 30%, rgba(0, 255, 0, 0.1) 0deg, transparent 90deg, rgba(0, 204, 0, 0.1) 180deg, transparent 270deg),
        conic-gradient(from 225deg at 70% 70%, rgba(0, 255, 136, 0.1) 0deg, transparent 90deg, rgba(0, 255, 0, 0.1) 180deg, transparent 270deg),
        repeating-radial-gradient(circle at center, transparent 0px, rgba(0, 255, 0, 0.02) 1px, transparent 2px);
    background-size: 200px 200px, 150px 150px, 20px 20px;
}

/* About Section */
.about-section {
    background-color: var(--bg-secondary);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-content strong {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

.tokenize-section,
.gallery-section,
.lore-section {
    padding: 5rem 0;
}

.lore-page .tokenize-section,
.lore-page .gallery-section {
    background-color: var(--bg-primary);
}

.lore-page .lore-section {
    background-color: transparent;
}

/* Footer */
.footer {
    background-color: var(--bg-primary);
    border-top: 2px solid var(--border);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
    position: relative;
}

.gallery-page .footer {
    background-color: rgba(255, 245, 245, 0.95);
    color: var(--text-secondary);
    text-shadow: none;
    border-top-color: var(--border);
}

.tokenize-page .footer {
    background-color: rgba(61, 43, 31, 0.95);
    color: var(--text-muted);
    border-top-color: var(--border);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    max-width: 600px;
    background-color: var(--bg-secondary);
    border-radius: 0;
    padding: 2rem;
    border: 2px solid var(--text-primary);
    box-shadow: 0 0 50px rgba(0, 255, 0, 0.5);
}

.modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
}

.modal-close:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .nav {
        gap: 1rem;
    }

    .twitter-button {
        left: 10px;
        width: 32px;
        height: 32px;
    }
    
    .container {
        padding: 0 20px 0 50px;
    }

    .twitter-button svg {
        width: 18px;
        height: 18px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .drawing-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .tool-group {
        width: 100%;
    }

    .color-picker-container {
        flex-wrap: wrap;
    }

    .scattered-art-gallery {
        min-height: 600px;
        position: relative;
    }

    .character-art {
        width: 120px;
        height: 150px;
    }

    .progression-container {
        flex-direction: column;
        gap: 1rem;
    }

    .progression-arrow {
        transform: rotate(90deg);
        font-size: 2rem;
    }

    .progression-side {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .emoji-item {
        font-size: 2rem;
    }

    .tweet-image-container {
        max-width: 100%;
    }
}

/* ============================================
   LORE PAGE - WHIMSICAL CARTOON STYLE
   ============================================ */

.lore-page-new {
    background: linear-gradient(180deg, #87CEEB 0%, #B0E0E6 50%, #E0F6FF 100%);
    min-height: 100vh;
    font-family: 'Comic Neue', 'Nunito', sans-serif;
    position: relative;
    overflow-x: hidden;
}

.lore-page-new * {
    box-sizing: border-box;
}

/* Entry State: Dark Room with Doors */
.entry-state {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    overflow: hidden;
    z-index: 100;
    border: none;
    outline: none;
    box-shadow: none;
}

/* Ambient Fog */
.fog-layer {
    position: absolute;
    bottom: 0;
    width: 200%;
    height: 200px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0.3;
    animation: fogDrift 20s linear infinite;
    pointer-events: none;
}

.fog-1 {
    left: -50%;
    animation-duration: 25s;
}

.fog-2 {
    left: -50%;
    animation-duration: 30s;
    animation-delay: -10s;
    opacity: 0.2;
}

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

/* Doors Container - Distant, smaller (25-30% of screen height) */
.doors-container {
    position: relative;
    width: 500px;
    height: 28vh;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    transform: translateZ(-200px) scale(0.7);
    perspective: 1000px;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

/* Individual Door - Smaller, distant */
.door {
    position: absolute;
    width: 250px;
    height: 100%;
    background: 
        linear-gradient(90deg, 
            rgba(101, 67, 33, 0.9) 0%,
            rgba(139, 90, 43, 0.9) 50%,
            rgba(101, 67, 33, 0.9) 100%
        ),
        repeating-linear-gradient(
            0deg,
            rgba(80, 50, 20, 0.3) 0px,
            rgba(80, 50, 20, 0.3) 2px,
            transparent 2px,
            transparent 8px
        );
    border: 3px solid rgba(60, 40, 20, 0.8);
    transform-style: preserve-3d;
    transform-origin: center;
    transition: filter 0.3s ease;
    cursor: pointer;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

.door-left {
    left: 0;
    border-right: 2px solid rgba(40, 25, 15, 0.9);
}

.door-right {
    right: 0;
    border-left: 2px solid rgba(40, 25, 15, 0.9);
}

.door-texture {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 98px,
            rgba(60, 40, 20, 0.2) 98px,
            rgba(60, 40, 20, 0.2) 100px
        );
    pointer-events: none;
}

/* Door Hinges */
.door-hinge {
    position: absolute;
    width: 20px;
    height: 80px;
    background: linear-gradient(180deg, #4a4a4a 0%, #2a2a2a 100%);
    border: 2px solid #1a1a1a;
    border-radius: 3px;
    top: 20%;
}

.hinge-left {
    left: -10px;
}

.hinge-right {
    right: -10px;
}

/* Door Handles */
.door-handle {
    position: absolute;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, #6a6a6a 0%, #3a3a3a 100%);
    border: 3px solid #2a2a2a;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.handle-left {
    right: 20px;
}

.handle-right {
    left: 20px;
}

/* Light Between Doors */
.door-gap-light {
    position: absolute;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.8) 100%
    );
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.2;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    animation: lightFlicker 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes lightFlicker {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
    75% { opacity: 0.25; }
}

/* Cursor Hand - Soft glowing pointer */
.cursor-hand {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1000;
    transition: transform 0.1s ease-out;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
}

.cursor-hand.pulse {
    animation: handPulse 1s ease-in-out infinite;
}

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

/* Lore Room: Sky Environment */
.lore-room {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(180deg, #87CEEB 0%, #E0F6FF 50%, #FFFFFF 100%);
    overflow: hidden;
    opacity: 0;
    transition: opacity 1s ease-in;
    z-index: 50;
}

/* Sky Container */
.sky-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Clouds */
.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    opacity: 0.6;
    filter: blur(0);
    animation: cloudFloat 30s ease-in-out infinite;
}

.cloud-1 {
    width: 400px;
    height: 200px;
    top: 20%;
    left: 10%;
    animation-duration: 35s;
}

.cloud-2 {
    width: 500px;
    height: 250px;
    top: 40%;
    right: 15%;
    animation-duration: 40s;
    animation-delay: -10s;
}

.cloud-3 {
    width: 350px;
    height: 180px;
    top: 60%;
    left: 50%;
    animation-duration: 45s;
    animation-delay: -20s;
}

@keyframes cloudFloat {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(50px, -30px); }
    50% { transform: translate(-30px, 20px); }
    75% { transform: translate(40px, 10px); }
}

/* God Rays */
.god-rays {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(180deg, 
            transparent 0%,
            rgba(255, 255, 255, 0.1) 30%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.1) 70%,
            transparent 100%
        );
    opacity: 0.3;
    transition: opacity 2s ease-out;
    pointer-events: none;
}

/* Floor Mist */
.floor-mist {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, 
        rgba(255, 255, 255, 0.3) 0%,
        transparent 100%
    );
    pointer-events: none;
}

/* Story Panels */
.story-panels {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    z-index: 60;
}

.story-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

/* Panel Text Styles */
.panel-text {
    font-family: 'Cinzel', 'Uncial Antiqua', serif;
    font-size: 8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-align: center;
    white-space: nowrap;
    opacity: 0;
}

/* AIRCOIN Text */
.aircoin-text {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 
        0 0 20px rgba(173, 216, 230, 0.8),
        0 0 40px rgba(173, 216, 230, 0.6),
        0 0 60px rgba(173, 216, 230, 0.4);
    filter: blur(0);
}

@keyframes cloudForm {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.7);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes distortOut {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        filter: blur(0);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.1) rotate(5deg);
        filter: blur(0);
    }
}

/* FARTCOIN Text */
.fartcoin-text {
    color: #90EE90;
    text-shadow: 
        0 0 20px rgba(144, 238, 144, 0.8),
        0 0 40px rgba(144, 238, 144, 0.6);
    font-style: italic;
}

@keyframes fartcoinForm {
    0% {
        opacity: 0;
        transform: scale(0.6) rotate(-8deg);
    }
    50% {
        transform: scale(1.15) rotate(8deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes slowWobble {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    25% { transform: translate(-50%, -50%) rotate(-2deg); }
    75% { transform: translate(-50%, -50%) rotate(2deg); }
}

@keyframes snapOut {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        filter: blur(0);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2) rotate(180deg);
        filter: blur(0);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0) rotate(360deg);
        filter: blur(0);
    }
}

/* ARTCOIN Text - Sparkly and Shiny */
.artcoin-text {
    color: #FFD700;
    text-shadow: 
        0 0 30px rgba(255, 215, 0, 0.9),
        0 0 60px rgba(255, 215, 0, 0.7),
        0 0 90px rgba(255, 215, 0, 0.5),
        0 0 120px rgba(255, 255, 255, 0.3);
    background: linear-gradient(180deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    filter: blur(0) drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
    animation: shimmer 3s ease-in-out infinite;
}

.artcoin-text::before {
    content: '$ARTCOIN';
    position: absolute;
    top: 0;
    left: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 2px,
            rgba(255, 255, 255, 0.3) 2px,
            rgba(255, 255, 255, 0.3) 4px
        );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: -1;
    animation: shimmerMove 2s linear infinite;
}

.artcoin-text::after {
    content: '$ARTCOIN';
    position: absolute;
    top: 0;
    left: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 1;
    opacity: 0.5;
    animation: sparkleShine 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
        filter: blur(0) drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
    }
    50% {
        background-position: 100% 50%;
        filter: blur(0) drop-shadow(0 0 30px rgba(255, 215, 0, 1)) drop-shadow(0 0 60px rgba(255, 255, 255, 0.5));
    }
}

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

@keyframes sparkleShine {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@keyframes artcoinForm {
    0% {
        opacity: 0;
        transform: scale(0.4) rotateY(90deg);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
        filter: blur(0);
    }
}

@keyframes cloudSpawn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Subtitle */
.subtitle {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2rem;
    font-style: italic;
    opacity: 0;
    letter-spacing: 0.1em;
}

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

/* Transition Animations */
@keyframes dissolveOut {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        filter: blur(0);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
        filter: blur(0);
    }
}

@keyframes shatter {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        filter: blur(0);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2) rotate(180deg);
        filter: blur(0);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0) rotate(360deg);
        filter: blur(0);
    }
}

@keyframes cloudPart {
    from {
        transform: translate(0, 0);
        opacity: 0.6;
    }
    to {
        transform: translate(200px, -100px);
        opacity: 0.2;
    }
}

/* Interactive Clouds */
.interactive-clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 70;
}

.interactive-cloud {
    position: absolute;
    cursor: grab;
    user-select: none;
    opacity: 0;
    transform: scale(0.8);
    transition: transform 0.3s ease-out, opacity 0.6s ease-out;
}

.interactive-cloud:active {
    cursor: grabbing;
}

/* AIRCOIN Cloud - Top-left, smaller, lighter */
.cloud-aircoin {
    width: 200px;
    height: 120px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    filter: blur(0);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.cloud-aircoin .cloud-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 10px rgba(173, 216, 230, 0.6);
    filter: blur(0);
    white-space: nowrap;
    pointer-events: none;
}

/* FARTCOIN Cloud - Center, medium, slightly unstable */
.cloud-fartcoin {
    width: 250px;
    height: 150px;
    background: rgba(144, 238, 144, 0.5);
    border-radius: 60px;
    filter: blur(0);
    box-shadow: 0 0 35px rgba(144, 238, 144, 0.5);
    animation: floatUnstable 4s ease-in-out infinite;
}

.cloud-fartcoin .cloud-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: #90EE90;
    text-shadow: 0 0 15px rgba(144, 238, 144, 0.7);
    font-style: italic;
    white-space: nowrap;
    pointer-events: none;
}

@keyframes floatUnstable {
    0%, 100% { transform: translate(-50%, -50%) translateY(0) rotate(0deg); }
    25% { transform: translate(-50%, -50%) translateY(-5px) rotate(1deg); }
    50% { transform: translate(-50%, -50%) translateY(0) rotate(0deg); }
    75% { transform: translate(-50%, -50%) translateY(5px) rotate(-1deg); }
}

/* ARTCOIN Cloud - Bottom-right, largest, brightest, pulsing */
.cloud-artcoin {
    width: 320px;
    height: 200px;
    background: rgba(255, 215, 0, 0.7);
    border-radius: 80px;
    filter: blur(0);
    box-shadow: 
        0 0 50px rgba(255, 215, 0, 0.8),
        0 0 100px rgba(255, 215, 0, 0.6);
}

.cloud-artcoin.pulsing {
    animation: artcoinPulse 2s ease-in-out infinite;
}

.cloud-artcoin::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    animation: haloPulse 3s ease-in-out infinite;
    pointer-events: none;
}

.cloud-artcoin .cloud-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.9),
        0 0 40px rgba(255, 215, 0, 0.7);
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
}

@keyframes artcoinPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 
            0 0 50px rgba(255, 215, 0, 0.8),
            0 0 100px rgba(255, 215, 0, 0.6);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 
            0 0 60px rgba(255, 215, 0, 1),
            0 0 120px rgba(255, 215, 0, 0.8);
    }
}

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

/* Responsive */
@media (max-width: 768px) {
    .panel-text {
        font-size: 4rem;
    }
    
    .door {
        width: 150px;
    }
    
    .doors-container {
        width: 300px;
        height: 25vh;
    }
    
    .interactive-cloud {
        width: 150px !important;
        height: 90px !important;
    }
    
    .cloud-text {
        font-size: 1.2rem !important;
    }
}

/* ============================================
   LORE PAGE - WHIMSICAL CARTOON STYLE
   ============================================ */

.lore-page-new {
    background: linear-gradient(180deg, #87CEEB 0%, #B0E0E6 50%, #E0F6FF 100%);
    min-height: 100vh;
    font-family: 'Comic Neue', 'Nunito', sans-serif;
    position: relative;
    overflow-x: hidden;
}

.lore-page-new * {
    box-sizing: border-box;
}

.lore-main {
    position: relative;
    z-index: 1;
}

/* Hero Section */
.lore-hero {
    position: relative;
    min-height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, #F0F8FF 0%, #E0F6FF 50%);
}

.lore-hero-content {
    position: relative;
    z-index: 10;
}

.hero-image {
    position: absolute;
    top: 20%;
    right: 10%;
    z-index: 5;
    animation: float 4s ease-in-out infinite;
}

.artcoin-hero-image {
    max-width: 300px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.lore-title {
    font-family: 'Fredoka One', 'Comic Neue', sans-serif;
    font-size: 4.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0px rgba(255, 255, 255, 0.8);
    animation: bounceIn 1s ease-out;
}

.lore-subtitle {
    font-size: 1.5rem;
    color: #34495e;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Sections */
.lore-section {
    position: relative;
    min-height: 45vh;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Progression Arrows */
.progression-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0;
    position: relative;
    z-index: 5;
}

.progression-arrow svg {
    color: #2c3e50;
    animation: arrowBounce 2s ease-in-out infinite;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

.section-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 5;
}

.section-text {
    padding: 1rem;
}

.section-title {
    font-family: 'Fredoka One', sans-serif;
    font-size: 3.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.8);
}

.section-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #34495e;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.section-visual {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* AIRCOIN Section */
.section-aircoin {
    background: linear-gradient(180deg, #E0F6FF 0%, #D0E6F0 50%, #B8D8E8 100%);
}

.aircoin-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
    z-index: 1;
    position: relative;
}

/* FARTCOIN Section */
.section-fartcoin {
    background: linear-gradient(180deg, #B8D8E8 0%, #A0CAE0 50%, #90C0D8 100%);
    position: relative;
    overflow: hidden;
}

.fartcoin-scene {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fartcoin-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Main large cloud on the left */
.fart-wisp {
    position: absolute;
    background: linear-gradient(135deg, #32CD32 0%, #ADFF2F 50%, #9AFF9A 100%);
    box-shadow: 
        inset -10px -10px 20px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(50, 205, 50, 0.3);
}

/* Large main cloud mass on left */
.wisp-1 {
    width: 180px;
    height: 140px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    border-radius: 50% 40% 60% 50% / 60% 50% 50% 60%;
    z-index: 5;
}

.wisp-1::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 15%;
    width: 60%;
    height: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    border-radius: 50%;
    pointer-events: none;
}

/* Medium cloud segment */
.wisp-2 {
    width: 120px;
    height: 100px;
    top: 45%;
    left: 120px;
    transform: translateY(-50%);
    border-radius: 50% 40% 50% 50% / 50% 50% 40% 50%;
    z-index: 4;
}

/* Smaller bubbles tapering to the right */
.wisp-3 {
    width: 80px;
    height: 70px;
    top: 50%;
    left: 200px;
    transform: translateY(-50%);
    border-radius: 50%;
    z-index: 3;
}

.wisp-4 {
    width: 60px;
    height: 55px;
    top: 48%;
    left: 260px;
    transform: translateY(-50%);
    border-radius: 50%;
    z-index: 2;
}

.wisp-5 {
    width: 45px;
    height: 40px;
    top: 52%;
    left: 310px;
    transform: translateY(-50%);
    border-radius: 50%;
    z-index: 1;
}


/* Small scattered particles */
.fart-particle {
    position: absolute;
    background: #32CD32;
    border-radius: 50%;
    box-shadow: inset -2px -2px 4px rgba(0, 0, 0, 0.1);
    animation: particleFloat 3s ease-in-out infinite;
}

.particle-1 {
    width: 18px;
    height: 18px;
    top: 15%;
    left: 30px;
    background: linear-gradient(135deg, #ADFF2F 0%, #32CD32 100%);
    animation-delay: 0s;
}

.particle-2 {
    width: 15px;
    height: 15px;
    top: 25%;
    left: 60px;
    background: linear-gradient(135deg, #9AFF9A 0%, #32CD32 100%);
    animation-delay: 0.5s;
}

.particle-3 {
    width: 20px;
    height: 20px;
    bottom: 20%;
    left: 100px;
    background: linear-gradient(135deg, #ADFF2F 0%, #32CD32 100%);
    animation-delay: 1s;
}

.particle-4 {
    width: 12px;
    height: 12px;
    bottom: 10%;
    left: 40px;
    background: linear-gradient(135deg, #9AFF9A 0%, #32CD32 100%);
    animation-delay: 1.5s;
}

.fart-text {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Fredoka One', sans-serif;
    font-size: 2rem;
    color: #2c3e50;
    font-style: italic;
    z-index: 10;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.8);
}

@keyframes fartDrift {
    0%, 100% {
        transform: translateY(-50%) translateX(0) scale(1);
    }
    50% {
        transform: translateY(-50%) translateX(5px) scale(1.02);
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(10px, -10px) scale(1.1);
        opacity: 0.9;
    }
}

/* ARTCOIN Section */
.section-artcoin {
    background: linear-gradient(180deg, #90C0D8 0%, #80B6D0 50%, #90EE90 100%);
}

.artcoin-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.artcoin-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

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

.feature h3 {
    font-family: 'Fredoka One', sans-serif;
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #34495e;
    font-size: 1rem;
    line-height: 1.6;
}

.artcoin-scroll {
    position: relative;
    width: 400px;
    height: 500px;
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
}

.scroll-title {
    font-family: 'Fredoka One', sans-serif;
    font-size: 3rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.5);
}

.scroll-content {
    position: relative;
    height: 300px;
}

.scroll-paintbrush {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.brush-handle {
    width: 8px;
    height: 120px;
    background: #8B4513;
    border-radius: 4px;
    margin: 0 auto;
}

.brush-tip {
    width: 20px;
    height: 30px;
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
    border-radius: 0 0 10px 10px;
    margin: 0 auto;
    position: relative;
}

.brush-tip.rainbow::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100px;
    background: linear-gradient(180deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
    border-radius: 0 0 10px 10px;
    animation: paintFlow 2s ease-in-out infinite;
}

.scroll-sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #FFD700;
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
}

.sparkle:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.sparkle:nth-child(2) { top: 40%; left: 60%; animation-delay: 0.4s; }
.sparkle:nth-child(3) { top: 60%; left: 30%; animation-delay: 0.8s; }
.sparkle:nth-child(4) { top: 80%; left: 70%; animation-delay: 1.2s; }
.sparkle:nth-child(5) { top: 30%; left: 80%; animation-delay: 1.6s; }

/* Palette Character */
.floating-palette {
    position: absolute;
    z-index: 3;
    pointer-events: none;
}

.palette-hero {
    top: 20%;
    right: 10%;
    animation: float 4s ease-in-out infinite;
}

.palette-1 {
    top: 10%;
    left: 5%;
    animation: float 5s ease-in-out infinite 0.5s;
}

.palette-2 {
    bottom: 20%;
    right: 8%;
    animation: float 4.5s ease-in-out infinite 1s;
}

.palette-3 {
    top: 30%;
    right: 15%;
    animation: float 5.5s ease-in-out infinite 1.5s;
}

.palette-4 {
    bottom: 15%;
    left: 10%;
    animation: float 4s ease-in-out infinite 2s;
}

.palette-cta {
    top: 50%;
    right: 20%;
    animation: float 4s ease-in-out infinite;
}

.palette-character {
    position: relative;
    width: 120px;
    height: 150px;
}

.palette-body {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #D4A574 0%, #8B6F47 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.palette-colors {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    width: 80px;
    justify-content: center;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.color-dot.red { background: #ff0000; }
.color-dot.orange { background: #ff7f00; }
.color-dot.yellow { background: #ffff00; }
.color-dot.green { background: #00ff00; }
.color-dot.blue { background: #0000ff; }
.color-dot.indigo { background: #4b0082; }
.color-dot.purple { background: #9400d3; }

.palette-face {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 50px;
}

.palette-eyes {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 8px;
}

.palette-eyes.closed .eye {
    height: 3px;
    border-radius: 3px;
}

.eye {
    width: 12px;
    height: 12px;
    background: #2c3e50;
    border-radius: 50%;
}

.palette-smile {
    width: 30px;
    height: 15px;
    border: 3px solid #2c3e50;
    border-top: none;
    border-radius: 0 0 30px 30px;
    margin: 0 auto;
}

.palette-smile.gentle {
    width: 25px;
    height: 12px;
}

.palette-smile.big {
    width: 40px;
    height: 20px;
}

.palette-cheeks {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
}

.palette-cheeks::before,
.palette-cheeks::after {
    content: '';
    width: 12px;
    height: 12px;
    background: #ff69b4;
    border-radius: 50%;
    opacity: 0.7;
}

.palette-hand {
    position: absolute;
    width: 25px;
    height: 40px;
    background: #ffffff;
    border-radius: 12px;
    top: 60%;
}

.hand-right {
    right: -15px;
    transform: rotate(20deg);
}

.hand-left {
    left: -15px;
    transform: rotate(-20deg);
}

.thumbs-up {
    position: relative;
}

.thumbs-up::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 20px;
    background: #ffffff;
    border-radius: 6px;
}

.paintbrush {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 30px;
    background: #8B4513;
    border-radius: 2px;
}

.paintbrush::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 12px;
    background: linear-gradient(90deg, #9400d3, #ff69b4);
    border-radius: 0 0 5px 5px;
}

.paintbrush.active::after {
    animation: paintDrip 1s ease-in-out infinite;
}

.palette-boots {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.boot {
    width: 20px;
    height: 25px;
    background: #654321;
    border-radius: 0 0 10px 10px;
    position: relative;
}

.boot::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: #8B4513;
    border-radius: 5px 5px 0 0;
}

/* Palette Poses */
.palette-dreaming {
    opacity: 0.8;
}

.palette-running .palette-hand {
    animation: runArms 0.5s ease-in-out infinite;
}

.palette-painting .paintbrush {
    animation: paintStroke 1s ease-in-out infinite;
}

.palette-celebrating {
    animation: celebrate 2s ease-in-out infinite;
}

.celebration-stars {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 30px;
}

.star {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #FFD700;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: starTwinkle 1s ease-in-out infinite;
}

.star:nth-child(1) { left: 10px; animation-delay: 0s; }
.star:nth-child(2) { left: 40px; animation-delay: 0.3s; }
.star:nth-child(3) { left: 70px; animation-delay: 0.6s; }

/* CTA Section */
.lore-cta {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #90EE90 0%, #FFD700 50%, #FFA500 100%);
    text-align: center;
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-content h2 {
    font-family: 'Fredoka One', sans-serif;
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.8);
}

.cta-content p {
    font-size: 1.3rem;
    color: #34495e;
    margin-bottom: 1rem;
    font-weight: 600;
}

.lore-cta .btn-primary {
    background-color: #2c3e50;
    color: #ffffff;
    border: 3px solid #ffffff;
    text-shadow: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(44, 62, 80, 0.5);
    font-weight: 700;
    font-size: 1.2rem;
    padding: 1.25rem 3rem;
}

.lore-cta .btn-primary:hover {
    background-color: #34495e;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 40px rgba(44, 62, 80, 0.7);
    border-color: #FFD700;
}

/* Animations */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes wobble {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-2deg);
    }
    75% {
        transform: rotate(2deg);
    }
}

@keyframes drift {
    0% {
        transform: translate(0, 0);
        opacity: 0.6;
    }
    100% {
        transform: translate(30px, -30px);
        opacity: 0;
    }
}

@keyframes paintFlow {
    0% {
        height: 100px;
        opacity: 1;
    }
    100% {
        height: 150px;
        opacity: 0.7;
    }
}

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

@keyframes paintStroke {
    0%, 100% {
        transform: translateX(-50%) rotate(0deg);
    }
    50% {
        transform: translateX(-50%) rotate(15deg);
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes runArms {
    0%, 100% {
        transform: rotate(20deg);
    }
    50% {
        transform: rotate(40deg);
    }
}

@keyframes celebrate {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(-5deg);
    }
    75% {
        transform: scale(1.1) rotate(5deg);
    }
}

@keyframes starTwinkle {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .section-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-visual {
        order: -1;
    }
    
    .lore-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .artcoin-features {
        grid-template-columns: 1fr;
    }
    
    .floating-palette {
        display: none;
    }
    
    .palette-hero,
    .palette-cta {
        display: block;
    }
}



