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

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --bg-card-dark: #151515;
    --yellow-primary: #ef142d;
    --yellow-bright: #ff4b5f;
    --yellow-dark: #a9001b;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --text-dark: #666666;
    --error-red: #ff4444;
    --warning-yellow: #ffaa00;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated Background Grid */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(239, 20, 45, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(239, 20, 45, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Animated Yellow Dots */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, var(--yellow-bright) 2px, transparent 2px);
    background-size: 200px 200px;
    background-position: 0 0, 100px 100px;
    z-index: 0;
    opacity: 0.3;
    animation: dotsMove 30s linear infinite;
}

@keyframes dotsMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(200px, 200px); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(239, 20, 45, 0.2);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 160px;
    text-decoration: none;
}

.logo img {
    display: block;
    width: 190px;
    max-width: 100%;
    height: 68px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(239, 20, 45, 0.15));
}

.nav {
    display: flex;
    gap: 25px;
    flex: 1;
    justify-content: center;
}

.nav:empty {
    display: none;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--yellow-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--yellow-primary);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.3s;
}

.language-selector:hover {
    background: rgba(239, 20, 45, 0.1);
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
}

.btn-discord {
    background: var(--yellow-primary);
    color: var(--bg-dark);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    text-decoration: none;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(239, 20, 45, 0.3);
}

.btn-discord:hover {
    background: var(--yellow-bright);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 20, 45, 0.4);
}

/* Feature Buttons */
.feature-buttons {
    padding: 20px 0;
    background: rgba(26, 26, 26, 0.5);
    border-bottom: 1px solid rgba(239, 20, 45, 0.1);
}

.feature-buttons .container {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.feature-btn {
    background: transparent;
    border: 2px solid rgba(239, 20, 45, 0.3);
    color: var(--text-white);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    text-decoration: none;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.feature-btn:hover,
.feature-btn.active {
    border-color: var(--yellow-primary);
    background: rgba(239, 20, 45, 0.1);
    color: var(--yellow-primary);
}

/* Main Content */
.main-content {
    padding: 40px 0;
    min-height: calc(100vh - 300px);
    position: relative;
    z-index: 1;
}

.registration-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(239, 20, 45, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.card-title {
    font-size: 42px;
    margin-bottom: 10px;
    text-align: center;
}

.title-yellow {
    color: var(--yellow-primary);
}

.title-white {
    color: var(--text-white);
}

.card-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 40px;
    font-size: 16px;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: rgba(239, 20, 45, 0.3);
    z-index: 0;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card-dark);
    border: 2px solid rgba(239, 20, 45, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    transition: all 0.3s;
}

.step.completed .step-circle {
    background: var(--yellow-primary);
    border-color: var(--yellow-primary);
    color: var(--bg-dark);
}

.step.active .step-circle {
    background: var(--yellow-primary);
    border-color: var(--yellow-primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(239, 20, 45, 0.5);
}

.step-label {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
    color: var(--text-white);
}

.step.completed .step-label,
.step.active .step-label {
    color: var(--yellow-primary);
}

.step-desc {
    font-size: 12px;
    color: var(--text-gray);
}

/* Warning Box */
.warning-box {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid var(--error-red);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--error-red);
}

.warning-box.yellow-warning {
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid var(--warning-yellow);
    color: var(--warning-yellow);
}

.warning-box.success-box {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #00ff00;
    color: #00ff00;
}

.warning-box.success-box .warning-text strong {
    color: #00ff00;
}

.warning-box i {
    font-size: 20px;
}

.warning-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.warning-text strong {
    font-size: 14px;
}

.warning-text span {
    font-size: 13px;
    white-space: pre-line;
    line-height: 1.6;
}

/* Discord Section */
.discord-section {
    margin-top: 30px;
}

.section-title {
    color: var(--text-white);
    font-size: 18px;
    margin-bottom: 15px;
    margin-top: 25px;
}

.section-title:first-child {
    margin-top: 0;
}

.discord-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-card-dark);
    border-radius: 10px;
    margin-bottom: 20px;
}

.discord-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--yellow-primary);
}

.discord-details {
    flex: 1;
}

.discord-username {
    color: var(--text-white);
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.discord-id {
    color: var(--text-gray);
    font-size: 12px;
}

.linked-badge {
    color: var(--yellow-primary);
    font-size: 14px;
    font-weight: bold;
}

.server-section {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 25px;
}

.btn-fivem {
    flex: 1;
    background: var(--yellow-primary);
    color: var(--bg-dark);
    border: none;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(239, 20, 45, 0.3);
}

.btn-fivem:hover {
    background: var(--yellow-bright);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 20, 45, 0.4);
}

.code-input-section {
    flex: 0 0 200px;
}

/* Form */
.registration-form {
    margin-top: 30px;
    position: relative;
    z-index: 10;
}

.registration-form input,
.registration-form textarea,
.registration-form select,
.registration-form button {
    pointer-events: auto;
    user-select: text;
}

.form-group {
    margin-bottom: 30px;
}

