@font-face {
    font-family: "Impact";
    src: url("./fonts/impact.ttf");
}

:root {
    --bg: #0b0f1a;
    --surface: #101826;
    --surface-2: #15263b;
    --primary: #00d1ff;
    --primary-hover: #16e1ff;
    --accent: #ff4080;
    --text: #ffffff;
    --muted: #d2e9f5;
    --border: rgba(255,255,255,.12);
}

body {
    background-color: var(--bg) !important;
    overflow-y: auto;
}

#wrapper {
    background:
        linear-gradient(180deg, rgba(11,15,26,.85) 0%, rgba(18,28,46,.85) 100%),
        url("../img/background.png") no-repeat center top;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1, h2 {
    font-family: "Impact", sans-serif;
    font-size: 28px !important;
    color: var(--text) !important;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 16px;
}

#left-content {
    margin-right: 16px;
}

.box {
    background: rgba(16, 24, 38, 0.92);
    border-radius: 20px;
    box-shadow: 0 10px 24px rgba(0,0,0,.35), 0 0 12px rgba(0,209,255,.12);
    border: 1px solid var(--border);
}

#countdown-box, #register-box {
    padding: 10px 24px;
}

#countdown-box {
    width: 100%;
    max-width: 451px;
    height: 90px;
    margin-bottom: 16px
}

.timers div {
    width: 65px;
    margin-top: 30px
}

.timers div p {
    text-align: center;
}

.timers div p:first-child {
    font-family: "Impact", sans-serif !important;
    font-size: 40px !important;
    color: var(--text) !important;
    line-height: 25%;
}

.timers div p:last-child {
    font-family: "Arial", sans-serif;
    font-size: 10px;
    color: var(--text);
}

#register-box {
    width: 100%;
    max-width: 451px;
    min-height: 320px;
}

.alert {
    padding: 4px 8px !important;
}

.text {
    font-family: "Arial", sans-serif !important;
    font-size: 12px !important;
    color: var(--muted) !important;
}

.inputs {
    text-align: center;
    background: var(--surface-2) !important;
    border: none !important;
    border-radius: 5px !important;
    width: 100%;
    height: 38px !important;
    padding: 6px 12px !important;
    font-size: 14px !important;
    margin-bottom: 12px
}
select.inputs {
    text-align-last: center;
}
input.inputs:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,209,255,.4);
}

::-webkit-input-placeholder {
    color: var(--muted) !important;
}

:-moz-placeholder { /* Firefox 18- */
    color: var(--muted) !important;
}

::-moz-placeholder {  /* Firefox 19+ */
    color: var(--muted) !important;
}

:-ms-input-placeholder {
    color: var(--muted) !important;
}

input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    width: 16px;
    height: 16px;
    border: 1px solid var(--accent);
    border-radius: 5px;
    background-color: var(--surface-2);
    cursor: pointer;
    position: relative;
}

input[type="checkbox"]:checked::before {
    content: "";
    display: block;
    width: 8px !important;
    height: 8px !important;
    border: none;
    border-radius: 2px;
    background-color: var(--accent);
    position: absolute;
    top: 3px;
    left: 3px;
}

.form-check-input:checked {
    background: none !important;
    border-color: var(--text) !important;
}
.form-check-input:focus {
    border-color: var(--text) !important;
}

 /* Adaptação para vários browsers */
input[type="checkbox"]::-ms-check { /* Para o Internet Explorer */
    background-color: var(--surface-2);
    border: 1px solid var(--text);
}

.btn-register, .btn-site {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 5px;
    background: linear-gradient(180deg, #00bde6 0%, #008fb8 100%);
    font-family: "Impact", sans-serif;
    font-size: 26px;
    line-height: 175%;
    text-align: center;
    text-transform: uppercase;
    color: var(--text);
    transition: 0.4s
    box-shadow: 0 6px 18px rgba(0, 209, 255, .28), 0 0 10px rgba(0, 209, 255, .35) inset;
}

.btn-register:hover, .btn-site:hover {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 10px 24px rgba(22, 225, 255, .4);
}

.invalid-feedback {
    font-size: 12px !important;
    color: #ff5b5b !important;
}

.prizes {
    color: var(--text) !important;
    font-family: "Arial", sans-serif;
    font-size: 12px;
    text-align: center;
    display: block;
    margin-top: 16px;
}

#video-box {
    width: 100%;
    max-width: 420px;
    height: auto;
    padding: 10px;
    border: 1px solid rgba(0,209,255,.2);
    box-shadow: 0 8px 20px rgba(0,0,0,.35), 0 0 12px rgba(255,64,128,.15);
    overflow: hidden;
    border-radius: 20px;
}

.action-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.discord-card {
    background: #2f3136;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.08);
    width: 100%;
}
.discord-header {
    color: #b9bbbe;
    font-family: Arial, sans-serif;
    font-size: 12px;
    letter-spacing: .06em;
    padding: 10px 12px 0 12px;
}
.discord-body {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px 12px 12px 12px;
}
.discord-avatar-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: #202225;
    display: flex;
    align-items: center;
    justify-content: center;
}
.discord-avatar {
    width: 32px;
    height: 32px;
}
.discord-name {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
}
.discord-stats {
    margin-top: 6px;
    display: flex;
    gap: 14px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #b9bbbe;
}
.discord-stats .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3ba55d;
    margin-right: 6px;
    position: relative;
    top: -1px;
}
.discord-stats .dot.gray {
    background: #7289da;
}
.discord-join {
    background: #3ba55d;
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    transition: .2s;
}
.discord-join:hover {
    background: #2e8b4c;
}
.media-card {
    background: #2f3136;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.08);
    width: 100%;
    overflow: hidden;
    margin-top: 12px;
}
.media-content {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.video-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-top {
    margin-top: 0 !important;
    padding: 0 0 8px 0;
    border-bottom: 2px solid rgba(21, 38, 59, 0.6)
}

.social {
    font-family: "Arial", sans-serif;
    font-size: 15px;
    color: var(--text)
}

.social-ig {
    background: url("../img/social_ig.png");
    border: none;
    width: 20px;
    height: 20px;
    transition: 0.5s
}
.social-ig:hover {
    background: url("../img/social_ig_hover.png");
}

.social-disc {
    background: url("../img/social_discord.png");
    border: none;
    width: 21px;
    height: 16px;
    transition: 0.5s;
}

.social-disc:hover {
    background: url("../img/social_discord_hover.png");
}

.copyright {
    font-family: "Arial", sans-serif;
    font-size: 15px;
    color: rgba(15, 46, 58, 0.92)
}

.footer-bottom {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

.footer-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(0,209,255,.0) 0%, rgba(0,209,255,.4) 50%, rgba(0,209,255,.0) 100%);
    border-radius: 2px;
}

@media (max-width: 992px) {
    #left-content {
        margin-right: 0;
    }
    #video-box, #register-box {
        max-width: 100%;
    }
}

@media (max-width: 500px) {
    #countdown-box {
        width: 100%;
        max-width: 360px;
    }
    #register-box {
        width: 100%;
        max-width: 360px;
    }
    .discord-body {
        grid-template-columns: 48px 1fr auto;
    }
    .discord-avatar-wrap {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 360px) {
    #countdown-box {
        width: 100%;
    }
    #register-box {
        width: 100%;
    }
}
