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

:root {
    --orange: #ff6b35;
    --purple: #8b2e8b;
    --gold: #ffd700;
    --dark: #0a0e27;
    --darker: #050710;
    --text: #e8e8e8;
    --gray: #b0b0b0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.6;
}

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

header {
    background: rgba(5, 7, 16, 0.98);
    border-bottom: 3px solid var(--orange);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.logo-left img {
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.5));
}

.navbar {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.navbar a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
}

.navbar a:hover {
    color: var(--orange);
    text-shadow: 0 0 10px var(--orange);
}

.btn-register {
    border: 2px solid var(--gold);
    border-radius: 3px;
}

.btn-login {
    background: linear-gradient(135deg, var(--orange), #ff8c42);
    border: 2px solid var(--gold);
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.4);
}

.btn-login:hover {
    box-shadow: 0 0 25px rgba(255, 107, 53, 0.7);
}

/* ============ HERO ============ */

.hero {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 70px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(5, 7, 16, 0.6) 0%, rgba(26, 0, 51, 0.8) 50%, rgba(10, 14, 39, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content p {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
}

.hero-logo {
    height: 350px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.8));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-play, .btn-purchase {
    display: inline-block;
    padding: 16px 60px;
    border: 3px solid var(--gold);
    color: white;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-play {
    background: linear-gradient(135deg, var(--orange), #ff8c42);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.6);
}

.btn-play:hover {
    transform: scale(1.1);
    box-shadow: 0 0 50px rgba(255, 107, 53, 1);
}

.btn-purchase {
    background: linear-gradient(135deg, var(--purple), #a83ba8);
    box-shadow: 0 0 30px rgba(139, 46, 139, 0.6);
}

.btn-purchase:hover {
    transform: scale(1.1);
    box-shadow: 0 0 50px rgba(139, 46, 139, 1);
}
/* ============ REGISTER ============ */
.register-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 250px;
}

.register-box input {
    padding: 10px;
    border: none;
    border-radius: 5px;
}

.register-box button {
    padding: 10px;
    background: #ff6b35;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
.register-page {
    background: #0a0e27;
    color: white;
    font-family: Arial;
}

.register-container {
    width: 300px;
    margin: 100px auto;
    padding: 20px;
    background: rgba(0,0,0,0.7);
    border-radius: 10px;
    text-align: center;
}

.register-container input {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: none;
    border-radius: 5px;
}

.register-container button {
    width: 100%;
    padding: 10px;
    background: #ff6b35;
    border: none;
    color: white;
    cursor: pointer;
}

#register-msg {
    margin-top: 10px;
    font-size: 14px;
}


/* ============ LOGIN ============ */
.left-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-box {
    display: flex;
    gap: 5px;
}

.login-box input {
    padding: 5px;
    font-size: 12px;
    border-radius: 3px;
    border: none;
    outline: none;
}

.login-box button {
    padding: 5px 10px;
    background: #ff6b35;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 3px;
}

.login-box button:hover {
    background: #ff8c5a;
}



/* ============ NEWS HERO ============ */

.news-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    background: rgba(10, 14, 39, 0.8);
    border-bottom: 3px solid var(--orange);
}

.news-hero h2 {
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(135deg, var(--orange), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: rgba(139, 46, 139, 0.2);
    border-left: 5px solid var(--orange);
    padding: 2rem;
    border-radius: 5px;
    transition: all 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(255, 107, 53, 0.3);
}

.news-card h3 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.news-card p {
    color: var(--gray);
}

/* ============ ABOUT ============ */

.about {
    background: rgba(10, 14, 39, 0.8);
    border-top: 3px solid var(--orange);
    border-bottom: 3px solid var(--purple);
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.about h2 {
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(135deg, var(--orange), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about p {
    text-align: center;
    font-size: 1.3rem;
    color: var(--gray);
    max-width: 900px;
    margin: 0 auto;
}

/* ============ CLASSES CAROUSEL ============ */

.classes {
    background: rgba(10, 14, 39, 0.6);
    padding: 80px 20px;
    width: 100%;
}

.classes h2 {
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(135deg, var(--orange), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.carousel-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 2rem;
}

.carousel {
    display: flex;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(255, 107, 53, 0.4);
    height: 420px;
    background: linear-gradient(135deg, rgba(139, 46, 139, 0.4) 0%, rgba(255, 107, 53, 0.2) 100%);
    border: 3px solid var(--orange);
}

.carousel-item {
    display: none;
    width: 100%;
    height: 100%;
    animation: fadeIn 0.5s;
}

.carousel-item.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.carousel-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: 100%;
    padding: 2rem;
    gap: 2rem;
}

.carousel-image {
    width: 45%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
    border: 2px solid var(--gold);
}

.carousel-text {
    width: 45%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.carousel-text h3 {
    font-size: 2.5rem;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.6);
    margin-bottom: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.carousel-text p {
    font-size: 1.2rem;
    color: var(--orange);
    font-weight: 600;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 107, 53, 0.8);
    border: 2px solid var(--gold);
    color: white;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 5px;
    z-index: 10;
    transition: all 0.3s;
    padding: 0;
}

.carousel-button:hover {
    background: var(--orange);
    box-shadow: 0 0 30px rgba(255, 107, 53, 1);
}

.carousel-button.prev {
    left: -70px;
}

.carousel-button.next {
    right: -70px;
}

.carousel-dots {
    text-align: center;
    margin-top: 2rem;
}

.dot {
    width: 14px;
    height: 14px;
    margin: 0 0.5rem;
    background-color: rgba(255, 107, 53, 0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    border: 2px solid var(--orange);
    transition: all 0.3s;
}

.dot.active {
    background-color: var(--gold);
    transform: scale(1.4);
}

.dot:hover {
    background-color: var(--orange);
}

/* ============ SHOP ============ */

.shop {
    background: rgba(10, 14, 39, 0.8);
    border-top: 3px solid var(--orange);
    border-bottom: 3px solid var(--purple);
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.shop h2 {
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(135deg, var(--orange), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shop-grid {
    display: flex;          /* força horizontal */
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    flex-wrap: nowrap;      /* NÃO quebra linha */
    overflow-x: auto;       /* scroll se não couber */
    padding: 20px;
}
.shop-grid::-webkit-scrollbar {
    height: 8px;
}

.shop-grid::-webkit-scrollbar-thumb {
    background: #ff6b35;
    border-radius: 10px;
}

.shop-item {
    background: linear-gradient(135deg, rgba(139, 46, 139, 0.3) 0%, rgba(255, 107, 53, 0.1) 100%);
    border: 2px solid var(--orange);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.2);
}

.shop-item:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.7);
    border-color: var(--gold);
}

.shop-item-header {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.shop-item-header.premium {
    color: var(--gold);
    text-shadow: 0 0 10px var(--gold);
}

.shop-item-header.legendary {
    color: var(--orange);
    text-shadow: 0 0 10px var(--orange);
    animation: glow 2s ease-in-out infinite;
}

.shop-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;

    position: relative;
    z-index: 2;
    margin-top: 120px; /* desce um pouco por causa do header */
}

.shop-top h2 {
    font-size: 3rem;
    color: #ffd700;
    margin: 0;
}

.balance {
    font-size: 20px;
    color: #ffd700;
    margin: 0;
}

.balance {
    margin-top: 10px;
    font-size: 18px;
    color: #ffd700;
}

.shop-item {
    background: rgba(0,0,0,0.7);
    border: 1px solid #444;
    transition: 0.3s;
}

.shop-item:hover {
    transform: scale(1.05);
    border-color: #ffd700;
    box-shadow: 0 0 15px #ffd700;
}

.shop-item.premium {
    border-color: purple;
}

.shop-item.legendary {
    border-color: gold;
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 10px var(--orange); }
    50% { text-shadow: 0 0 20px var(--orange), 0 0 30px var(--orange); }
}

.shop-item h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.shop-item .price {
    color: var(--orange);
    font-size: 1.8rem;
    font-weight: 800;
    margin: 1rem 0;
}

.shop-item p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.logged-in-alert {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #00ff00;
    padding: 10px;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-logout {
    background: #ff4444;
    border: none;
    color: white;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
    font-weight: bold;
}

.btn-logout:hover {
    background: #cc0000;
}
.btn-buy {
    display: inline-block;
    padding: 12px 40px;
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 6px;
    border: 2px solid #ffd700;
    cursor: pointer;
    position: relative;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    overflow: hidden;
    transition: 0.3s;
}

/* glow animado */
.btn-buy::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 215, 0, 0.6),
        transparent
    );
    transform: rotate(25deg);
    animation: glowMove 2s linear infinite;
}

@keyframes glowMove {
    0% { transform: translateX(-100%) rotate(25deg); }
    100% { transform: translateX(100%) rotate(25deg); }
}

.btn-buy:hover {
    box-shadow: 0 0 25px #ffd700, 0 0 50px #ff6b35;
    transform: scale(1.05);
}
.btn-buy:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(255, 107, 53, 0.8);
}

/* ============ DOWNLOAD ============ */

.download {
    background: linear-gradient(135deg, rgba(139, 46, 139, 0.4) 0%, rgba(255, 107, 53, 0.2) 100%);
    border-top: 3px solid var(--orange);
    border-bottom: 3px solid var(--purple);
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.download h2 {
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(135deg, var(--orange), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download p {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.btn-download {
    display: inline-block;
    padding: 20px 80px;
    background: linear-gradient(135deg, var(--orange), #ff8c42);
    border: 3px solid var(--gold);
    color: white;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.7);
}

.btn-download:hover {
    transform: scale(1.1);
    box-shadow: 0 0 60px rgba(255, 107, 53, 1);
}

/* ============ FOOTER ============ */

footer {
    background: linear-gradient(180deg, rgba(5, 7, 16, 0.95) 0%, rgba(5, 7, 16, 1) 100%);
    border-top: 3px solid var(--orange);
    text-align: center;
    padding: 3rem 2rem;
    color: var(--gray);
}

/* ============ RESPONSIVO ============ */

@media (max-width: 1024px) {
    .carousel-button.prev {
        left: 10px;
    }

    .carousel-button.next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .carousel {
        height: auto;
        min-height: 450px;
    }

    .carousel-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .carousel-image {
        width: 100%;
        height: 250px;
    }

    .carousel-text {
        width: 100%;
    }

    .carousel-text h3 {
        font-size: 2rem;
    }

    .hero-logo {
        height: 200px;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .hero*
