/* 
  RASCUNHOS - Stylesheet
  Theme: Y2K Retro-Hacker (High Contrast, Monospace, Neon Cyberpunk)
*/

:root {
    --bg-color: #000000;
    --text-color: #FFFFFF;
    --text-muted: #888888;
    --accent-color: #FFFFFF;
    --border-color: #FFFFFF;
    --product-bg: #EAEAEA;
    --error-color: #FF0000;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --transition-speed: 0.3s;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: #000;
}

html.gateway-active {
    overflow: hidden !important;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/*
   SITE LOGIC:
   Allow content to be visible behind the gateway but blurred.
*/
#app-content {
    display: block;
    width: 100%;
    max-width: 1920px;
    /* PC Limit */
    margin: 0 auto;
    /* Horizontal Centering */
    position: relative;
    min-height: 100vh;
}

body.gateway-active #app-content {
    /* Apply blur and slight opacity to make the background site visible but distant */
    filter: blur(10px);
    opacity: 0.8;
    pointer-events: none;
    transition: filter 0.5s ease, opacity 0.5s ease;
    overflow: hidden;
}

html.gateway-active,
body.gateway-active {
    overflow: hidden !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: transparent !important;
    /* Allow site content to be seen behind */
}

body.gateway-active {
    position: fixed !important;
    width: 100% !important;
    /* On active, the content is blurred, but the overlay does the frosting */
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

a:hover {
    color: #fff;
    text-shadow: 0 0 5px var(--accent-color);
}

ul {
    list-style: none;
}

button {
    font-family: var(--font-primary);
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-color);
    transition: all var(--transition-speed);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.desktop-only {
    display: none;
}

@media (min-width: 768px) {
    .desktop-only {
        display: inline-flex;
    }
}

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid transparent;
}

.icon-btn:hover {
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--bg-color);
    padding: 12px 24px;
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid var(--accent-color);
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: var(--bg-color);
    color: var(--accent-color);
    text-shadow: none;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--accent-color);
    padding: 12px 24px;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid var(--accent-color);
    letter-spacing: 1px;
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    text-shadow: none;
}

/* Promo Bar */
.promo-bar {
    background-color: var(--accent-color);
    color: var(--bg-color);
    text-align: center;
    padding: 8px 10px;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid var(--bg-color);
}

.promo-text {
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

/* Header */
.header {
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background-color: var(--bg-color);
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
}

.header-left,
.header-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

.icon-btn.search-btn {
    border: 1px solid transparent;
}

.icon-btn.search-btn:hover,
.icon-btn.search-btn:active {
    border: 1px solid var(--accent-color);
}

.header-search-container {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 200;
}

.header-search-container.active {
    width: 100%;
}

.header-search-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    padding: 0 60px;
    outline: none;
    text-transform: uppercase;
}

.close-search {
    position: absolute;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent-color);
}

.close-search:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.header-logo {
    text-align: center;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-logo img {
    height: 105px;
    width: auto;
    margin: 0 auto -15px auto;
    position: relative;
    z-index: 100;
}

@media (max-width: 768px) {
    .header-logo img {
        height: 45px;
        /* Significantly reduced to avoid overlap with icons */
        margin: 5px auto;
        display: block;
    }
}

.header-logo a {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
}

.header-logo a:hover {
    text-shadow: 0 0 10px var(--accent-color);
}

.cart-btn {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--error-color);
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
}

