/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: "Poppins", sans-serif;

    background: radial-gradient(circle at top, #1a1a1a, #050505 70%);

    color: white;

    min-height: 100vh;

    overflow-x: hidden;
}

/* =========================
   BACKGROUND EFFECT
========================= */

body::before {
    content: "";

    position: fixed;
    inset: 0;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(0, 255, 204, 0.08),
            transparent 20%
        ),
        radial-gradient(
            circle at 80% 40%,
            rgba(0, 153, 255, 0.08),
            transparent 20%
        ),
        radial-gradient(
            circle at 50% 80%,
            rgba(255, 0, 140, 0.08),
            transparent 20%
        );

    pointer-events: none;
    z-index: -1;
}

/* =========================
   HEADER
========================= */

header {
    position: sticky;
    top: 0;
    z-index: 999;

    backdrop-filter: blur(18px);

    background: rgba(5, 5, 5, 0.75);

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);

    padding: 20px 40px;
}

.topbar {
    max-width: 1400px;

    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 900;

    background: linear-gradient(90deg, #00ffcc, #00a2ff);

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.back-btn {
    color: white;

    text-decoration: none;

    padding: 12px 18px;

    width: 115px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.06);

    transition: 0.3s;
}

.back-btn:hover {
    background: #00ffcc;
    color: black;
}

/* =========================
   PRODUCT
========================= */

.product {
    max-width: 1400px;

    margin: auto;

    padding: 60px 30px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;

    align-items: center;
}

/* =========================
   LEFT SIDE
========================= */

.left-side {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* =========================
   PRODUCT IMAGE
========================= */

.product-image {
    width: 100%;

    height: 500px;

    border-radius: 30px;
 
    position: relative;
    
    overflow: hidden;
    
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    
    filter: brightness(0.8);

    background-size: cover;

    background-position: center;

    transition: 0.4s;
}

.product-image:hover {
    transform: scale(1.02);
}

/* =========================
   INFO TEXT
========================= */

.text {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.06),
        rgba(255, 255, 255, 0.03)
    );

    border: 1px solid rgba(255, 255, 255, 0.08);

    padding: 30px;

    border-radius: 25px;

    line-height: 1.8;

    color: #d6d6d6;
}

.text h2 {
    margin-bottom: 15px;

    color: white;
}

/* =========================
   PRODUCT INFO
========================= */

.product-info {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.06),
        rgba(255, 255, 255, 0.03)
    );

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 30px;

    padding: 40px;

    backdrop-filter: blur(20px);
}

/* =========================
   TAG
========================= */

