/* Funpls.top - Nordic Viking Adventure Theme */

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

:root {
    --ice-blue: #A5C9D8;
    --steel-gray: #5A6C7D;
    --deep-ocean: #1B3A52;
    --frost-white: #E8F4F8;
    --dark-navy: #0F1F2E;
    --viking-red: #B83232;
    --bronze: #CD7F32;
    --silver: #C0C0C0;
    --text-dark: #1A1A1A;
    --text-light: #F0F0F0;
    --shadow: rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Verdana', 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--text-light);
    background: linear-gradient(180deg, var(--dark-navy) 0%, var(--deep-ocean) 100%);
    min-height: 100vh;
}

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

/* Header & Navigation */
.header {
    background: linear-gradient(180deg, var(--steel-gray) 0%, var(--deep-ocean) 100%);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 15px var(--shadow);
    border-bottom: 4px solid var(--bronze);
}

.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: bold;
    color: var(--ice-blue);
    text-decoration: none;
    text-shadow: 3px 3px 6px var(--shadow);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 4px;
    background: var(--ice-blue);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-menu {
    display: flex;
    gap: 0;
    list-style: none;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: var(--frost-white);
    text-decoration: none;
    font-size: 1rem;
    display: block;
    padding: 12px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu a:hover {
    background: rgba(165, 201, 216, 0.2);
    border-color: var(--ice-blue);
    transform: translateY(-2px);
}

.nav-menu a.active {
    background: linear-gradient(90deg, var(--ice-blue) 0%, var(--steel-gray) 100%);
    color: var(--dark-navy);
    font-weight: bold;
    border-color: var(--bronze);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--steel-gray) 0%, var(--deep-ocean) 100%);
    padding: 90px 0;
    text-align: center;
    border-bottom: 5px solid var(--bronze);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l30 30-30 30L0 30z' fill='%23A5C9D8' fill-opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 25px;
    color: var(--ice-blue);
    text-shadow: 4px 4px 8px var(--shadow);
    letter-spacing: 3px;
    font-weight: bold;
}

.hero p {
    font-size: 1.35rem;
    margin-bottom: 35px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    color: var(--frost-white);
    line-height: 1.8;
}

.hero-image {
    max-width: 650px;
    height: 380px;
    margin: 35px auto;
    background: rgba(0, 0, 0, 0.4);
    border: 4px solid var(--bronze);
    border-radius: 18px;
    box-shadow: 0 10px 25px var(--shadow);
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}


/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--ice-blue) 0%, var(--steel-gray) 100%);
    color: var(--dark-navy);
    padding: 16px 45px;
    text-decoration: none;
    border-radius: 35px;
    font-size: 1.25rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 3px solid var(--bronze);
    box-shadow: 0 8px 20px rgba(165, 201, 216, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(165, 201, 216, 0.6);
    background: linear-gradient(135deg, var(--steel-gray) 0%, var(--ice-blue) 100%);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--ice-blue);
    padding: 13px 38px;
    text-decoration: none;
    border-radius: 35px;
    font-size: 1.15rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 3px solid var(--ice-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background: var(--ice-blue);
    color: var(--dark-navy);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(165, 201, 216, 0.5);
}

/* Disclaimer Banner */
.disclaimer-banner {
    background: linear-gradient(135deg, var(--viking-red) 0%, #8B1A1A 100%);
    padding: 35px 0;
    text-align: center;
    border-top: 4px solid var(--bronze);
    border-bottom: 4px solid var(--bronze);
    box-shadow: 0 5px 15px var(--shadow);
}

.disclaimer-banner .container {
    max-width: 950px;
}

.disclaimer-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
}

.disclaimer-banner h3 {
    font-size: 2rem;
    margin-bottom: 18px;
    color: var(--ice-blue);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: bold;
}

.disclaimer-banner p {
    font-size: 1.15rem;
    margin-bottom: 22px;
    line-height: 1.9;
}

