/* Horoscope Page Styles */

.horoscope-page {
    background: #FFFFFF;
    min-height: 100vh;
}

/* Hero Section */
.horoscope-hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
}

.horoscope-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Zodiac Section */
.zodiac-section {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    padding: 4rem 0;
}

/* Hexagon Grid - Plástev */
.hexagon-grid {
    display: grid;
    grid-template-columns: repeat(7, 80px);
    grid-auto-rows: 50px;
    gap: 4px;
    justify-content: center;
    padding: 2rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.hex-row {
    display: contents;
}

/* Pozicování jednotlivých hexagonů v gridu */
/* Row 1 - Beran, Býk, Blíženci */
.hex-row:nth-child(1) .hexagon:nth-child(1) { grid-column: 2 / span 1; grid-row: 1 / span 4; }
.hex-row:nth-child(1) .hexagon:nth-child(2) { grid-column: 4 / span 1; grid-row: 1 / span 4; }
.hex-row:nth-child(1) .hexagon:nth-child(3) { grid-column: 6 / span 1; grid-row: 1 / span 4; }

/* Row 2 offset - Rak, Lev, Panna, Váhy */
.hex-row:nth-child(2) .hexagon:nth-child(1) { grid-column: 1 / span 1; grid-row: 3 / span 4; }
.hex-row:nth-child(2) .hexagon:nth-child(2) { grid-column: 3 / span 1; grid-row: 3 / span 4; }
.hex-row:nth-child(2) .hexagon:nth-child(3) { grid-column: 5 / span 1; grid-row: 3 / span 4; }
.hex-row:nth-child(2) .hexagon:nth-child(4) { grid-column: 7 / span 1; grid-row: 3 / span 4; }

/* Row 3 - Štír, Střelec, Kozoroh */
.hex-row:nth-child(3) .hexagon:nth-child(1) { grid-column: 2 / span 1; grid-row: 5 / span 4; }
.hex-row:nth-child(3) .hexagon:nth-child(2) { grid-column: 4 / span 1; grid-row: 5 / span 4; }
.hex-row:nth-child(3) .hexagon:nth-child(3) { grid-column: 6 / span 1; grid-row: 5 / span 4; }

/* Row 4 offset - Vodnář, Ryby */
.hex-row:nth-child(4) .hexagon:nth-child(1) { grid-column: 3 / span 1; grid-row: 7 / span 4; }
.hex-row:nth-child(4) .hexagon:nth-child(2) { grid-column: 5 / span 1; grid-row: 7 / span 4; }

/* Hexagon Shape */
.hexagon {
    width: 150px;
    height: 173px;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    justify-self: center;
}

.hex-inner {
    width: 100%;
    height: 100%;
    position: relative;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(135deg, #FFA726 0%, #FB8C00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.hexagon:hover {
    transform: scale(1.1) translateY(-10px);
    z-index: 10;
}

.hexagon:hover .hex-inner {
    background: linear-gradient(135deg, #FB8C00 0%, #A855F7 100%);
}

/* Hexagon Content */
.hex-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    padding: 1rem;
}

.zodiac-symbol {
    font-size: 2.5rem;
    margin-bottom: 0.4rem;
    display: block;
}

.zodiac-name {
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.2rem;
}

.zodiac-dates {
    font-size: 0.75rem;
    opacity: 0.9;
    display: block;
}

/* Different colors for each sign */
.hexagon[data-sign="beran"] .hex-inner { background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%); }
.hexagon[data-sign="byk"] .hex-inner { background: linear-gradient(135deg, #10B981 0%, #059669 100%); }
.hexagon[data-sign="blizenci"] .hex-inner { background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%); }
.hexagon[data-sign="rak"] .hex-inner { background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%); }
.hexagon[data-sign="lev"] .hex-inner { background: linear-gradient(135deg, #FB8C00 0%, #F97316 100%); }
.hexagon[data-sign="panna"] .hex-inner { background: linear-gradient(135deg, #EC4899 0%, #DB2777 100%); }
.hexagon[data-sign="vahy"] .hex-inner { background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%); }
.hexagon[data-sign="stir"] .hex-inner { background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%); }
.hexagon[data-sign="strelec"] .hex-inner { background: linear-gradient(135deg, #A855F7 0%, #9333EA 100%); }
.hexagon[data-sign="kozoroh"] .hex-inner { background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%); }
.hexagon[data-sign="vodnar"] .hex-inner { background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%); }
.hexagon[data-sign="ryby"] .hex-inner { background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%); }

/* Hover effect - všechny se změní na oranžovo-fialovou */
.hexagon:hover .hex-inner {
    background: linear-gradient(135deg, #FB8C00 0%, #A855F7 100%) !important;
}

/* Info Section */
.horoscope-info-section {
    background: #FFFFFF;
    padding: 5rem 0;
}

.info-content {
    max-width: 1000px;
    margin: 0 auto;
}

.info-header {
    text-align: center;
    margin-bottom: 4rem;
}

.info-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: #1E293B;
    margin-bottom: 1rem;
}

.info-subtitle {
    font-size: 1.25rem;
    color: #64748B;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.info-card {
    text-align: center;
    padding: 2rem;
    background: #F8FAFC;
    border-radius: 1rem;
    border: 2px solid #E5E5E5;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: #FB8C00;
}

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

.info-card h3 {
    font-size: 1.5rem;
    color: #1E293B;
    margin-bottom: 1rem;
}

.info-card p {
    color: #64748B;
    line-height: 1.6;
}

.info-cta {
    background: linear-gradient(135deg, #FB8C00 0%, #A855F7 100%);
    padding: 3rem;
    border-radius: 1.5rem;
    color: white;
    text-align: center;
}

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: white;
}

.steps-list {
    text-align: left;
    max-width: 600px;
    margin: 0 auto 2rem;
    padding: 0;
    list-style: none;
    counter-reset: step-counter;
}

.steps-list li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.steps-list strong {
    color: white;
    font-weight: 700;
}

.cta-note {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    margin: 2rem auto;
    max-width: 700px;
    font-size: 1rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Result Section */
.result-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.05);
}

.result-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 1.5rem;
    padding: 3rem;
    border: 2px solid #E5E5E5;
}