.tag {
    display: inline-block;

    margin-bottom: 20px;

    padding: 8px 14px;

    border-radius: 12px;

    background: linear-gradient(90deg, #00ffcc, #00a2ff);

    color: black;

    font-size: 0.8rem;
    font-weight: 700;
}

/* =========================
   TITLES
========================= */

.product-info h1 {
    font-size: 3rem;

    margin-bottom: 20px;
}

.product-info h3 {
    margin-top: 15px;
}

/* =========================
   DESCRIPTION
========================= */

.description {
    color: #cfcfcf;

    line-height: 1.8;

    margin-bottom: 30px;
}

/* =========================
   BADGES
========================= */

.badges {
    display: flex;
    flex-wrap: wrap;

    gap: 15px;

    margin-bottom: 35px;
}

.badges span {
    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.08);

    padding: 12px 16px;

    border-radius: 14px;

    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================
   PRICES
========================= */

.prices {
    display: flex;
    gap: 15px;

    flex-wrap: wrap;

    margin: 25px 0;
}

.prices button {
    padding: 16px 22px;

    border: none;

    font-family: Poppins, sans-serif;

    border-radius: 16px;

    background: #111;

    color: white;

    font-weight: 700;

    cursor: pointer;

    transition: 0.3s;
}

.prices button:hover {
    background: linear-gradient(90deg, #00ffcc, #00a2ff);

    color: black;

    transform: translateY(-3px);
}

/* =========================
   ACTION BUTTONS
========================= */

.actions {
    display: flex;
    gap: 15px;

    margin-top: 30px;

    flex-wrap: wrap;
}

.buy,
.cart {
    flex: 1;

    padding: 18px;

    border: none;

    border-radius: 16px;

    font-weight: 700;

    font-family: Poppins, sans-serif;

    cursor: pointer;

    transition: 0.4s;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;
}

.buy {
    background: linear-gradient(90deg, #00ffcc, #00a2ff);

    color: black;
}

.buy:hover {
    transform: translateY(-4px);

    box-shadow: 0 15px 35px rgba(0, 255, 204, 0.25);
}

.cart {
    background: rgba(255, 255, 255, 0.06);

    color: white;

    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cart:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* =========================
   SECURITY IMAGES
========================= */

.security {
    display: flex;
    gap: 20px;

    margin-top: 35px;

    flex-wrap: wrap;
}

.security img {
    width: 180px;

    border-radius: 14px;
}

/* =========================
   IMAGE BACKGROUNDS
========================= */

.netflix {
    background-image: url("./imgs/netflix.png");
    background-color: black;
}

.microsoft {
    background-image: url("https://tse4.mm.bing.net/th/id/OIP.KoXP2pIwAJPg3EWTNpWykgHaHa?cb=thfc1&rs=1&pid=ImgDetMain&o=7&rm=3");
}

.overwatch {
    background-image: url("https://i1.sndcdn.com/artworks-000173076152-q5gpvq-t500x500.jpg");
}

.lol {
    background-image: url("https://wallpapers.com/images/hd/illustration-of-league-of-legends-logo-7zbgxnhjkphhcwb3.jpg");
}

.sea {
    background-image: url("https://th.bing.com/th/id/OIP.lNdoy4fkf1f4YSpC8cFw5AHaEK");
}

.netshoes {
    background-image: url("imgs/netshoes.png");
}

.decathlon {
    background-image: url("https://th.bing.com/th/id/OIP.3dkVR78o12ltTgbZY2bDogHaF2");
}

.roblox {
    background-image: url("https://i.pinimg.com/originals/b6/f4/2a/b6f42a199afddb797150104841ae31b4.jpg");
}

.uber {
    background-image: url("https://blog.romaindasilva.fr/wp-content/uploads/2019/09/uber-logo.jpg");
}

.centauro {
    background-image: url("imgs/centauro.jpg");
}

.kopenhagen {
    background-image: url("https://manualdofranchising.com/wp-content/uploads/2023/01/franquia-kopenhagen.jpg");
}

.xbox {
    background-image: url(imgs/xbox.png)
}

/* =========================
   HOVER GLOW EFFECTS
========================= */

.netflix:hover {
    box-shadow:
        0 0 15px rgba(255, 0, 0, 0.5),
        0 0 40px rgba(255, 0, 0, 0.5);
}

.microsoft:hover {
    box-shadow:
        0 0 15px rgba(255, 255, 255, 0.5),
        0 0 40px rgba(255, 255, 255, 0.4);
}

.overwatch:hover {
    box-shadow:
        0 0 15px rgba(255, 166, 0, 0.5),
        0 0 40px rgba(255, 166, 0, 0.4);
}

.lol:hover {
    box-shadow:
        0 0 15px rgba(0, 255, 200, 0.5),
        0 0 40px rgba(255, 208, 0, 0.3);
}

.sea:hover {
    box-shadow:
        0 0 15px rgba(0, 183, 255, 0.5),
        0 0 40px rgba(255, 230, 0, 0.3);
}

.netshoes:hover {
    box-shadow:
        0 0 15px rgba(140, 0, 255, 0.5),
        0 0 40px rgba(140, 0, 255, 0.4);
}

.decathlon:hover {
    box-shadow:
        0 0 15px rgba(0, 119, 255, 0.5),
        0 0 40px rgba(0, 119, 255, 0.4);
}

.roblox:hover {
    box-shadow:
        0 0 15px rgba(255, 0, 0, 0.4),
        0 0 40px rgba(255, 255, 255, 0.3);
}

.uber:hover {
    box-shadow:
        0 0 15px rgba(255, 255, 255, 0.4),
        0 0 40px rgba(255, 255, 255, 0.2);
}

.centauro:hover {
    box-shadow:
        0 0 15px rgba(255, 0, 0, 0.4),
        0 0 40px rgba(255, 255, 255, 0.3);
}

.kopenhagen:hover {
    box-shadow:
        0 0 15px rgba(255, 217, 0, 0.5),
        0 0 40px rgba(255, 217, 0, 0.3);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 980px) {
    .product {
        grid-template-columns: 1fr;
    }

    .product-info h1 {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 20px;
    }

    .topbar {
        flex-direction: column;
        gap: 15px;
    }

    .product {
        padding: 30px 20px;
    }

    .product-image {
        height: 350px;
    }

    .actions {
        flex-direction: column;
    }

    .buy,
    .cart {
        width: 100%;
    }

    .product-info {
        padding: 25px;
    }

    .product-info h1 {
        font-size: 2rem;
    }
}

/* ==========================================================================
   ACRÉSCIMO: ESTILOS DO CARD MODAL DE TUTORIAL
   ========================================================================== */

.tutorial-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.tutorial-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.tutorial-card {
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    width: 90%;
    max-width: 460px;
    padding: 35px;
    position: relative;
    transform: scale(0.85);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    font-family: 'Poppins', sans-serif;
}

.tutorial-modal-overlay.active .tutorial-card {
    transform: scale(1);
}

.tutorial-close-btn {
    position: absolute;
    top: 20px;
    right: 22px;
    font-size: 32px;
    line-height: 1;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
}

.tutorial-close-btn:hover {
    color: #00ffcc;
}

.tutorial-header {
    text-align: center;
    margin-bottom: 28px;
}

.tutorial-header span {
    color: #ff007c;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 6px;
}

.tutorial-header h2 {
    font-size: 24px;
    color: #fff;
    font-weight: 700;
}

.tutorial-steps {
    list-style: none;
}

.tutorial-step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 22px;
}

.tutorial-step-item:last-child {
    margin-bottom: 0;
}

.tutorial-step-number {
    background: linear-gradient(135deg, #00ffcc, #00a2ff);
    color: black;
    min-width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 13px;
    margin-right: 15px;
    margin-top: 2px;
}

.tutorial-step-text {
    font-size: 14px;
    color: #b5b5b5;
    line-height: 1.6;
}

.tutorial-step-text strong {
    color: #fff;
    font-weight: 600;
}

.tutorial-action-btn {
    display: block;
    text-align: center;
    background: linear-gradient(90deg, #00ffcc, #00a2ff);
    color: black;
    padding: 14px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.tutorial-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 255, 204, 0.2);
}
