:root {
    --bg-color: #0a0612;         /* void — Vice City night sky */
    --text-color: #f3eefc;       /* chrome white, from the logo type */
    --accent-color: #ff2e8f;     /* GTA VI neon pink */
    --secondary-accent: #9b3bff; /* CTRL GAMEZ shield purple */
    --tertiary-accent: #2de2e6;  /* GTA VI teal — reserved for "best deal" cues (PIX) */
    --urgency: #ff5a3c;          /* warm alert tone for scarcity/countdown cues */
    --secondary-bg: #150a26;     /* raised card / panel surface */
    --panel-light: #221039;      /* further raised surface (inputs, tags, hover states) */
    --dark-bg: #0a0612;          /* header / footer / newsletter surface */
    --border-color: rgba(155, 59, 255, 0.35);
    --gray-text: #b4a4d1;
    --light-gray: #7d6ea3;
    --font-display: 'Audiowide', 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.2;
    overflow-x: hidden;
    padding-bottom: 78px; /* clearance for the fixed sticky CTA bar */
}

/* Header & Navbar */
.main-header {
    background-color: var(--dark-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    height: 55px;
    color: var(--text-color);
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 80px;
}

.nav-right {
    justify-content: flex-end;
}

.menu-icon, .search-icon, .user-icon, .cart-icon {
    font-size: 18px;
    cursor: pointer;
}

.logo-container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.logo-div {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 8px rgba(155, 59, 255, 0.65), 0 0 16px rgba(255, 46, 143, 0.35);
}

.logo-div img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: var(--text-color);
    font-size: 9px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 900;
}

.promo-banner img {
    width: 100%;
    display: block;
}

.benefits-slider {
    background: var(--secondary-bg);
    padding: 14px 15px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px 28px;
}

.benefit-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 900;
}

.benefit-item i {
    font-size: 22px;
    color: var(--tertiary-accent);
}

.benefit-item span {
    text-align: left;
    line-height: 1.1;
}

.benefit-item small {
    font-weight: 400;
    font-size: 8px;
    color: var(--gray-text);
    letter-spacing: 0.2px;
}

.urgency-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    background: linear-gradient(90deg, rgba(255, 90, 60, 0.16), rgba(255, 46, 143, 0.16));
    border-bottom: 1px solid var(--border-color);
    padding: 10px 15px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--text-color);
    text-align: center;
}

.urgency-bar i {
    color: var(--urgency);
}

.countdown {
    display: flex;
    gap: 6px;
}

.countdown span {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--panel-light);
    border-radius: 6px;
    padding: 4px 7px;
    min-width: 32px;
}

.countdown strong {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 400;
    color: var(--tertiary-accent);
    line-height: 1;
}

.countdown small {
    font-size: 7px;
    color: var(--gray-text);
    text-transform: uppercase;
    margin-top: 2px;
}

/* Main Content */
.product-container {
    padding: 15px;
}

.breadcrumb {
    font-size: 10px;
    color: var(--light-gray);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.breadcrumb a {
    text-decoration: none;
    color: inherit;
    font-weight: 700;
}

.hero {
    margin-bottom: 4px;
}

.eyebrow {
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--secondary-accent);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.product-title {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 400;
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: 0.2px;
    text-shadow: 0 0 22px rgba(155, 59, 255, 0.3);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}

.stars {
    color: var(--accent-color);
    font-size: 12px;
    text-shadow: 0 0 6px rgba(255, 46, 143, 0.5);
}

.rating-count {
    color: var(--light-gray);
    font-size: 12px;
}

.product-image-frame {
    position: relative;
    border-radius: 16px;
    padding: 3px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-accent) 55%, var(--tertiary-accent));
}

.product-image {
    background: var(--bg-color);
    border-radius: 13px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    display: block;
    margin-bottom: 0;
    border-radius: 13px;
}

.video-button {
    text-align: center;
    margin-bottom: 30px;
}

.video-button button {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 900;
    color: var(--text-color);
    box-shadow: 0 3px 14px rgba(155, 59, 255, 0.18);
    cursor: pointer;
    transition: transform 0.2s;
}

.video-button button:active {
    transform: scale(0.95);
}

.video-button i {
    color: var(--accent-color);
    margin-right: 6px;
    font-size: 15px;
}

/* Purchase Options */
.purchase-options {
    margin-bottom: 35px;
}

.pricing-card {
    position: relative;
    background: var(--secondary-bg);
    border-radius: 16px;
    padding: 24px 18px;
    isolation: isolate;
}

.pricing-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    padding: 2px;
    background: conic-gradient(from var(--angle, 0deg), var(--accent-color), var(--secondary-accent), var(--tertiary-accent), var(--accent-color));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    animation: rotateBorder 6s linear infinite;
}