.result-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #E5E5E5;
}

.result-header h2 {
    font-size: 2rem;
    color: #1E293B;
    margin-bottom: 1rem;
}

.result-meta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    color: #64748B;
    font-size: 1rem;
}

.separator {
    color: #FB8C00;
}

.horoscope-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #FFFFFF;
    margin-bottom: 2rem;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hex-row-offset {
        margin-left: 100px;
    }
    
    .hexagon {
        width: 160px;
        height: 180px;
    }
    
    .zodiac-symbol {
        font-size: 2.5rem;
    }
    
    .zodiac-name {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .horoscope-hero {
        padding: 5rem 0 2rem;
    }
    
    .horoscope-hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Switch to simple grid on mobile */
    .hexagon-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .hex-row,
    .hex-row-offset {
        display: contents;
        margin: 0;
    }
    
    .hexagon {
        width: 100%;
        height: 120px;
        /* Reset grid positioning for mobile */
        grid-column: auto !important;
        grid-row: auto !important;
    }
    
    .hex-inner {
        border-radius: 0.75rem;
        clip-path: none;
    }
    
    .zodiac-symbol {
        font-size: 1.75rem;
        margin-bottom: 0.25rem;
    }
    
    .zodiac-name {
        font-size: 0.85rem;
    }
    
    .zodiac-dates {
        font-size: 0.65rem;
    }
    
    .hex-content {
        padding: 0.5rem;
    }
    
    .result-card {
        padding: 1.5rem 1rem;
    }
    
    .zodiac-section {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .hexagon-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .hexagon {
        height: 110px;
    }
    
    .zodiac-symbol {
        font-size: 1.5rem;
    }
    
    .zodiac-name {
        font-size: 0.8rem;
    }
    
    .zodiac-dates {
        font-size: 0.6rem;
    }
    
    .horoscope-hero {
        padding: 4.5rem 0 1.5rem;
    }
    
    .horoscope-hero h1 {
        font-size: 1.75rem;
    }
}

/* User Status Section */
.user-status-section {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    padding: 0 0 4rem 0;
}

.status-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 2.5rem;
    border-radius: 1.5rem;
    border: 2px solid;
    transition: all 0.3s ease;
}

.status-logged-in {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border-color: #FB8C00;
}

.status-guest {
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    border-color: #CBD5E1;
}

.status-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.status-content {
    flex: 1;
}

.status-content h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.75rem;
    font-weight: 900;
    color: #0F172A;
    margin-bottom: 0.5rem;
}

.status-content p {
    font-size: 1.125rem;
    color: #475569;
    font-weight: 500;
    margin: 0;
}

.status-content p strong {
    color: #FB8C00;
    font-weight: 700;
}

.status-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.quick-horoscope-btn {
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    .status-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .status-actions {
        flex-direction: column;
        width: 100%;
    }

    .status-actions .btn {
        width: 100%;
    }

    .status-content h3 {
        font-size: 1.5rem;
    }

    .status-content p {
        font-size: 1rem;
    }
}
