@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #DCEF00;
    --color-bg: #0a0a0a;
    --color-bg-secondary: #1a1a1a;
    --color-text: #ffffff;
    --color-text-secondary: #a0a0a0;
    --color-border: #2a2a2a;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.forms-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.forms-content .alert {
    cursor: default;
    background-color: rgba(240, 255, 66, 0.26);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 10px 5px;
    width: 100%;
    border-radius: 10px;
}

.forms-content a:link, .forms-content a:visited {
    color: var(--color-primary);
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    max-width: 500px
}

.forms-content a:hover {
    color: var(--color-text-secondary)
}

.forms-content {
    position: relative;
    justify-content: center;
}

.forms-content .option {
    border: 1px solid var(--color-text-secondary);
    background: rgba(160, 160, 160, 0.5);
    cursor: pointer;
    color: #FFF;
    padding: 5px 10px;
    transition: all 0.5s ease;
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.forms-content .option:hover {
    border: 1px solid var(--color-primary);
    background: rgba(220, 239, 0, 0.51);
    box-shadow: var(--color-primary) 0 0 10px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    /*border-bottom: 1px solid var(--color-border);*/
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.logo svg {
    display: block;
}

.nav {
    display: flex;
    gap: 2.5rem;
    flex: 1;
    justify-content: center;
}

.nav a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--color-primary);
}

.header-buttons {
    display: flex;
    gap: 1rem;
}

.btn-site,
.btn-discord {
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: default;
    transition: all 1s ease;
    letter-spacing: 0.5px;
}

.btn-site svg {
    width: 20px;
}

.btn-site {
    background-color: var(--color-primary);
    color: #000;
}

.btn-site:hover {
    /*background-color: #abb532;*/
    box-shadow: var(--color-primary) 0 0 10px;
    /*transform: translateY(-2px);*/
}

.btn-site.grey {
    background-color: #8f8f8f;
    color: #262626;
}

.btn-site.grey:hover {
    box-shadow: #8f8f8f 0 0 10px;
}

.btn-site.offline {
    background-color: #f45252;
    color: #FFF;
}

.btn-site.offline:hover {
    box-shadow: #f45252 0 0 10px;
}

.btn-discord {
    background-color: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-primary);
    display: flex;
    cursor: pointer;
    align-items: center;
    gap: 0.5rem;
}

.btn-discord:hover {
    background-color: var(--color-primary);
    color: #000;
}

/* Social Sidebar */
.social-sidebar {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 100;
}

.social-icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateX(5px);
    background-color: #abb532;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 4rem 0;
}

.hero-content {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*filter: grayscale(100%) contrast(1.1);*/
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tuk-tuk-graphic {
    width: 400px;
    height: 300px;
    filter: drop-shadow(0 0 20px rgba(196, 245, 0, 0.5));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.cta-button {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    color: #000;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background-color: #abb532;
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 10px 30px rgba(196, 245, 0, 0.3);
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding: 0 2rem;
}

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%);
    transition: filter 0.3s ease;
}

.gallery-item:hover img {
    filter: grayscale(0%);
}

/* How to Play Section */
.how-to-play {
    padding: 2rem 0;
}

.section-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 4rem;
    letter-spacing: -0.5px;
}

.section-title.forms {
    margin-bottom: 0.5rem;
}