/* Desktop Nav */
.nav-desktop {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 60px;
    /* Increased horizontal padding to move away from edges */
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav-links li a {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Mobile Menu Styling */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 350px;
    height: 100dvh;
    background-color: var(--bg-color);
    border-right: 1px solid var(--accent-color);
    z-index: 1002;
    padding: 20px;
    transition: left var(--transition-speed) ease-in-out;
    display: flex;
    flex-direction: column;
}

.mobile-menu.open {
    left: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    display: none;
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.mobile-menu-overlay.open {
    display: block;
    opacity: 1;
}

.close-menu {
    align-self: flex-end;
    margin-bottom: 20px;
    border: 1px solid var(--accent-color);
}

.mobile-search {
    display: flex;
    border: 1px solid var(--accent-color);
    margin-bottom: 30px;
}

.search-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: var(--accent-color);
    padding: 10px;
    font-family: var(--font-primary);
    outline: none;
}

.search-submit {
    padding: 10px;
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-links li a {
    display: block;
    font-size: 20px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero-section {
    position: relative;
    border-bottom: 1px solid var(--border-color);
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1895px;
    height: 660px;
    margin: 0 auto;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        aspect-ratio: 16 / 9;
        min-height: 180px;
        /* Further reduction to show more context */
    }

    .hero-img {
        object-fit: contain;
        /* Shows the full image without cropping/zooming */
        background-color: #000;
        /* Ensures background matches if image doesn't fill space */
    }
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    /* Removed padding to let image fill 1895x660 */
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content {
    position: absolute;
    bottom: 40px;
    left: 20px;
    z-index: 10;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 0px var(--bg-color), -2px -2px 0px var(--bg-color);
}

/* Marquee Section */
.section-title {
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    background-color: var(--bg-color);
    padding: 10px 0;
}

.marquee-container {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

/* Products Grid */
#produtos {
    padding: 60px 15px;
}

.section-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.section-heading {
    font-size: 24px;
    letter-spacing: 1px;
}

.btn-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    text-transform: uppercase;
}

.btn-filter i {
    width: 16px;
    height: 16px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background-color: var(--border-color);
    /* Creates the 1px border effect */
    border: 1px solid var(--border-color);
}

@media (min-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card {
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
}

.product-image-link {
    display: block;
    position: relative;
    background-color: var(--product-bg);
    overflow: hidden;
}

.product-image-link::before {
    content: '';
    display: block;
    padding-top: 125%;
    /* 4:5 aspect ratio */
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    /* Smaller padding for mobile */
    box-sizing: border-box;
    transition: transform 0.5s ease;
    mix-blend-mode: multiply;
}

@media (min-width: 768px) {
    .product-image img {
        padding: 20px;
        /* Original padding for desktop */
    }
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge {
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    color: var(--bg-color);
    text-align: center;
}

.badge-sale {
    background-color: var(--accent-color);
}

.badge-new {
    background-color: #00FF00;
    /* Neon Green */
}

.badge-sold-out {
    background-color: #888;
    color: #fff;
}

.product-card.sold-out {
    opacity: 0.7;
    filter: grayscale(0.5);
}

.product-card.sold-out .btn-add-cart.disabled {
    background-color: #444;
    border-color: #444;
    color: #888;
    cursor: not-allowed;
    box-shadow: none;
}

.product-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 14px;
    margin-bottom: 10px;
    height: 42px;
    /* Fixed height for 2 lines */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-title a {
    color: var(--text-color);
}

.product-title a:hover {
    text-decoration: underline;
}

.product-prices {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.price-compare {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 12px;
}

.price-current {
    font-size: 16px;
    font-weight: 700;
}

.product-installments {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 15px;
    flex-grow: 1;
}

.btn-add-cart {
    width: 100%;
    border: 1px solid var(--border-color);
    padding: 8px;
    text-transform: uppercase;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-cart:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.view-all-container {
    text-align: center;
    margin-top: 40px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.newsletter-section {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 15px 40px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
}

.newsletter-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.newsletter-section p {
    font-size: 14px;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
    }
}

.newsletter-form input {
    flex-grow: 1;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--accent-color);
    padding: 12px;
    font-family: var(--font-primary);
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    background-color: var(--accent-color);
    color: var(--bg-color);
    padding: 12px 24px;
    font-weight: bold;
}

.newsletter-form button:hover {
    background-color: #fff;
}

.footer-links-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px 15px;
}

.footer-col h4 {
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: var(--text-muted);
}

/* About Section */
.about-section {
    padding: 100px 15px;
    background-color: #000;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.about-intro {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-greeting {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0;
    line-height: 1;
}

.about-brand {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 40px;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: left;
    font-size: 1.1rem;
    color: #ccc;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-specialties {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    display: inline-block;
    text-align: left;
}

.about-specialties li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.about-specialties li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
}

.text-accent {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .about-greeting {
        font-size: 2.2rem;
    }

    .about-brand {
        font-size: 1.8rem;
    }

    .about-section {
        padding: 60px 20px;
    }
}

/* Gateway Overlay */
.gateway-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    z-index: 999999999;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    /* Enable scroll if content is too tall for screen */
    overflow-x: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 40px 20px;
    /* Safe padding for all sides */
}

.gateway-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.gateway-bg {
    position: absolute;
    inset: 0;
    background-color: transparent;
    z-index: 0;
}

.gateway-menu {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
    perspective: 1000px;
    width: 100%;
    max-width: 500px;
    padding: 20px;
    margin: auto;
}

.gateway-logo {
    width: 280px;
    /* Reduced base size for better fit */
    max-width: 80vw;
    max-height: 25vh;
    /* Ensure it doesn't take too much vertical space */
    object-fit: contain;
    animation: girar3D 5s linear infinite;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
    transform-style: preserve-3d;
    margin: 10px 0;
}

@keyframes girar3D {
    0% {
        transform: perspective(1000px) rotateY(0deg) scale(1.05);
    }

    50% {
        transform: perspective(1000px) rotateY(180deg) scale(0.85);
    }

    100% {
        transform: perspective(1000px) rotateY(360deg) scale(1.05);
    }
}

.gateway-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 400px;
    padding: 0 20px;
}

.gateway-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    text-decoration: none;
    width: 100%;
}

.gateway-btn:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    transform: scale(1.02);
}

@media (max-width: 768px),
(max-height: 700px) {
    .gateway-buttons {
        max-width: 280px;
        gap: 8px;
    }

    .gateway-btn {
        padding: 10px 15px;
        font-size: 11px;
        letter-spacing: 1px;
    }

    .gateway-logo {
        width: 180px;
    }

    .gateway-menu {
        gap: 15px;
    }
}

/* Cart Sidebar Styling */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.cart-overlay.active {
    display: block;
    opacity: 1;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background-color: var(--bg-color);
    border-left: 1px solid var(--accent-color);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 20px;
    letter-spacing: 2px;
}

.close-cart {
    width: 32px;
    height: 32px;
    border: 1px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 15px;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    background-color: var(--product-bg);
    padding: 5px;
    object-fit: contain;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.cart-item-price {
    font-size: 13px;
    color: var(--text-muted);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    background: transparent;
    color: var(--text-color);
}

.qty-btn:hover {
    border-color: var(--accent-color);
}

.item-qty {
    font-size: 14px;
    min-width: 20px;
    text-align: center;
}

.btn-remove-item {
    color: var(--text-muted);
    padding: 5px;
    cursor: pointer;
    background: transparent;
    border: none;
}

.btn-remove-item:hover {
    color: var(--error-color);
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-total-info {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cart-footer button {
    width: 100%;
}

/* Modal Styling (Policy, etc.) */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 5000;
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: #000;
    border: 1px solid var(--accent-color);
    width: 100%;
    max-width: 600px;
    padding: 30px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--accent-color);
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.modal-body {
    margin-top: 20px;
    color: var(--text-color);
}

.modal-body h3 {
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.modal-body p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.modal-signature {
    margin-top: 30px;
    font-weight: 700;
    text-transform: uppercase;
}