/* Game Section */
.game-section {
    padding: 70px 0;
    background: var(--deep-ocean);
}

.game-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 45px;
    color: var(--ice-blue);
    text-shadow: 3px 3px 6px var(--shadow);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.game-tabs {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.tab-button {
    background: linear-gradient(135deg, var(--steel-gray) 0%, var(--deep-ocean) 100%);
    color: var(--frost-white);
    border: 3px solid var(--bronze);
    padding: 14px 35px;
    font-size: 1.15rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 28px;
    transition: all 0.3s ease;
    font-family: 'Verdana', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-button:hover {
    background: linear-gradient(135deg, var(--deep-ocean) 0%, var(--steel-gray) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(165, 201, 216, 0.4);
}

.tab-button.active {
    background: linear-gradient(135deg, var(--ice-blue) 0%, var(--steel-gray) 100%);
    color: var(--dark-navy);
    box-shadow: 0 8px 20px rgba(165, 201, 216, 0.6);
}

.game-frame {
    width: 100%;
    max-width: 900px;
    height: 506px;
    border: 5px solid var(--bronze);
    border-radius: 15px;
    display: block;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: var(--dark-navy);
    box-shadow: 0 10px 30px var(--shadow);
}

.game-content {
    display: block;
    margin-bottom: 50px;
}

.game-content.active {
    display: block;
}

.game-title {
    text-align: center;
    font-size: 2rem;
    color: var(--ice-blue);
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px var(--shadow);
    letter-spacing: 2px;
}

/* About Section */
.about-section {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--deep-ocean) 0%, var(--dark-navy) 100%);
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 28px;
    color: var(--ice-blue);
    text-shadow: 3px 3px 6px var(--shadow);
    text-transform: uppercase;
}

.about-text p {
    font-size: 1.15rem;
    margin-bottom: 22px;
    line-height: 1.9;
    color: var(--frost-white);
}

.about-image {
    flex: 1;
    min-width: 300px;
    height: 380px;
    background: rgba(0, 0, 0, 0.4);
    border: 4px solid var(--bronze);
    border-radius: 18px;
    box-shadow: 0 10px 25px var(--shadow);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}


/* Reviews Section */
.reviews-section {
    padding: 70px 0;
    background: var(--dark-navy);
}

.reviews-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 55px;
    color: var(--ice-blue);
    text-shadow: 3px 3px 6px var(--shadow);
    text-transform: uppercase;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.review-card {
    background: linear-gradient(135deg, var(--steel-gray) 0%, var(--deep-ocean) 100%);
    padding: 35px;
    border-radius: 18px;
    border: 3px solid var(--bronze);
    box-shadow: 0 8px 20px var(--shadow);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(165, 201, 216, 0.4);
}

.review-stars {
    color: var(--bronze);
    font-size: 1.6rem;
    margin-bottom: 18px;
}

.review-card p {
    font-style: italic;
    margin-bottom: 18px;
    line-height: 1.8;
    color: var(--frost-white);
}

.reviewer-name {
    font-weight: bold;
    color: var(--ice-blue);
    text-align: right;
}

/* Features Section */
.features-section {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--steel-gray) 0%, var(--deep-ocean) 100%);
}

.features-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 55px;
    color: var(--ice-blue);
    text-shadow: 3px 3px 6px var(--shadow);
    text-transform: uppercase;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.feature-box {
    background: rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    border: 3px solid var(--bronze);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-box:hover {
    background: rgba(165, 201, 216, 0.15);
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(165, 201, 216, 0.4);
}

.feature-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 22px;
}

.feature-box h3 {
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: var(--ice-blue);
    text-transform: uppercase;
}

.feature-box p {
    line-height: 1.8;
    color: var(--frost-white);
}