.how-to-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.video-container {
    position: relative;
    background-color: var(--color-bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.play-button {
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.play-button:hover {
    background-color: #abb532;
    transform: scale(1.1);
}

.video-progress {
    flex: 1;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    width: 23%;
    height: 100%;
    background-color: var(--color-primary);
}

.video-time {
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 500;
    flex-shrink: 0;
}

.video-link {
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.video-link span {
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 600;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.step {
    background: rgba(240, 255, 66, 0.2);
    display: flex;
    border: 1px solid var(--color-primary);
    padding: 10px 10px;
    border-radius: 10px;
    gap: 1.5rem;
    align-items: start;
    cursor: default;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    color: #000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content p {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.6;
}

/* News Section */
.news {
    padding: 6rem 0;
    background-color: var(--color-bg-secondary);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-grid.off {
    text-align: center;
    grid-template-columns: none;
    max-width: 700px;
    margin: 0 auto;
}

.news-grid .alert {
    cursor: default;
    background-color: rgba(240, 255, 66, 0.26);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 10px 5px;
    width: 100%;
    border-radius: 10px;
}

.news-card {
    background-color: var(--color-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 2rem;
}

.news-date {
    display: block;
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
}

.footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-icon a:link {

}

.footer-social-icon:hover {
    background-color: #abb532;
    transform: translateY(-3px);
}

.footer-text p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.footer-logo span {
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.content-bg {
    display: none;
    z-index: 9997;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: ease all 1s;
    backdrop-filter: blur(10px); /* Embaça o conteúdo atrás */
    -webkit-backdrop-filter: blur(10px);
}

.content-loading {
    z-index: 9998;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    margin: auto auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

.content-loading svg, section svg {
    width: 40px;
    margin: auto auto;
    position: relative
}

.content-popup {
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
    transition: ease all 1s;
}

.content-popup.hidden, .content-loading.hidden {
    display: none;
}

.container-popup {
    max-width: 600px;
    max-height: 70vh; /* Altura máxima */
    background: var(--color-bg-secondary);
    border-radius: 10px;
    margin-top: 12rem;
    padding: 20px;
    overflow-y: auto; /* Rolagem apenas no container */
    overflow-x: hidden;
}

/* Opcional: estilizar a scrollbar */
.container-popup::-webkit-scrollbar {
    width: 8px;
}

.container-popup::-webkit-scrollbar-track {
    background: var(--color-bg-secondary);
    border-radius: 4px;
}

.container-popup::-webkit-scrollbar-thumb {
    background: var(--color-text-secondary);
    border-radius: 4px;
}

.container-popup::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

.container-popup h1 {
    font-family: "Share Tech Mono", monospace;
    font-weight: 400;
    font-style: normal;
    color: var(--color-primary);
    cursor: default;
    margin-bottom: -11px;
}

.container-popup .date {
    font-size: 12px;
    padding-left: 3px;
    color: var(--color-text-secondary);
    cursor: default;
}

.container-popup .date.more-margin {
    margin-top: 10px;
}

.container-popup hr {
    border: 0.3px solid var(--color-primary);
    margin-bottom: 10px;
    margin-top: 10px;
}

.container-popup h3 {
    color: var(--color-primary);
    font-size: 20px;
    text-transform: uppercase;
}

.container-popup .alert {
    text-align: right;
    position: relative;
    top: -10px;
    margin-bottom: -32px;
    font-size: 12px;
}

.container-popup .alert a {
    cursor: pointer;
    opacity: 0.4;
    transition: all 0.5s ease;
}

.container-popup .alert a:hover {
    color: var(--color-primary);
    opacity: 1;
}

.container-popup input[type=text] {
    border: var(--color-primary) 1px solid;
    background: var(--color-bg);
    width: 100%;
    border-radius: 10px;
    padding: 5px;
    color: var(--color-primary);
    transition: ease all 1s;
    margin-bottom: 15px;
}

.container-popup input[type=text]:focus {
    color: var(--color-text);
    border: var(--color-text) 1px solid;
}

.container-popup textarea {
    border: var(--color-text) 1px solid;
    background: var(--color-bg);
    width: 100%;
    border-radius: 5px;
    padding: 5px;
    color: var(--color-primary);
    transition: ease border 0.4s, ease color 0.4s, ease background 0.4s;
    margin-bottom: 15px;
    min-height: 60px;
    max-height: 200px;
    resize: vertical;
    box-sizing: border-box;
}

.container-popup textarea:focus, .container-popup textarea:hover {
    color: var(--color-text);
    border: var(--color-primary) 1px solid;
    background: rgba(171, 181, 50, 0.38);
}

.container-popup button[type=submit] {
    background: rgba(240, 255, 66, 0.49);
    width: 100%;
    border: 2px var(--color-primary) solid;
    border-radius: 10px;
    padding: 15px 5px;
    color: var(--color-text);
    font-family: "Share Tech Mono", monospace;
    font-weight: 800;
    font-size: 20px;
    cursor: pointer;
    text-transform: uppercase;
    font-style: normal;
    transition: ease all 0.4s;
}

.container-popup button[type=submit]:hover {
    transform: translateY(-5px);
    box-shadow: 0 0px 10px var(--color-primary);
}

input[type="text"]:focus,
textarea:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus {
    outline: none;
    box-shadow: none;
}

.container-popup .optional {
    color: var(--color-text-secondary);
    font-size: 10px;
    text-transform: uppercase;
}

.container-popup .required {
    color: #ef4848;
    font-size: 10px;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 1024px) {
    .how-to-content {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }

    .content-loading svg {
        width: 40px;
        margin: auto auto;
        position: relative
    }

    .nav {
        order: 3;
        width: 100%;
        margin-top: 1rem;
        justify-content: space-around;
        gap: 0.6rem;
    }

    .social-sidebar {
        display: none;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer .container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .notifications-container {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .controls {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
    }
}

/* width */
::-webkit-scrollbar {
    width: 6px;
    z-index: 999;
}

/* Track */
::-webkit-scrollbar-track {
    background: var(--color-bg);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--color-text-secondary);
    border-radius:50px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

::-moz-selection { /* Code for Firefox */
    color: var(--color-primary);
    background: var(--color-bg-secondary);
}

::selection {
    color: var(--color-primary);
    background: var(--color-bg-secondary);
}

/* Container das notificações */
.notifications-container {
    z-index: 10000;
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 400px;
}

/* Estilo base da notificação */
.notification {
    /*background: white;*/
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #ccc;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transform: translateX(-400px);
    opacity: 0;
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
    max-height: 200px;
}

.notification.hide {
    transform: translateX(-400px);
    opacity: 0;
    max-height: 0;
    margin-bottom: 0;
}

/* Ícones */
.notification-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Conteúdo */
.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 14px;
}

.notification-message {
    color: #FFF;
    font-size: 14px;
    line-height: 1.4;
}

/* Botão fechar */
.notification-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-close:hover {
    color: #666;
}

/* Tipos de notificação */
.notification.success {
    border: 1px #8cc43b;
    color: #FFF;
    background: rgba(140, 196, 59, 0.9);
}

.notification.success .notification-icon {
    color: #28a745;
}

.notification.error {
    border: 1px #f63245;
    color: #FFF;
    background: rgba(246, 41, 41, 0.9);
}

.notification.error .notification-icon {
    color: #dc3545;
}

.notification.warning {
    border: 1px #ea7905;
    color: #FFF;
    background: rgba(234, 121, 5, 0.89);
}

.notification.warning .notification-icon {
    color: #ffc107;
}

.notification.info {
    border: 1px #0199f8;
    color: #FFF;
    background: rgba(0, 123, 250, 0.9);
}

.notification.info .notification-icon {
    color: #17a2b8;
}

/* Progress bar */
.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: currentColor;
    opacity: 0.3;
    width: 100%;
    transform: scaleX(1);
    transform-origin: left;
    transition: transform linear;
}