/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #13131f 0%, #1f1f2e 50%, #131319 100%);
    background-attachment: fixed;
    color: #f2f0ed;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(19, 19, 31, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #f59e0b;
    font-weight: bold;
    font-size: 1.25rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #13131f;
    font-weight: bold;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #f59e0b;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: rgba(242, 240, 237, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #f59e0b;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1rem;
    background: url('../assets/hero-dungeon.jpg') center/cover;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(19, 19, 31, 0.5), #13131f);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: bold;
    margin-bottom: 1rem;
    color: #f2f0ed;
}

.hero h1 span {
    display: block;
    font-size: 0.5em;
    color: #f59e0b;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: rgba(242, 240, 237, 0.8);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-disclaimer {
    font-size: 0.875rem;
    color: rgba(245, 158, 11, 0.8);
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: #f59e0b;
    color: #13131f;
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    background: #fbbf24;
    transform: scale(1.05);
}

.btn-hero {
    background: #f59e0b;
    color: #13131f;
    padding: 1.5rem 2rem;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.btn-hero:hover {
    background: #fbbf24;
    transform: scale(1.05);
}

.btn-outline, .btn-outline-lg {
    border: 2px solid rgba(245, 158, 11, 0.3);
    background: rgba(31, 31, 46, 0.5);
    color: #f2f0ed;
}

.btn-outline-lg {
    padding: 1.5rem 2rem;
    font-size: 1.125rem;
}

.btn-outline:hover, .btn-outline-lg:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.6);
}

.btn-primary-sm, .btn-outline-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Disclaimer Banner */
.disclaimer-banner {
    background: rgba(245, 158, 11, 0.1);
    border-top: 2px solid rgba(245, 158, 11, 0.3);
    border-bottom: 2px solid rgba(245, 158, 11, 0.3);
    padding: 1.5rem 0;
}

.disclaimer-banner p {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: #f59e0b;
}

/* Features Section */
.features {
    padding: 5rem 1rem;
}

.features h2 {
    text-align: center;
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    color: #f2f0ed;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: rgba(31, 31, 46, 0.5);
    border-radius: 0.5rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
    transition: all 0.3s;
}

.feature-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}

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

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #f2f0ed;
}

.feature-card p {
    color: rgba(242, 240, 237, 0.7);
}

/* Footer */
.footer {
    background: rgba(31, 31, 46, 0.5);
    border-top: 2px solid rgba(245, 158, 11, 0.2);
    padding: 3rem 1rem 1rem;
    margin-top: 5rem;
}

.footer-section {
    text-align: center;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: #f59e0b;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-orgs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-orgs a {
    padding: 0.75rem 1.5rem;
    background: rgba(45, 45, 68, 0.5);
    border-radius: 0.5rem;
    color: #f2f0ed;
    text-decoration: none;
    border: 1px solid rgba(245, 158, 11, 0.3);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s;
}

.footer-orgs a:hover {
    background: rgba(45, 45, 68, 0.8);
}

.footer-disclaimer {
    font-size: 0.875rem;
    color: rgba(242, 240, 237, 0.7);
    border-top: 1px solid rgba(245, 158, 11, 0.3);
    border-bottom: 1px solid rgba(245, 158, 11, 0.3);
    padding: 1rem 0;
    font-weight: 600;
}

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

.footer-col h4 {
    color: #f2f0ed;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-col a {
    display: block;
    color: rgba(242, 240, 237, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #f59e0b;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(245, 158, 11, 0.3);
    color: rgba(242, 240, 237, 0.7);
    font-size: 0.875rem;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #1f1f2e;
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 400px;
    text-align: center;
    border: 2px solid rgba(245, 158, 11, 0.3);
}

.modal-content h2 {
    margin-bottom: 1rem;
    color: #f2f0ed;
}

.modal-content p {
    margin-bottom: 1.5rem;
    color: rgba(242, 240, 237, 0.8);
}

.modal-content .btn {
    width: 100%;
    margin-bottom: 0.75rem;
}

.modal-content .disclaimer {
    font-size: 0.75rem;
    color: rgba(242, 240, 237, 0.6);
    margin-top: 1rem;
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1f1f2e;
    border-top: 2px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    padding: 1rem;
    z-index: 9999;
}

.cookie-banner.active {
    display: block;
}

.cookie-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-banner p {
    flex: 1;
    font-size: 0.875rem;
    color: #f2f0ed;
}

.cookie-banner a {
    color: #f59e0b;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(19, 19, 31, 0.98);
        flex-direction: column;
        padding: 1rem;
        border-top: 1px solid rgba(245, 158, 11, 0.2);
    }

    .nav-links.active {
        display: flex;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
    }
}