/* Contact Section */
.contact-section {
    padding: 70px 0;
    background: var(--deep-ocean);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    font-size: 2.4rem;
    margin-bottom: 35px;
    color: var(--ice-blue);
    text-shadow: 3px 3px 6px var(--shadow);
    text-transform: uppercase;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--ice-blue);
    font-size: 1.08rem;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 3px solid var(--bronze);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--frost-white);
    font-size: 1.05rem;
    font-family: 'Verdana', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ice-blue);
    background: rgba(165, 201, 216, 0.15);
    box-shadow: 0 0 12px rgba(165, 201, 216, 0.4);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.98rem;
    color: var(--frost-white);
}

.checkbox-label input[type="checkbox"] {
    margin-top: 5px;
}

.checkbox-label a {
    color: var(--ice-blue);
    text-decoration: underline;
}

.form-message {
    padding: 18px;
    border-radius: 10px;
    margin-top: 18px;
    display: none;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.25);
    border: 3px solid #4CAF50;
    color: #A5D6A7;
    display: block;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.info-item {
    display: flex;
    gap: 18px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    border: 3px solid var(--bronze);
}

.info-icon {
    font-size: 2.2rem;
}

.info-item h3 {
    color: var(--ice-blue);
    margin-bottom: 10px;
    font-size: 1.25rem;
    text-transform: uppercase;
}

.info-item p {
    color: var(--frost-white);
    margin-bottom: 6px;
}

.info-detail {
    font-size: 0.92rem;
    color: var(--text-light);
    opacity: 0.85;
}

.contact-note {
    margin-top: 35px;
    padding: 25px;
    background: rgba(165, 201, 216, 0.15);
    border-radius: 12px;
    border: 3px solid var(--bronze);
}

.contact-note h3 {
    color: var(--ice-blue);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.contact-note p {
    color: var(--frost-white);
    line-height: 1.8;
}

.contact-note a {
    color: var(--ice-blue);
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    padding: 70px 0;
    background: var(--dark-navy);
}

.faq-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 55px;
    color: var(--ice-blue);
    text-shadow: 3px 3px 6px var(--shadow);
    text-transform: uppercase;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.faq-item {
    background: linear-gradient(135deg, var(--steel-gray) 0%, var(--deep-ocean) 100%);
    padding: 28px;
    border-radius: 15px;
    border: 3px solid var(--bronze);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(165, 201, 216, 0.4);
}

.faq-item h3 {
    color: var(--ice-blue);
    margin-bottom: 14px;
    font-size: 1.35rem;
    text-transform: uppercase;
}

.faq-item p {
    color: var(--frost-white);
    line-height: 1.8;
}

/* Legal Pages */
.legal-section {
    padding: 70px 0;
    background: var(--deep-ocean);
}

.legal-content {
    max-width: 950px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 55px;
    border-radius: 18px;
    border: 3px solid var(--bronze);
    box-shadow: 0 10px 30px var(--shadow);
}

.legal-content h2 {
    color: var(--ice-blue);
    font-size: 2.2rem;
    margin-top: 45px;
    margin-bottom: 22px;
    border-bottom: 3px solid var(--bronze);
    padding-bottom: 12px;
    text-transform: uppercase;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h3 {
    color: var(--ice-blue);
    font-size: 1.6rem;
    margin-top: 28px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.legal-content p {
    margin-bottom: 18px;
    line-height: 1.9;
    color: var(--frost-white);
}

.legal-content ul {
    margin: 18px 0 18px 35px;
    line-height: 1.9;
    color: var(--frost-white);
}

.legal-content li {
    margin-bottom: 12px;
}

.legal-content a {
    color: var(--ice-blue);
    text-decoration: underline;
}

.legal-notice {
    background: linear-gradient(135deg, var(--viking-red) 0%, #8B1A1A 100%);
    padding: 28px;
    border-radius: 15px;
    border: 4px solid var(--bronze);
    margin: 35px 0;
    box-shadow: 0 8px 20px var(--shadow);
}

.legal-notice h2,
.legal-notice h3 {
    color: var(--ice-blue);
    margin-bottom: 18px;
}

.legal-notice p {
    color: var(--frost-white);
    font-weight: 500;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--deep-ocean) 0%, var(--dark-navy) 100%);
    padding: 55px 0 25px;
    border-top: 5px solid var(--bronze);
}

.footer-disclaimer {
    text-align: center;
    padding: 28px;
    background: rgba(184, 50, 50, 0.25);
    border: 3px solid var(--viking-red);
    border-radius: 15px;
    margin-bottom: 45px;
}

.footer-disclaimer p {
    color: var(--frost-white);
    font-size: 1.08rem;
    font-weight: 500;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

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

.footer-section h3 {
    color: var(--ice-blue);
    margin-bottom: 22px;
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

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

.footer-section ul li {
    margin-bottom: 14px;
}

.footer-section ul li a {
    color: var(--frost-white);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--ice-blue);
    transform: translateX(8px);
}

.footer-bottom {
    text-align: center;
    padding-top: 35px;
    border-top: 3px solid var(--bronze);
}

.footer-bottom p {
    color: var(--frost-white);
    font-size: 0.98rem;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--ice-blue) 0%, var(--steel-gray) 100%);
    color: var(--dark-navy);
    border: 3px solid var(--bronze);
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(165, 201, 216, 0.5);
    z-index: 999;
}

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

.scroll-top:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(165, 201, 216, 0.7);
}