@property --angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

@keyframes rotateBorder {
    to { --angle: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
    .pricing-card::before { animation: none; }
}

.option-label {
    font-size: 12px;
    margin-bottom: 12px;
}

.license-tags .tag {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--secondary-accent);
    border-radius: 30px;
    font-weight: 900;
    font-size: 12px;
    color: var(--text-color);
}

.license-tags .tag.active {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-accent));
    border-color: transparent;
    box-shadow: 0 0 16px rgba(255, 46, 143, 0.35);
}

.price-container {
    margin-top: 25px;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.savings-badge {
    background: var(--urgency);
    color: var(--text-color);
    font-size: 11px;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 4px;
}

.old-price {
    text-decoration: line-through;
    color: var(--light-gray);
    font-size: 15px;
    font-weight: 700;
}

.current-price {
    display: block;
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 400;
    color: var(--accent-color);
    margin: 6px 0 2px;
    text-shadow: 0 0 18px rgba(255, 46, 143, 0.35);
}

.installments {
    font-size: 14px;
    margin-bottom: 5px;
}

.installments strong {
    color: var(--secondary-accent);
}

.pix-callout {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(45, 226, 230, 0.08);
    border: 1px solid rgba(45, 226, 230, 0.3);
    border-radius: 10px;
    padding: 10px 12px;
    margin-top: 12px;
}

.pix-callout i {
    color: var(--tertiary-accent);
    font-size: 18px;
}

.pix-callout > div {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.pix-price {
    font-size: 15px;
    color: var(--tertiary-accent);
    font-weight: 900;
}

.pix-callout span {
    font-size: 9px;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.reassurance {
    text-align: center;
    font-size: 11px;
    color: var(--gray-text);
    margin-top: 12px;
}

.reassurance i {
    color: var(--tertiary-accent);
    margin-right: 4px;
}

.buy-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.quantity-selector {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    height: 50px;
    background: var(--secondary-bg);
}

.quantity-selector button {
    background: none;
    border: none;
    width: 40px;
    font-size: 20px;
    color: var(--gray-text);
    cursor: pointer;
}

.quantity-selector input {
    width: 40px;
    border: none;
    text-align: center;
    font-weight: 900;
    font-size: 16px;
    background: transparent;
    color: var(--text-color);
}

.buy-now {
    flex-grow: 1;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-accent));
    color: var(--text-color);
    border: none;
    border-radius: 5px;
    font-weight: 900;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 16px rgba(255, 46, 143, 0.35);
    animation: ctaPulse 2.6s ease-in-out infinite;
}

.buy-now:hover {
    filter: brightness(1.1);
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 16px rgba(255, 46, 143, 0.35); }
    50% { box-shadow: 0 0 26px rgba(255, 46, 143, 0.55), 0 0 14px rgba(155, 59, 255, 0.4); }
}

@media (prefers-reduced-motion: reduce) {
    .buy-now { animation: none; }
}

.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 15px;
    background: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.45);
    transform: translateY(120%);
    transition: transform 0.3s ease;
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-info {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.sticky-price {
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--tertiary-accent);
}

.sticky-price small {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.sticky-buy {
    flex-shrink: 0;
    padding: 12px 22px;
    font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
    .sticky-cta { transition: none; }
}

/* Payment Methods & Installments */
.payment-methods {
    border: 1px solid var(--border-color);
    border-radius: 5px;
    margin-bottom: 35px;
    overflow: hidden;
}

.method-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    background: var(--secondary-bg);
    color: var(--text-color);
}

.method-row:last-child {
    border-bottom: none;
}

.method-row .icons {
    display: flex;
    gap: 10px;
    font-size: 20px;
    color: var(--gray-text);
}

.method-row .left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.method-row i {
    font-size: 22px;
}

.method-row.pix i { color: var(--tertiary-accent); }
.method-row.boleto i { color: var(--text-color); }

.parcelas i {
    transition: transform 0.3s;
    margin-left: 5px;
}

.parcelas.active i {
    transform: rotate(180deg);
}

.installments-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: var(--panel-light);
}

.installments-list.active {
    max-height: 500px;
}

.inst-item {
    padding: 12px 18px;
    font-size: 12px;
    border-bottom: 1px solid var(--border-color);
    color: var(--gray-text);
}

.inst-item:last-child {
    border-bottom: none;
}

/* Share Section */
.share-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 45px;
}

.share-section span {
    font-size: 13px;
    font-weight: 900;
    color: var(--gray-text);
}

.whatsapp-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-accent));
    color: var(--text-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 3px 12px rgba(255, 46, 143, 0.35);
}

