/* Zeus vs Hades Slot - deity.css */
/* Mythology/Battle thematic naming convention */

/* ================================
   ANIMATIONS (with .animate-ready)
   ================================ */

.animate-ready .tartarus-hero {
    animation: divine-pulse 0.8s ease-out;
    padding: 10rem 0;
}

.animate-ready .realm-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-ready .realm-section.visible {
    opacity: 1;
    transform: translateY(0);
    padding-top: 3rem;
}

.animate-ready .duel-table tr {
    opacity: 0;
    transform: translateX(-20px);
}

.animate-ready .duel-table.visible tr {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.animate-ready .duel-table.visible tr:nth-child(1) { transition-delay: 0.05s; }
.animate-ready .duel-table.visible tr:nth-child(2) { transition-delay: 0.1s; }
.animate-ready .duel-table.visible tr:nth-child(3) { transition-delay: 0.15s; }
.animate-ready .duel-table.visible tr:nth-child(4) { transition-delay: 0.2s; }
.animate-ready .duel-table.visible tr:nth-child(5) { transition-delay: 0.25s; }
.animate-ready .duel-table.visible tr:nth-child(6) { transition-delay: 0.3s; }
.animate-ready .duel-table.visible tr:nth-child(7) { transition-delay: 0.35s; }
.animate-ready .duel-table.visible tr:nth-child(8) { transition-delay: 0.4s; }
.animate-ready .duel-table.visible tr:nth-child(9) { transition-delay: 0.45s; }
.animate-ready .duel-table.visible tr:nth-child(10) { transition-delay: 0.5s; }
.animate-ready .duel-table.visible tr:nth-child(11) { transition-delay: 0.55s; }
.animate-ready .duel-table.visible tr:nth-child(12) { transition-delay: 0.6s; }

@keyframes divine-pulse {
    from {
        opacity: 0.7;
        transform: scale(1.02);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ================================
   HEADER STATES
   ================================ */

.olympus-header.scrolled {
    background: rgba(13, 5, 24, 0.98);
    box-shadow: 0 2px 20px rgba(255,215,0,0.15);
}

/* Mobile nav animation */
.animate-ready .realm-nav {
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.animate-ready .realm-nav.open {
    transform: translateY(0);
    opacity: 1;
}

/* Hamburger toggle */
.duel-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.duel-toggle.active span:nth-child(2) {
    opacity: 0;
}
.duel-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ================================
   BUTTON ENHANCEMENTS
   ================================ */

.animate-ready .btn-deity {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.25s ease;
}

.btn-zeus:hover {
    background: linear-gradient(135deg, #5179F1 0%, #20CFFF 100%);
    box-shadow: 0 0 25px rgba(65,105,225,0.5);
}

.btn-hades:hover {
    box-shadow: 0 0 25px rgba(220,20,60,0.5);
}

/* ================================
   TABLE HOVER
   ================================ */

.duel-table tbody tr {
    transition: background-color 0.2s ease;
}

.duel-table tbody tr:hover {
    background-color: rgba(255,215,0,0.1) !important;
}

/* ================================
   FAQ STYLES
   ================================ */

.faq-prophecy {
    transition: background-color 0.2s ease;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    border-radius: var(--pillar-radius);
}

.faq-prophecy:hover {
    background-color: rgba(255,215,0,0.05);
}

/* ================================
   GAME OVERLAY
   ================================ */

.animate-ready .realm-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.animate-ready .realm-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.animate-ready .game-arena {
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.animate-ready .realm-overlay.open .game-arena {
    transform: scale(1);
}

/* ================================
   IMAGE FIGURES
   ================================ */

.deity-figure {
    transition: transform 0.25s ease;
}

.deity-figure:hover {
    transform: scale(1.01);
}

.deity-figure img {
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.deity-figure:hover img {
    box-shadow: 0 8px 35px rgba(255,215,0,0.2);
    border-color: rgba(255,215,0,0.4);
}

/* ================================
   ADDITIONAL PAGE STYLES
   ================================ */

/* About page */
.deity-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.deity-article h1 {
    font-family: var(--title-font);
    font-size: 2rem;
    color: var(--deity-gold);
    margin-bottom: 1.5rem;
    text-align: center;
}

.deity-article p {
    margin-bottom: 1.2rem;
    color: #ccc;
}

.deity-article h2 {
    font-family: var(--title-font);
    font-size: 1.4rem;
    color: var(--lightning);
    margin: 2rem 0 1rem;
}

/* Contact form */
.olympus-form {
    max-width: 600px;
    margin: 2rem auto;
    background: rgba(26, 10, 46, 0.8);
    padding: 2rem;
    border-radius: var(--pillar-radius);
    border: 1px solid rgba(255,215,0,0.2);
}

.form-field {
    margin-bottom: 1.5rem;
}

.form-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--deity-gold);
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid rgba(255,215,0,0.3);
    border-radius: var(--pillar-radius);
    font-size: 1rem;
    font-family: inherit;
    background: rgba(0,0,0,0.3);
    color: #fff;
    transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--deity-gold);
}

.form-field textarea {
    min-height: 140px;
    resize: vertical;
}

/* Legal pages */
.legal-deity {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.legal-deity h1 {
    font-family: var(--title-font);
    font-size: 1.9rem;
    color: var(--deity-gold);
    margin-bottom: 0.5rem;
}

.legal-deity .updated {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.legal-deity h2 {
    font-family: var(--title-font);
    font-size: 1.35rem;
    color: var(--lightning);
    margin: 2rem 0 1rem;
}

.legal-deity p,
.legal-deity li {
    margin-bottom: 0.8rem;
    color: #bbb;
}

.legal-deity ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-deity a {
    color: var(--deity-gold);
}

/* 404 page */
.lost-realm {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem 1.5rem;
}

.lost-realm h1 {
    font-family: var(--title-font);
    font-size: 7rem;
    background: linear-gradient(90deg, var(--olympus-blue), var(--hades-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.lost-realm h2 {
    font-family: var(--title-font);
    font-size: 1.6rem;
    color: var(--deity-gold);
    margin-bottom: 1rem;
}

.lost-realm p {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 2rem;
}

/* ================================
   RESPONSIVE ENHANCEMENTS
   ================================ */

@media (max-width: 768px) {
    .deity-article,
    .legal-deity {
        padding: 2rem 1rem;
    }
    
    .olympus-form {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .lost-realm h1 {
        font-size: 5rem;
    }
    
    .deity-figure {
        margin: 1.5rem -1rem;
    }
    
    .deity-figure img {
        border-radius: 0;
    }
    .animate-ready .tartarus-hero {
    padding: 10rem 1rem;
    }
}

@media (max-width: 480px) {
    .duel-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-deity {
        width: 100%;
        justify-content: center;
    }
    
    .duel-table {
        display: block;
        overflow-x: auto;
    }
}

/* ================================
   FOCUS & ACCESSIBILITY
   ================================ */

:focus-visible {
    outline: 3px solid var(--deity-gold);
    outline-offset: 2px;
}

.btn-deity:focus-visible {
    outline-offset: 4px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .duel-table th {
        border: 2px solid var(--deity-gold);
    }
    
    .duel-table td {
        border: 1px solid #666;
    }
    
    .btn-deity {
        border: 2px solid currentColor;
    }
}

/* ================================
   PRINT STYLES
   ================================ */

@media print {
    .animate-ready .realm-section {
        opacity: 1;
        transform: none;
    }
    
    .duel-table {
        page-break-inside: avoid;
    }
    
    .oracle-faq {
        page-break-inside: avoid;
    }
    
    .deity-figure {
        page-break-inside: avoid;
    }
    
    body {
        background: #fff;
        color: #000;
    }
    
    .duel-table th {
        background: #333;
    }
    
    .duel-table td {
        color: #000;
    }
}