.input-label {
    display: block;
    color: var(--text-white);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.input-field {
    width: 100%;
    background: var(--bg-card-dark);
    border: 2px solid rgba(239, 20, 45, 0.3);
    border-radius: 10px;
    padding: 15px;
    color: var(--text-white);
    font-size: 16px;
    transition: all 0.3s;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.input-field:focus {
    outline: none;
    border-color: var(--yellow-primary);
    box-shadow: 0 0 15px rgba(239, 20, 45, 0.2);
}

.input-field::placeholder {
    color: var(--text-dark);
}

.input-field.error {
    border-color: var(--error-red);
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.radio-option {
    flex: 1;
    min-width: 150px;
    cursor: pointer;
}

.radio-input {
    display: none;
}

.radio-custom {
    background: var(--bg-card-dark);
    border: 2px solid rgba(239, 20, 45, 0.3);
    border-radius: 10px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    text-align: center;
}

.radio-input:checked + .radio-custom {
    background: rgba(239, 20, 45, 0.1);
    border-color: var(--yellow-primary);
    color: var(--yellow-primary);
    box-shadow: 0 0 15px rgba(239, 20, 45, 0.2);
}

.radio-custom:hover {
    border-color: var(--yellow-primary);
}

.radio-custom i {
    font-size: 18px;
}

/* Buttons */
.btn-primary {
    background: var(--yellow-primary);
    color: var(--bg-dark);
    border: none;
    padding: 18px 30px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(239, 20, 45, 0.3);
    width: 100%;
}

.btn-primary:hover {
    background: var(--yellow-bright);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 20, 45, 0.4);
}

.btn-full {
    width: 100%;
}

/* Footer */
.footer {
    background: rgba(26, 26, 26, 0.95);
    padding: 30px 0;
    text-align: center;
    color: var(--text-gray);
    border-top: 1px solid rgba(239, 20, 45, 0.2);
    margin-top: 50px;
}

.footer p {
    font-size: 16px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    /* Logo mobile Apucarana */
    .logo { min-width: 140px; }
    .logo img { width: 165px; height: 60px; }

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

    .nav {
        flex-wrap: wrap;
        gap: 15px;
    }

    .feature-buttons .container {
        flex-direction: column;
    }

    .progress-steps {
        flex-direction: column;
        gap: 20px;
    }

    .progress-steps::before {
        display: none;
    }

    .server-section {
        flex-direction: column;
    }

    .code-input-section {
        flex: 1;
        width: 100%;
    }

    .radio-group {
        flex-direction: column;
    }

    .registration-card {
        padding: 25px;
    }

    .card-title {
        font-size: 32px;
    }
}



/* HardLife Roleplay branding override — 2026-07-21 */
:root {
    --yellow-primary: #ef142d;
    --yellow-bright: #ff4b5f;
    --yellow-dark: #a9001b;
}

.header {
    border-bottom-color: rgba(239, 20, 45, 0.38);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.logo {
    min-width: 94px;
}

.logo img {
    width: 86px;
    height: 86px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(239, 20, 45, 0.42));
}

@media (max-width: 768px) {
    .logo { min-width: 72px; }
    .logo img { width: 68px; height: 68px; }
}

/* =========================================================
   Seletor de idiomas: Brasil, Portugal e Inglês
   ========================================================= */
.language-selector {
    position: relative;
    display: block;
    padding: 0;
    border-radius: 10px;
    z-index: 1200;
}

.language-selector:hover {
    background: transparent;
}

.language-current-button {
    min-width: 76px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(239, 20, 45, 0.28);
    border-radius: 10px;
    background: rgba(10, 10, 10, 0.72);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.language-current-button:hover,
.language-selector.open .language-current-button {
    background: rgba(239, 20, 45, 0.12);
    border-color: rgba(239, 20, 45, 0.75);
    box-shadow: 0 0 18px rgba(239, 20, 45, 0.2);
}

.language-current-button:focus-visible,
.language-option:focus-visible {
    outline: 2px solid #ef142d;
    outline-offset: 2px;
}

.language-current-code {
    min-width: 20px;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .06em;
}

.language-chevron {
    font-size: 11px;
    transition: transform .2s ease;
}

.language-selector.open .language-chevron {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 238px;
    padding: 8px;
    border: 1px solid rgba(239, 20, 45, 0.38);
    border-radius: 13px;
    background: rgba(17, 17, 17, 0.98);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55), 0 0 25px rgba(239, 20, 45, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-7px) scale(.98);
    transform-origin: top right;
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.language-selector.open .language-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.language-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 25px;
    width: 11px;
    height: 11px;
    background: #111111;
    border-left: 1px solid rgba(239, 20, 45, 0.38);
    border-top: 1px solid rgba(239, 20, 45, 0.38);
    transform: rotate(45deg);
}

.language-option {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 43px;
    padding: 9px 10px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: rgba(255, 255, 255, 0.82);
    display: grid;
    grid-template-columns: 25px 1fr 18px;
    align-items: center;
    gap: 10px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}

.language-option:hover {
    background: rgba(239, 20, 45, 0.1);
    color: #ffffff;
}

.language-option.active {
    background: rgba(239, 20, 45, 0.16);
    color: #ffffff;
}

.language-option .fa-check {
    color: #ef142d;
    opacity: 0;
    transform: scale(.7);
    transition: opacity .18s ease, transform .18s ease;
}

.language-option.active .fa-check {
    opacity: 1;
    transform: scale(1);
}

.flag-icon {
    width: 22px;
    height: 16px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12);
}

@media (max-width: 700px) {
    .header-right {
        gap: 9px;
    }

    .language-current-button {
        min-width: 58px;
        padding: 0 8px;
    }

    .language-current-code {
        display: none;
    }

    .language-menu {
        position: fixed;
        top: 76px;
        left: 12px;
        right: 12px;
        width: auto;
        transform-origin: top center;
    }

    .language-menu::before {
        display: none;
    }
}
