/* ===== RESULTS PAGE STYLES ===== */

/* Hero */
.results-hero {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px 10% 60px;
    background: linear-gradient(180deg, #060E1C 0%, #0a1628 50%, #040A14 100%);
    position: relative;
    overflow: hidden;
}

.results-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.results-tag {
    display: inline-block;
    color: #D4AF37;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 4px;
    margin-bottom: 25px;
    padding: 8px 25px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
}

.results-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.results-title span {
    color: #D4AF37;
    font-style: italic;
}

.results-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 700px;
    font-weight: 300;
}

/* Hero Stats */
.results-hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
    padding: 25px 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    backdrop-filter: blur(10px);
}

.rh-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rh-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #D4AF37;
}

.rh-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 5px;
}

.rh-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Results Showcase */
.results-showcase {
    padding: 100px 5%;
    background: #040A14;
}

.results-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Result Cards */
.result-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.result-card:hover {
    transform: translateY(-15px);
    border-color: #D4AF37;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.15);
}

.result-image {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.result-card:hover .result-image img {
    transform: scale(1.08);
}

.result-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(212, 175, 55, 0.9);
    color: #060E1C;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    backdrop-filter: blur(5px);
}

.gold-badge {
    background: linear-gradient(135deg, #D4AF37, #F5D060);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    animation: pulse-gold 2s ease-in-out infinite;
}

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 5px 25px rgba(212, 175, 55, 0.7); }
}

.result-info {
    padding: 25px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.result-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.result-board {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.result-score-box {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.score-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #D4AF37;
    line-height: 1;
}

.score-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
}

/* CTA */
.results-cta {
    padding: 120px 10%;
    text-align: center;
    background: linear-gradient(180deg, #040A14, #060E1C);
    position: relative;
}

.results-cta::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.5);
    max-width: 550px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

/* Footer */
.results-footer {
    padding: 60px 10%;
    background: #030812;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-inner .logo img {
    height: 40px;
}

.footer-inner p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    max-width: 400px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #D4AF37;
}

.footer-social {
    display: flex;
    gap: 25px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.4);
    transition: 0.3s;
}

.footer-social a:hover {
    color: #D4AF37;
}

.footer-copy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.2);
    margin-top: 10px;
}

/* Fade-up Animation */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Animation Delays */
.results-container .result-card:nth-child(1) { transition-delay: 0.1s; }
.results-container .result-card:nth-child(2) { transition-delay: 0.2s; }
.results-container .result-card:nth-child(3) { transition-delay: 0.3s; }
.results-container .result-card:nth-child(4) { transition-delay: 0.4s; }
.results-container .result-card:nth-child(5) { transition-delay: 0.5s; }

/* Floating Home Button */
.floating-home {
    position: fixed;
    left: 30px;
    bottom: 40px;
    z-index: 9999;
    background: var(--gold, #D4AF37);
    color: #060E1C;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(212, 175, 55, 0.4);
    animation: float-btn 3s ease-in-out infinite;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-home i {
    width: 20px;
    height: 20px;
}

.floating-home:hover {
    transform: scale(1.1) translateY(-5px);
    background: #FFFFFF;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
}

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

@media (max-width: 768px) {
    .floating-home {
        right: 20px;
        bottom: 20px;
        padding: 10px 15px;
        font-size: 0.8rem;
    }
    .floating-home span { display: none; } /* Show only icon on small phones */
}
body {
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 1024px) {
    .results-hero { padding: 120px 5% 40px; }
    .results-title { font-size: 3rem; }
    .results-container { 
        width: 100%;
        max-width: 1200px;
        padding: 0 20px;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    }
}

@media (max-width: 768px) {
    .results-hero {
        padding: 100px 20px 40px;
        width: 100%;
    }

    .results-title { 
        font-size: 1.8rem !important; /* User suggestion */
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: center;
        letter-spacing: -0.5px; 
    }
    .results-title br { display: none; }
    
    .results-subtitle { 
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .results-hero-stats {
        display: flex;
        flex-direction: column; /* User suggestion */
        align-items: center;
        width: 100%;
        max-width: 100%;
        gap: 15px;
        padding: 20px;
        margin-top: 30px;
        border-radius: 15px;
    }

    .rh-divider { 
        width: 40px; 
        height: 1px; 
        background: rgba(255,255,255,0.1);
    }

    .results-showcase {
        padding: 60px 0;
        width: 100%;
    }

    .results-container {
        display: flex;
        flex-direction: column; /* User suggestion */
        align-items: center;
        width: 100%;
        padding: 0 20px;
        gap: 20px;
    }

    .result-card {
        width: 100%; /* User suggestion */
        max-width: 100%;
        margin-bottom: 20px;
    }

    .result-image { 
        width: 100%;
        height: auto;
        min-height: 200px;
    }

    .result-info {
        width: 100%;
    }

    .score-number { font-size: 1.8rem; }

    .results-cta h2 { 
        font-size: 1.8rem !important;
        padding: 0 10px;
    }
    
    .results-cta p {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .results-hero { padding: 80px 15px 30px; }
    .results-title { font-size: 1.6rem !important; }
    
    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
        padding: 0 10px;
    }
}