/* Sections Styling */
.section-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--secondary-accent);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-transform: uppercase;
    color: var(--text-color);
}

.description-content p {
    font-size: 12px;
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: justify;
}

.tech-details {
    list-style: none;
    font-size: 12px;
    color: var(--gray-text);
}

.tech-details li {
    margin-bottom: 10px;
}

.tech-details strong {
    color: var(--secondary-accent);
}

/* Reviews */
.rating-card {
    background: var(--secondary-bg);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 25px;
}

.rating-summary {
    display: flex;
    gap: 30px;
    align-items: center;
}

.big-rating .score {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 400;
    display: block;
    color: var(--accent-color);
}

.big-rating p {
    font-size: 10px;
    color: var(--light-gray);
    margin: 5px 0;
}

.rating-bars {
    flex-grow: 1;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--light-gray);
    margin-bottom: 5px;
}

.bar {
    flex-grow: 1;
    height: 5px;
    background: var(--panel-light);
    border-radius: 3px;
}

.fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-accent));
    border-radius: 3px;
}

.user-review {
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 8px;
}

.review-date {
    color: var(--light-gray);
    font-weight: 400;
}

.recommend {
    margin-top: 12px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.recommend i {
    color: var(--tertiary-accent);
    margin-right: 6px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.product-card {
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: 5px;
    position: relative;
    background: var(--secondary-bg);
}

.product-card .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-color);
    color: var(--text-color);
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 3px;
    font-weight: 900;
    z-index: 1;
}

.wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--gray-text);
    font-size: 18px;
}

.wishlist:hover {
    color: var(--accent-color);
}

.product-card img {
    width: 100%;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 12px;
    font-weight: 900;
    height: 32px;
    overflow: hidden;
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-card .prices {
    margin-bottom: 15px;
}

.product-card .old {
    font-size: 11px;
    text-decoration: line-through;
    color: var(--light-gray);
    display: block;
}

.product-card .install {
    color: var(--gray-text);
}

.product-card .pix-p {
    color: var(--tertiary-accent);
}

.product-card .new {
    font-size: 16px;
    font-weight: 900;
    color: var(--accent-color);
}

.product-card .install, .product-card .pix-p {
    font-size: 10px;
    font-weight: 800;
    margin-top: 3px;
}

.buy-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-accent));
    color: var(--text-color);
    border: none;
    padding: 12px;
    font-size: 12px;
    font-weight: 900;
    border-radius: 5px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(255, 46, 143, 0.3);
}

/* Newsletter */
.newsletter {
    background: var(--dark-bg);
    color: var(--text-color);
    padding: 45px 20px;
    text-align: center;
    margin-top: 45px;
}

.newsletter h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 15px;
}

.newsletter p {
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.5;
}

.newsletter input {
    width: 100%;
    padding: 18px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    font-size: 13px;
    text-align: center;
    background: var(--panel-light);
    color: var(--text-color);
}

.newsletter input::placeholder {
    color: var(--gray-text);
}

.newsletter button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-accent));
    color: var(--text-color);
    border: none;
    font-weight: 900;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 0 16px rgba(255, 46, 143, 0.3);
}

/* Footer */
.main-footer {
    background: var(--dark-bg);
    color: var(--text-color);
    padding: 0 20px 40px;
}

.footer-accordion .acc-header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.footer-payments, .footer-seals {
    margin-top: 40px;
    text-align: center;
}

.footer-payments p, .footer-seals p {
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 20px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.payment-icons img {
    height: 24px;
}

.seal-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.seal-icons img {
    height: 40px;
}

.footer-bottom {
    margin-top: 50px;
    text-align: center;
    font-size: 10px;
    color: var(--gray-text);
    line-height: 1.5;
}

.dev-logos {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dev-item {
    font-size: 11px;
}

.dev-item strong {
    color: var(--secondary-accent);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 6, 18, 0.9);
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    width: 95%;
    max-width: 600px;
    background: var(--secondary-bg);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(155, 59, 255, 0.3);
}

.close-modal {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-bg, #1a1a2e);
    border: 2px solid var(--text-color);
    border-radius: 50%;
    color: var(--text-color);
    font-size: 22px;
    line-height: 1;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001; /* acima do conteúdo do modal e do overlay */
}

.close-modal:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-card{
    position: relative;
}

.fechar-video{
    position: absolute;
    top: 10px;
    right: 10px;

    width: 38px;
    height: 38px;

    border: none;
    border-radius: 50%;

    background: rgba(0,0,0,.7);
    color: white;

    font-size: 20px;
    cursor: pointer;

    z-index: 999;
    transition: .2s;
}

.fechar-video:hover{
    background: #8b5cf6;
}
