@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Inter:wght@300;400;600&display=swap');

:root {
    --rp-gold: #FFD700;
    --rp-gold-dim: #b39700;
    --rp-dark: #0a0a0a;
    --rp-dark-glass: rgba(10, 10, 10, 0.8);
    --rp-glass-border: rgba(255, 215, 0, 0.3);
}

body.rpawards-page {
    background-color: var(--rp-dark);
    color: #fff;
    font-family: 'Inter', sans-serif;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
}

.rpawards-page h1,
.rpawards-page h2,
.rpawards-page h3 {
    font-family: 'Cinzel', serif;
}

/* Hero Section */
.rpawards-page .hero {
    text-align: center;
    padding: 6rem 1rem 4rem;
    position: relative;
    overflow: hidden;
}

.rpawards-page .hero h1 {
    font-size: 4.5rem;
    color: var(--rp-gold);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.rpawards-page .hero .muted {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Countdown Section */
.countdown-section {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid var(--rp-glass-border);
    backdrop-filter: blur(10px);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-unit span {
    font-size: 3rem;
    font-family: 'Cinzel', serif;
    color: var(--rp-gold);
    font-weight: bold;
    line-height: 1;
}

.time-unit label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
    margin-top: 0.5rem;
}

/* Category Grid */
.categories-section {
    margin: 4rem 0;
}

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

.category-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.category-card:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--rp-gold);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.category-card .cat-number {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--rp-gold);
    opacity: 0.5;
    font-weight: bold;
}

.category-card h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: normal;
}

/* General Card Styles */
.rpawards-page .card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid var(--rp-glass-border);
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
    border-radius: 10px;
}

.rpawards-page .card-body {
    padding: 2rem;
}

.rpawards-page .hero-h2 {
    color: var(--rp-gold);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* Buttons */
.rpawards-page .btn {
    background: transparent;
    color: var(--rp-gold);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid var(--rp-gold);
    padding: 1rem 2rem;
    border-radius: 0;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    font-family: 'Cinzel', serif;
}

.rpawards-page .btn:hover {
    background: var(--rp-gold);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.rpawards-page .btn-large {
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
}

.text-center {
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .rpawards-page .hero h1 {
        font-size: 3rem;
    }

    .countdown-timer {
        gap: 1rem;
    }

    .time-unit span {
        font-size: 2rem;
    }

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

/* Animation Utilities */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid var(--rp-gold);
    padding: 2.5rem;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--rp-gold);
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.modal-close:hover {
    transform: rotate(90deg) scale(1.1);
    color: #fff;
}

#modal-title {
    color: var(--rp-gold);
    font-family: 'Cinzel', serif;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 0.5rem;
}

#modal-description {
    line-height: 1.6;
    color: #ddd;
    font-size: 1.1rem;
}

/* Share Button Specifics */
#share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}