:root {
    --gold-primary: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dark: #996515;
    --black-bg: #0A0A0A;
    --card-bg: rgba(25, 25, 25, 0.6);
    --text-main: #E0E0E0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--black-bg);
    color: var(--text-main);
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: radial-gradient(circle at 50% -20%, #2a220a 0%, var(--black-bg) 70%);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    width: 100%;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.hero {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 1s ease-out forwards;
}

.logo {
    max-width: 350px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.2));
}

.slogan {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--gold-light);
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.subtitle {
    font-size: 1.1rem;
    color: #A0A0A0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.modules {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.card {
    background: var(--card-bg);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 20px;
    padding: 40px 30px;
    width: 100%;
    max-width: 380px;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.card:hover.active {
    transform: translateY(-10px);
    border-color: var(--gold-primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.2);
}

.card-icon {
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.card h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--gold-light);
    margin-bottom: 15px;
}

.card p {
    font-size: 0.95rem;
    color: #999;
    margin-bottom: 30px;
    line-height: 1.5;
    flex-grow: 1;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: #000;
    font-weight: 600;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.card:hover.active .btn {
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    transform: scale(1.05);
}

/* Glow effect for active card */
.glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transform: skewX(-20deg);
    transition: all 0.6s ease;
}

.card:hover.active .glow {
    left: 150%;
}

/* Disabled Card Styles */
.card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    border-color: rgba(255,255,255,0.05);
}

.card.disabled .card-icon {
    color: #555;
}

.card.disabled h2 {
    color: #888;
}

.btn-disabled {
    background: #333;
    color: #777;
    box-shadow: none;
}

.badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--gold-dark);
    color: #000;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

footer {
    margin-top: 60px;
    text-align: center;
    color: #555;
    font-size: 0.85rem;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .slogan { font-size: 2rem; }
    .logo { max-width: 250px; }
}
