/* CSS Variables for consistent theming */
:root {
    --primary-color: #1a1a1a;
    --accent-color: #8b1538; /* Deep burgundy */
    --text-secondary: #666666;
    --background-color: #ffffff;
    --form-border: #e1e1e1;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    
    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 6rem;
    
    /* Container */
    --container-max-width: 1200px;
    --content-max-width: 600px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--primary-color);
    background-color: var(--background-color);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Background Elements */
.background-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: 
        radial-gradient(circle at 1px 1px, var(--primary-color) 1px, transparent 0);
    background-size: 20px 20px;
    z-index: -2;
    pointer-events: none;
}

.literary-illustration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.ink-blot {
    position: absolute;
    opacity: 0.04;
    border-radius: 50% 40% 60% 30%;
    background: var(--primary-color);
    animation: float 20s ease-in-out infinite, pulse 8s ease-in-out infinite;
}

.ink-blot-1 {
    width: 300px;
    height: 200px;
    top: 15%;
    right: 10%;
    animation-delay: 0s, 2s;
}

.ink-blot-2 {
    width: 150px;
    height: 100px;
    bottom: 20%;
    left: 15%;
    animation-delay: -10s, 5s;
}

.ink-blot-3 {
    width: 100px;
    height: 80px;
    top: 60%;
    right: 20%;
    animation-delay: -5s, 1s;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-quote {
    position: absolute;
    font-family: var(--font-serif);
    font-size: 8rem;
    color: var(--primary-color);
    opacity: 0.02;
    top: 20%;
    left: 5%;
    animation: drift 25s linear infinite;
    font-weight: 700;
}

.floating-letter {
    position: absolute;
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.06;
    top: 70%;
    right: 8%;
    animation: float 15s ease-in-out infinite;
    animation-delay: -3s;
    font-weight: 400;
}

.floating-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.1;
    top: 40%;
    left: 20%;
    animation: drift 20s linear infinite reverse;
}

.floating-line {
    position: absolute;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.08;
    top: 80%;
    right: 25%;
    animation: float 18s ease-in-out infinite;
    animation-delay: -8s;
}

.floating-feather {
    position: absolute;
    width: 24px;
    height: 24px;
    color: var(--text-secondary);
    opacity: 0.05;
    top: 30%;
    left: 80%;
    animation: drift 30s linear infinite;
    animation-delay: -15s;
}

.floating-book {
    position: absolute;
    width: 20px;
    height: 20px;
    color: var(--accent-color);
    opacity: 0.04;
    top: 85%;
    left: 70%;
    animation: float 22s ease-in-out infinite;
    animation-delay: -12s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.03; transform: scale(1); }
    50% { opacity: 0.08; transform: scale(1.05); }
}

@keyframes drift {
    0% { transform: translateX(0px) translateY(0px) rotate(0deg); }
    25% { transform: translateX(10px) translateY(-15px) rotate(90deg); }
    50% { transform: translateX(5px) translateY(-30px) rotate(180deg); }
    75% { transform: translateX(-5px) translateY(-15px) rotate(270deg); }
    100% { transform: translateX(0px) translateY(0px) rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 50% { border-right-color: transparent; }
    51%, 100% { border-right-color: var(--accent-color); }
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { transform: translateY(0); }
    40%, 43% { transform: translateY(-8px); }
    70% { transform: translateY(-4px); }
    90% { transform: translateY(-2px); }
}

/* Container and Layout */
.container {
    min-height: 100vh;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

/* Header */
.header {
    text-align: center;
    padding: var(--spacing-sm) 0;
}

/* Logo */
.logo {
    display: inline-block;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.logo-text::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-color);
    animation: blink 1s infinite;
    animation-delay: 2s;
}

.logo-underline {
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 0 auto;
    animation: slideInFromLeft 1.5s ease-out 0.5s forwards;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--spacing-md) 0;
}

/* Hero Section */
.hero {
    max-width: var(--content-max-width);
    margin-bottom: var(--spacing-2xl);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    animation: slideInFromLeft 1s ease-out 0.8s both;
}

.hero-tagline {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 1.2s both;
}

