@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Poppins:wght@300;400;600&display=swap');

:root {
    --primary-color: #00ffff; 
    --secondary-color: #08d4d4;
    --background-color: #0a0a1a;
    --text-color: #f0f0f0;
    --dark-color: #050510;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    background-image: url('../imgs/background.jpg'); 
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    color: var(--text-color);
    overflow-x: hidden;

    cursor: default;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 26, 0.85);
    z-index: -1;
}



@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes lightning {
    0%, 100% { text-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color), 0 0 20px var(--primary-color); }
    50% { text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 40px var(--primary-color); }
}

header {
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--primary-color);
}

nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Orbitron', sans-serif; font-size: 1.8rem; color: var(--primary-color); text-decoration: none; font-weight: 700; animation: lightning 2s infinite; transition: transform 0.3s ease; }
.logo:hover { transform: scale(1.05); }
nav ul { list-style: none; display: flex; gap: 2rem; }
nav ul li a { color: var(--text-color); text-decoration: none; font-size: 1.1rem; padding: 0.5rem 1rem; border-radius: 5px; position: relative; transition: color 0.3s, text-shadow 0.3s; cursor: pointer;}
nav ul li a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 50%; transform: translateX(-50%); background-color: var(--primary-color); transition: width 0.4s ease; }
nav ul li a:hover, nav ul li a.active { color: var(--primary-color); text-shadow: 0 0 10px var(--primary-color); }
nav ul li a:hover::after, nav ul li a.active::after { width: 100%; }

main {
    padding: 2rem 10%;
    max-width: 1200px;
    margin: auto;
    min-height: 70vh;
    text-align: center;
}

#dynamic-header { margin: 3rem 0; animation: fadeIn 1s ease-out; }
#dynamic-title { font-family: 'Orbitron', sans-serif; font-size: 3rem; color: var(--primary-color); margin-bottom: 1rem; animation: lightning 3s infinite alternate; }
#dynamic-subtitle { font-size: 1.2rem; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

.page-section { display: none; animation: fadeIn 0.8s ease-out forwards; }
.page-section.active-section { display: block; }
.content-text { font-size: 1.1rem; line-height: 1.7; text-align: center; max-width: 800px; margin: 1rem auto; }
.intro-text { font-size: 1.2rem; font-style: italic; color: var(--secondary-color); max-width: 700px; margin: 2rem auto; line-height: 1.8; }


.loja-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}
.produto-card {
    background: var(--dark-color);
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    flex: 1 1 250px; 
    max-width: 300px;
}
.produto-card:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2); }
.produto-card img { max-width: 100%; height: 150px; object-fit: cover; border-radius: 5px; margin-bottom: 1rem; }
.produto-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.produto-card .preco { font-size: 1.2rem; color: var(--primary-color); font-weight: 600; margin-bottom: 1rem; }
.comprar-btn { background: var(--primary-color); color: var(--dark-color); border: none; padding: 0.8rem 1.5rem; font-size: 1rem; font-weight: 600; border-radius: 50px; cursor: pointer; transition: background-color 0.3s, transform 0.3s; }
.comprar-btn:hover { background-color: var(--secondary-color); transform: scale(1.05); }

.galeria-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.galeria-imagem { width: 100%; height: 250px; object-fit: cover; border-radius: 8px; border: 2px solid var(--secondary-color); transition: transform 0.3s ease, box-shadow 0.3s ease; cursor: pointer; }
.galeria-imagem:hover { transform: scale(1.05); box-shadow: 0 0 20px var(--primary-color); }

.lightbox {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none; 
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    transition: transform 0.2s ease; 
}
.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}
.close-btn:hover { color: var(--primary-color); }

.email-link { display: block; text-align: center; font-size: 1.3rem; color: var(--primary-color); text-decoration: none; margin-top: 1rem; transition: text-shadow 0.3s; cursor: pointer; }
.email-link:hover { text-shadow: 0 0 15px var(--primary-color); }

