/* smileydn.today - Unique Nordic/Medieval Fantasy Theme */
:root {
    --primary-color: #2c5f7c;
    --secondary-color: #4a8fb3;
    --accent-color: #7ec4e8;
    --dark-bg: #0d1b2a;
    --mid-bg: #1b263b;
    --light-bg: #415a77;
    --text-light: #e0e9f0;
    --text-muted: #9db4c8;
    --border-color: #3d5a80;
    --success-color: #2a9d8f;
    --warning-color: #e76f51;
    --shadow: rgba(44, 95, 124, 0.4);
}

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

body {
    font-family: 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--mid-bg) 50%, var(--dark-bg) 100%);
    color: var(--text-light);
    line-height: 1.7;
    min-height: 100vh;
}

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

/* Header & Navigation */
header {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.98) 0%, rgba(27, 38, 59, 0.98) 100%);
    backdrop-filter: blur(12px);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 5px 20px var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
    letter-spacing: 2px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--accent-color);
    transition: 0.3s;
    border-radius: 3px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.8rem;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

nav ul li a:hover {
    color: var(--accent-color);
    background: rgba(126, 196, 232, 0.15);
}

nav ul li a.active {
    color: var(--accent-color);
    background: rgba(126, 196, 232, 0.25);
    border-bottom: 3px solid var(--accent-color);
    box-shadow: 0 4px 12px var(--shadow);
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(27, 38, 59, 0.6) 0%, rgba(13, 27, 42, 0.6) 100%);
    border-bottom: 4px solid var(--primary-color);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(126, 196, 232, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.8);
    letter-spacing: 3px;
    font-weight: 800;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.hero-image {
    max-width: 100%;
    height: auto;
    margin: 2.5rem 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow);
    border: 3px solid var(--border-color);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
    box-shadow: 0 6px 20px var(--shadow);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--shadow);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

/* Disclaimer Banner */
.disclaimer-banner {
    background: linear-gradient(135deg, var(--warning-color), #d35400);
    padding: 2rem;
    margin: 2.5rem 0;
    border-left: 6px solid var(--accent-color);
    border-radius: 10px;
    box-shadow: 0 6px 18px var(--shadow);
}

.disclaimer-banner h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.disclaimer-banner p {
    margin-bottom: 1.2rem;
    line-height: 1.9;
    font-size: 1.05rem;
}

.disclaimer-banner .cta-button {
    padding: 0.8rem 2.2rem;
    font-size: 1rem;
}

/* Game Section */
.game-section {
    padding: 4rem 0;
    background: rgba(27, 38, 59, 0.4);
}

.game-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: var(--accent-color);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
    font-weight: 700;
}

.game-content {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
}

.game-frame {
    width: 100%;
    max-width: 900px;
    height: 600px;
    border: 4px solid var(--primary-color);
    border-radius: 12px;
    background: var(--dark-bg);
    box-shadow: 0 10px 30px var(--shadow);
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.6) 0%, rgba(27, 38, 59, 0.6) 100%);
}

.about-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    color: var(--accent-color);
    font-weight: 700;
}

.about-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.9;
}

.about-content p {
    margin-bottom: 1.8rem;
    font-size: 1.15rem;
    color: var(--text-muted);
}

/* Reviews Section */
.reviews-section {
    padding: 4rem 0;
    background: rgba(27, 38, 59, 0.4);
}

.reviews-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: var(--accent-color);
    font-weight: 700;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.review-card {
    background: linear-gradient(135deg, rgba(27, 38, 59, 0.9), rgba(13, 27, 42, 0.9));
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    box-shadow: 0 6px 20px var(--shadow);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px var(--shadow);
}

.review-card .stars {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.review-card .reviewer {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.6) 0%, rgba(27, 38, 59, 0.6) 100%);
}

.features-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: var(--accent-color);
    font-weight: 700;
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
}

.feature-box {
    background: linear-gradient(135deg, rgba(27, 38, 59, 0.9), rgba(13, 27, 42, 0.9));
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px var(--shadow);
    flex: 1 1 300px;
    max-width: 350px;
}

.feature-box:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px var(--shadow);
}

.feature-box .icon {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.feature-box h3 {
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.feature-box p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: var(--accent-color);
    font-weight: 700;
}

.contact-content {
    max-width: 650px;
    margin: 0 auto;
}

.contact-form {
    background: linear-gradient(135deg, rgba(27, 38, 59, 0.9), rgba(13, 27, 42, 0.9));
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    box-shadow: 0 6px 20px var(--shadow);
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.7rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: rgba(13, 27, 42, 0.6);
    color: var(--text-light);
    font-family: inherit;
    transition: border-color 0.3s ease;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    min-height: 180px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.submit-button:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow);
}

/* Legal Pages */
.legal-section {
    padding: 4rem 0;
    max-width: 950px;
    margin: 0 auto;
}

.legal-section h1 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    color: var(--accent-color);
    font-weight: 700;
}

.legal-section h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1.2rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.legal-section h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.legal-section p,
.legal-section ul {
    margin-bottom: 1.8rem;
    line-height: 1.9;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.legal-section ul {
    padding-left: 2.5rem;
}

.legal-section ul li {
    margin-bottom: 0.8rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.98) 0%, rgba(27, 38, 59, 0.98) 100%);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    border-top: 4px solid var(--primary-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-section p {
    line-height: 1.8;
    color: var(--text-muted);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.05rem;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-disclaimer {
    background: rgba(44, 95, 124, 0.25);
    padding: 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.8;
    border-left: 4px solid var(--warning-color);
    color: var(--text-muted);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    border: 3px solid var(--accent-color);
    box-shadow: 0 6px 20px var(--shadow);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px var(--shadow);
}

.scroll-top.show {
    display: flex;
}

/* Age Verification Popup */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.popup-overlay.show {
    display: flex;
}

.popup-content {
    background: linear-gradient(135deg, var(--mid-bg), var(--dark-bg));
    padding: 3.5rem;
    border-radius: 16px;
    max-width: 550px;
    text-align: center;
    border: 4px solid var(--accent-color);
    box-shadow: 0 12px 50px rgba(126, 196, 232, 0.6);
}

.popup-content h2 {
    color: var(--accent-color);
    margin-bottom: 1.8rem;
    font-size: 2.2rem;
    font-weight: 700;
}

.popup-content p {
    margin-bottom: 2.2rem;
    line-height: 1.9;
    font-size: 1.15rem;
    color: var(--text-muted);
}

.popup-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.popup-buttons button {
    padding: 1.2rem 3rem;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.popup-buttons button:first-child {
    background: linear-gradient(135deg, var(--success-color), #26b5a4);
    color: var(--text-light);
}

.popup-buttons button:last-child {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    color: var(--text-light);
}

.popup-buttons button:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--shadow);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(13, 27, 42, 0.99);
        flex-direction: column;
        padding: 1.5rem 0;
        gap: 0;
        border-top: 3px solid var(--primary-color);
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 1.2rem;
        border-bottom: 1px solid var(--border-color);
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.15rem;
    }

    .game-frame {
        height: auto;
        aspect-ratio: 16/9;
    }

    .features-container {
        flex-direction: column;
    }

    .feature-box {
        max-width: 100%;
    }

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

    .popup-content {
        margin: 1.5rem;
        padding: 2.5rem;
    }

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

    .popup-buttons button {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .scroll-top {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
        bottom: 25px;
        right: 25px;
    }
}