/* Call to Action Section */
.cta-section {
    max-width: var(--content-max-width);
    width: 100%;
    animation: slideInFromRight 1s ease-out 1.6s both;
}

/* Literary Features */
.literary-feature {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: var(--spacing-lg);
}

/* Quote Generator */
.quote-generator {
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.book-recommendation {
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-weight: 400;
}

.quote-container {
    margin-bottom: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.featured-quote {
    background: rgba(139, 21, 56, 0.03);
    border-left: 4px solid var(--accent-color);
    padding: var(--spacing-lg);
    margin: 0 0 var(--spacing-md);
    border-radius: 0 8px 8px 0;
    position: relative;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 280px;
}

.featured-quote::before {
    content: '"';
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.3;
    position: absolute;
    top: -10px;
    left: 20px;
}

.quote-text {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: var(--spacing-sm);
}

.quote-author {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    display: block;
    text-align: right;
}

.generate-btn,
.discover-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-sans);
    color: var(--accent-color);
    background: transparent;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    min-height: 48px;
    position: relative;
    overflow: hidden;
}

.generate-btn::before,
.discover-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    transition: left 0.3s ease;
    z-index: -1;
}

.generate-btn:hover::before,
.discover-btn:hover::before {
    left: 0;
}

.generate-btn:hover,
.discover-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 21, 56, 0.3);
}

.generate-btn:active,
.discover-btn:active {
    transform: translateY(0);
}

.generate-btn i,
.discover-btn i {
    font-size: 1rem;
}

/* Book Recommendation */
.book-recommendation {
    text-align: center;
}