footer { text-align: center; padding: 2rem 5%; margin-top: 2rem; border-top: 1px solid var(--primary-color); background: rgba(10, 10, 26, 0.8); }
.social-icons { margin-bottom: 1rem; }
.social-icon { font-size: 1.8rem; margin: 0 1rem; text-decoration: none; transition: color 0.3s, transform 0.3s; cursor: pointer; }
.social-icon:hover { transform: translateY(-5px); }
.social-icon.youtube { color: #FF0000; }
.social-icon.instagram { color: #E4405F; }
.social-icon.twitter { color: #1DA1F2; }
.social-icon.discord { color: #7289DA; }


@media (max-width: 768px) {

    nav {
        flex-direction: column; 
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center; 
        gap: 0.8rem;
    }

    nav ul li a {
        font-size: 1rem; 
        padding: 0.5rem 0.7rem;
    }

  
    body {
       
        background-attachment: scroll; 
    }

    main {
        padding: 2rem 5%; 
    }

    
    #dynamic-header {
        margin: 2rem 0; 
    }

    #dynamic-title {
        font-size: 2.3rem; 
    }

    #dynamic-subtitle {
        font-size: 1.1rem; 
    }

    .content-text, .intro-text {
        font-size: 1rem;
        line-height: 1.6;
    }

    
    .loja-grid {
        gap: 1rem; 
    }

    .produto-card {
        flex-basis: 100%; 
        max-width: 350px; 
    }

   
    footer {
        padding: 1.5rem 5%;
    }

    .social-icon {
        margin: 0 0.7rem;
    }
}



@media (max-width: 480px) {
    
    header, footer {
        padding-left: 3%;
        padding-right: 3%;
    }

    main {
        padding: 1.5rem 3%;
    }

    #dynamic-title {
        font-size: 2rem; 
    }

    .logo {
        font-size: 1.5rem; 
    }

    nav ul li a {
        font-size: 0.9rem; 
        padding: 0.4rem 0.6rem;
    }

    .social-icon {
        font-size: 1.5rem; 
        margin: 0 0.5rem;
    }
}



.login-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--dark-color);
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.1);
    text-align: left;
}

.login-container h3 {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 0.8rem;
    background: var(--background-color);
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    color: var(--text-color);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}


.login-btn,
.register-btn {
    flex: 1; 
    background: var(--primary-color);
    color: var(--dark-color);
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.login-btn:hover,
.register-btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}


.register-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.register-btn:hover {
    background: var(--primary-color);
    color: var(--dark-color);
}


@media (max-width: 768px) {
    .login-container {
        padding: 1.5rem;
    }

    .form-buttons {
        flex-direction: column; 
    }
}



#feedback-message {
    text-align: center;
    padding: 0.8rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    display: none; 
    margin-top: 1rem; 
    animation: fadeIn 0.3s ease-out;
}

#feedback-message.success {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

#feedback-message.error {
    background-color: #FF3366; 
    color: var(--text-color);
}


.chat-container {
    max-width: 800px;
    margin: 2rem auto;
    background: var(--dark-color);
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    height: 70vh;
    overflow: hidden;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--secondary-color);
    background: rgba(5, 5, 16, 0.5); 
}

.chat-header h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.logout-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}
.logout-btn:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: scale(1.05);
}

.chat-messages {
    flex-grow: 1;
    padding: 1.5rem;
    overflow-y: auto; 
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.chat-messages::-webkit-scrollbar {
    width: 8px;
}
.chat-messages::-webkit-scrollbar-track {
    background: var(--dark-color);
}
.chat-messages::-webkit-scrollbar-thumb {
    background-color: var(--secondary-color);
    border-radius: 10px;
}

.message-bubble {
    display: flex;
    gap: 0.8rem;
    max-width: 80%;
    animation: fadeIn 0.3s ease-out;
}

.message-bubble .profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    flex-shrink: 0; 
}

.message-content {
    background: var(--background-color);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 1px solid #222;
}

.message-content strong {
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.message-content p {
    margin: 0;
    line-height: 1.5;
    word-wrap: break-word;
}

.message-content .timestamp {
    font-size: 0.75rem;
    color: var(--secondary-color);
    display: block;
    text-align: right;
    margin-top: 0.5rem;
}

.chat-input-area {
    display: flex;
    padding: 1rem;
    border-top: 1px solid var(--secondary-color);
}

#chat-input {
    flex-grow: 1;
    padding: 0.8rem;
    background: var(--background-color);
    border: 1px solid var(--secondary-color);
    border-radius: 50px;
    color: var(--text-color);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    margin-right: 0.5rem;
}
#chat-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

#send-btn {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 1.2rem;
}

/* feito por jony._.exe */