:root {
    --bg-main: #0a0404;
    --bg-panel: rgba(20, 10, 10, 0.85);
    --primary: #D32F2F; /* Deep crimson */
    --primary-glow: rgba(211, 47, 47, 0.7);
    --secondary: #FFD700; /* Rich gold */
    --secondary-glow: rgba(255, 215, 0, 0.6);
    --text-main: #FDFBF7; /* Warm off-white */
    --text-muted: #D7CCC8;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lora', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effects */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.4;
    animation: float 12s infinite alternate ease-in-out;
}

.red-orb {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: var(--primary);
}

.gold-orb {
    bottom: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: var(--secondary);
    animation-delay: -6s;
}

.mist-overlay {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><filter id="mist"><feTurbulence type="fractalNoise" baseFrequency="0.01" numOctaves="3" result="noise"/><feColorMatrix type="matrix" values="1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 0.1 0" in="noise"/></filter><rect width="100%" height="100%" filter="url(%23mist)"/></svg>');
    opacity: 0.3;
    mix-blend-mode: overlay;
}

/* Petals Animation */
.petals-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.petal {
    position: absolute;
    top: -10%;
    background: linear-gradient(135deg, #ffb7b2 0%, #e28495 100%);
    border-radius: 150% 0 150% 0;
    opacity: 0.6;
    box-shadow: 0 0 5px rgba(226, 132, 149, 0.4);
    animation: falling linear infinite;
}

@keyframes falling {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 60px); }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    background: rgba(10, 4, 4, 0.85);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.highlight {
    color: var(--secondary);
    text-shadow: 0 0 15px var(--secondary-glow);
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    font-family: var(--font-heading);
}

.nav-links a:hover {
    color: var(--secondary);
    text-shadow: 0 0 8px var(--secondary-glow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 2px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), #8B0000);
    color: #fff;
    border: 1px solid var(--secondary);
    box-shadow: 0 0 15px rgba(211, 47, 47, 0.5);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.4), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 150%;
}

.btn-primary:hover {
    box-shadow: 0 0 25px var(--primary-glow), 0 0 10px var(--secondary-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border: 1px solid var(--secondary);
}

.btn-outline:hover {
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 15px var(--secondary-glow);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.15rem;
    gap: 12px;
}

.btn-secondary {
    background: rgba(20, 10, 10, 0.8);
    color: var(--text-main);
    border: 1px solid var(--primary);
    box-shadow: inset 0 0 10px rgba(211, 47, 47, 0.3);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 20px var(--primary-glow);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border: 1px solid rgba(255, 215, 0, 0.4);
    background: rgba(255, 215, 0, 0.05);
    border-radius: 2px;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    color: var(--secondary);
    margin-bottom: 28px;
    letter-spacing: 1px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.8); opacity: 0.4; }
    100% { transform: scale(1); opacity: 1; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 900;
}

.text-gradient {
    background: linear-gradient(90deg, var(--secondary), #FFA000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-glow {
    color: var(--primary);
    text-shadow: 0 0 25px rgba(211, 47, 47, 0.8);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 45px;
    font-style: italic;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.icon {
    width: 22px;
    height: 22px;
}

.stats-container {
    display: flex;
    gap: 45px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    padding-top: 35px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--secondary);
    text-shadow: 0 0 15px var(--secondary-glow);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10, 4, 4, 1) 0%, rgba(10, 4, 4, 0.85) 40%, rgba(10, 4, 4, 0.3) 100%);
}

/* Features */
.features {
    padding: 100px 0;
    background: rgba(10, 4, 4, 0.95);
    border-top: 1px solid rgba(255, 215, 0, 0.15);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
    font-style: italic;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-panel);
    padding: 40px 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.dracin-border {
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(30, 10, 10, 0.9);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 15px rgba(211, 47, 47, 0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 65px;
    height: 65px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--secondary);
    border: 1px solid rgba(255, 215, 0, 0.3);
    transition: all 0.4s;
}

.feature-card:hover .feature-icon {
    background: var(--secondary);
    color: #000;
    box-shadow: 0 0 25px var(--secondary-glow);
    transform: rotate(360deg);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-family: var(--font-heading);
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Footer */
footer {
    background: #050202;
    padding: 70px 0 30px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo p {
    color: var(--text-muted);
    margin-top: 12px;
    font-size: 0.95rem;
    font-style: italic;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
    font-family: var(--font-heading);
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.modal-content {
    background: var(--bg-panel);
    width: 90%;
    max-width: 550px;
    padding: 45px;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 215, 0, 0.1);
    color: var(--secondary);
    border: 1px solid var(--secondary);
    border-radius: 2px;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    margin-bottom: 25px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 18px;
}

.modal-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
    font-style: italic;
}

.modal-bonus-box {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 35px;
}

.bonus-item {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 18px 25px;
    border-radius: 2px;
    min-width: 130px;
    box-shadow: inset 0 0 10px rgba(255,215,0,0.1);
}

.bonus-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
    font-weight: bold;
}

.bonus-label {
    font-size: 0.85rem;
    color: var(--secondary);
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .hero-visual::before { background: rgba(10, 4, 4, 0.8); }
    .hero-content { z-index: 10; padding: 25px; background: rgba(0,0,0,0.6); border: 1px solid rgba(255,215,0,0.2); backdrop-filter: blur(8px); }
}

@media (max-width: 768px) {
    .navbar .nav-links a:not(.btn) { display: none; }
    .hero-title { font-size: 2.4rem; }
    .hero-actions { flex-direction: column; }
    .stats-container { flex-direction: column; gap: 25px; }
    .footer-content { flex-direction: column; text-align: center; }
    .modal-content { padding: 35px 20px; }
}