.book-card {
    background: var(--background-color);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: var(--spacing-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.book-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #a31d47, var(--accent-color));
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.book-cover {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    perspective: 1000px;
    flex-shrink: 0;
}

.book-info {
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.book-front {
    width: 120px;
    height: 180px;
    background: linear-gradient(135deg, var(--accent-color), #a31d47);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-sm);
    color: white;
    text-align: center;
    position: relative;
    box-shadow: 
        2px 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.book-front:hover {
    transform: rotateY(-5deg) rotateX(2deg);
}

.book-spine {
    width: 12px;
    height: 180px;
    background: linear-gradient(180deg, #6d1028, var(--accent-color));
    border-radius: 2px 0 0 2px;
    margin-right: 2px;
    box-shadow: inset -2px 0 4px rgba(0, 0, 0, 0.3);
}

.book-title {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-xs);
}

.book-author {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 300;
    opacity: 0.9;
}

.book-info {
    text-align: left;
}

.book-description {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.book-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-sm);
}

.book-genre {
    background: rgba(139, 21, 56, 0.1);
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.book-year {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Animation states for updating content */
.featured-quote.updating,
.book-card.updating {
    animation: pulse 0.6s ease-in-out;
}

.quote-text,
.quote-author,
.book-title,
.book-author,
.book-description,
.book-genre,
.book-year {
    transition: opacity 0.3s ease;
}

/* Launch Status */
.launch-status {
    text-align: center;
    color: var(--text-secondary);
    animation: fadeInUp 1s ease-out 2s both;
}

/* Countdown Timer */
.countdown-container {
    margin-bottom: var(--spacing-lg);
}

.countdown-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-weight: 400;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 2.2s both;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out both;
}

.countdown-item:nth-child(1) { animation-delay: 2.4s; }
.countdown-item:nth-child(3) { animation-delay: 2.6s; }
.countdown-item:nth-child(5) { animation-delay: 2.8s; }
.countdown-item:nth-child(7) { animation-delay: 3s; }

.countdown-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    background: linear-gradient(135deg, var(--accent-color), #a31d47);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(139, 21, 56, 0.2);
    border-radius: 12px;
    background-color: rgba(139, 21, 56, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.countdown-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

.countdown-number.updating {
    animation: pulse 0.5s ease-in-out;
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: var(--spacing-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.countdown-separator {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.6;
    animation: blink 2s infinite;
    margin: 0 var(--spacing-xs);
}

/* Progress Bar */
.countdown-progress {
    margin-top: var(--spacing-md);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 3.2s both;
}

.progress-bar {
    width: 100%;
    max-width: 300px;
    height: 6px;
    background: rgba(139, 21, 56, 0.1);
    border-radius: 3px;
    margin: 0 auto var(--spacing-sm);
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), #a31d47);
    border-radius: 3px;
    transition: width 1s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

.progress-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.launch-text {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
}

/* Footer */
.footer {
    text-align: center;
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: var(--spacing-xl);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.04);
}

.social-link:hover {
    color: var(--accent-color);
    background: rgba(139, 21, 56, 0.1);
    transform: translateY(-2px);
}

.social-link i {
    font-size: 1.1rem;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--background-color);
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    max-height: 90%;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--form-border);
}

.modal-header h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: var(--spacing-xs);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

.modal-body {
    padding: var(--spacing-md);
}

.modal-body p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Animations */
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design */
@media (min-width: 640px) {
    .literary-feature {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
        align-items: stretch;
    }
    
    .quote-generator,
    .book-recommendation {
        height: 100%;
    }
    
    .book-card {
        text-align: left;
    }
    
    .book-cover {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .container {
        padding: var(--spacing-sm);
    }
    
    .logo-text {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .main-content {
        padding: var(--spacing-lg) 0;
    }
    
    .hero {
        margin-bottom: var(--spacing-xl);
    }
    
    .literary-feature {
        gap: var(--spacing-lg);
    }
    
    .featured-quote,
    .book-card {
        min-height: 240px;
    }
    
    .feature-title {
        font-size: 1.3rem;
    }
    
    .quote-text {
        font-size: 1.1rem;
    }
    
    .book-front {
        width: 100px;
        height: 150px;
    }
    
    .book-spine {
        height: 150px;
    }
    
    .book-title {
        font-size: 0.8rem;
    }
    
    .book-author {
        font-size: 0.7rem;
    }
    
    .countdown-number {
        font-size: 1.8rem;
        min-width: 50px;
        height: 50px;
    }
    
    .countdown-timer {
        gap: var(--spacing-xs);
    }
    
    .countdown-separator {
        font-size: 1.5rem;
        margin: 0 2px;
    }
    
    .floating-quote {
        font-size: 6rem;
    }
    
    .floating-letter {
        font-size: 3rem;
    }
    
    .ink-blot-1,
    .ink-blot-2,
    .ink-blot-3 {
        opacity: 0.02;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
    
    .countdown-timer {
        flex-direction: row;
        justify-content: space-between;
        max-width: 280px;
        margin: 0 auto var(--spacing-md);
    }
    
    .countdown-number {
        font-size: 1.4rem;
        min-width: 40px;
        height: 40px;
    }
    
    .countdown-separator {
        font-size: 1.2rem;
        display: none;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
    
    .countdown-title {
        font-size: 1.2rem;
    }
    
    .floating-elements .floating-quote,
    .floating-elements .floating-letter {
        display: none;
    }
    
    .social-links {
        gap: var(--spacing-sm);
    }
    
    .modal-content {
        width: 95%;
        margin: var(--spacing-sm);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --form-border: #000000;
        --text-secondary: #000000;
    }
    
    .form-group input {
        border-width: 2px;
    }
    
    .background-texture,
    .ink-blot {
        display: none;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .ink-blot,
    .floating-elements > *,
    .logo-text::after,
    .countdown-separator {
        animation: none !important;
    }
    
    .logo-underline {
        width: 100% !important;
    }
    
    .hero-title,
    .hero-tagline,
    .cta-section,
    .launch-status,
    .countdown-title,
    .countdown-item,
    .countdown-progress {
        animation: none !important;
        opacity: 1 !important;
    }
}

/* Focus styles for accessibility */
.notify-btn:focus-visible,
.social-link:focus-visible,
.modal-close:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Skip link - hidden from view but accessible to screen readers */
.skip-link {
    position: absolute !important;
    top: -40px !important;
    left: 6px !important;
    background: var(--accent-color) !important;
    color: white !important;
    padding: 8px !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    z-index: 1001 !important;
    transition: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.skip-link:focus {
    top: 6px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Print styles */
@media print {
    .background-texture,
    .literary-illustration,
    .social-links {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
}