/* Popup Overlay */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(6px);
}

.popup-content {
    background: linear-gradient(135deg, var(--steel-gray) 0%, var(--deep-ocean) 100%);
    padding: 45px;
    border-radius: 22px;
    max-width: 580px;
    width: 90%;
    text-align: center;
    border: 5px solid var(--bronze);
    box-shadow: 0 12px 45px rgba(165, 201, 216, 0.5);
    animation: popupSlide 0.5s ease;
}

@keyframes popupSlide {
    from {
        transform: translateY(-60px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-content h2 {
    color: var(--ice-blue);
    margin-bottom: 22px;
    font-size: 2.2rem;
    text-shadow: 3px 3px 6px var(--shadow);
    text-transform: uppercase;
}

.popup-content p {
    margin-bottom: 18px;
    line-height: 1.8;
    font-size: 1.08rem;
    color: var(--frost-white);
}

.popup-buttons {
    margin-top: 35px;
}

/* Game Info */
.game-info {
    margin-top: 55px;
}

.game-info h3 {
    font-size: 2.2rem;
    margin-bottom: 35px;
    color: var(--ice-blue);
    text-align: center;
    text-transform: uppercase;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.info-box {
    background: rgba(255, 255, 255, 0.08);
    padding: 28px;
    border-radius: 15px;
    border: 3px solid var(--bronze);
    transition: all 0.3s ease;
}

.info-box:hover {
    background: rgba(165, 201, 216, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(165, 201, 216, 0.4);
}

.info-box .info-icon {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 18px;
}

.info-box h4 {
    color: var(--ice-blue);
    margin-bottom: 14px;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.info-box p {
    color: var(--frost-white);
    line-height: 1.8;
}

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

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: linear-gradient(180deg, var(--steel-gray) 0%, var(--deep-ocean) 100%);
        padding: 90px 35px 35px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px var(--shadow);
        border-left: 3px solid var(--bronze);
        flex-direction: column;
        gap: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 25px 0;
    }

    .nav-menu a {
        font-size: 1.15rem;
        padding: 14px 18px;
    }

    .nav-menu a:hover {
        transform: translateX(-8px);
    }

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

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

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

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

    .footer-content {
        flex-direction: column;
        gap: 35px;
    }

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

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

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

    .legal-content {
        padding: 35px 25px;
    }

    .popup-content {
        padding: 35px 25px;
    }
}

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

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

    .btn-primary {
        padding: 14px 35px;
        font-size: 1.1rem;
    }

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

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