/* ========================================
   DDTank Universe - Landing Page
   Light theme + ludico/nostalgico
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
    --ddt-blue: #4A90D9;
    --ddt-blue-light: #63B3ED;
    --ddt-orange: #F59E0B;
    --ddt-orange-hover: #D97706;
    --ddt-pink: #EC4899;
    --ddt-green: #10B981;
    --ddt-green-glow: rgba(16, 185, 129, 0.4);
    --ddt-purple: #8B5CF6;
    --ddt-bg-light: #F8FAFC;
    --ddt-white: #FFFFFF;
    --ddt-text: #1E293B;
    --ddt-text-muted: #64748B;
    --ddt-shadow: rgba(74, 144, 217, 0.15);
    --ddt-radius: 12px;
    --ddt-radius-sm: 8px;
    --ddt-radius-lg: 16px;
}

/* --- Base Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body.landing-page {
    font-family: 'Nunito', sans-serif;
    color: var(--ddt-text);
    background: var(--ddt-white);
}

/* ========================================
   HEADER - Transparent / Sticky
   ======================================== */
.ddt-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.ddt-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
}

.ddt-nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 52px;
}

.ddt-nav-logo img {
    height: 42px;
    transition: height 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.ddt-header.scrolled .ddt-nav-logo img {
    height: 36px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

.ddt-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.ddt-nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.ddt-header.scrolled .ddt-nav-links a {
    color: var(--ddt-text);
    text-shadow: none;
}

.ddt-nav-links a:hover {
    color: var(--ddt-orange);
}

.ddt-header.scrolled .ddt-nav-links a:hover {
    color: var(--ddt-blue);
}

.ddt-nav-auth {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ddt-btn-enter {
    display: inline-block;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid var(--ddt-blue);
    color: #fff;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    cursor: pointer;
    background: transparent;
    font-family: 'Nunito', sans-serif;
}

.ddt-header.scrolled .ddt-btn-enter {
    color: var(--ddt-blue);
    text-shadow: none;
}

.ddt-btn-enter:hover {
    background: var(--ddt-blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--ddt-shadow);
}

.ddt-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ddt-user-name {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.ddt-header.scrolled .ddt-user-name {
    color: var(--ddt-text);
    text-shadow: none;
}

.ddt-btn-logout {
    background: #EF4444;
    color: #fff;
    border: none;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.2s ease;
    font-family: 'Nunito', sans-serif;
}

.ddt-btn-logout:hover {
    background: #DC2626;
    transform: translateY(-1px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.ddt-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ddt-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.05) 40%,
        rgba(255, 255, 255, 0) 70%,
        rgba(255, 255, 255, 1) 100%
    );
    z-index: 1;
}

.ddt-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding-top: 60px;
}

/* Floating Logo Animation */
.ddt-hero-logo {
    margin-bottom: 40px;
}

.ddt-hero-logo img {
    height: 200px;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
    animation: floatLogo 4s ease-in-out infinite;
}

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

/* Play Button */
.ddt-btn-play {
    display: inline-block;
    padding: 18px 56px;
    background: linear-gradient(135deg, var(--ddt-orange) 0%, #F97316 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 6px 20px rgba(245, 158, 11, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    letter-spacing: 1px;
}

.ddt-btn-play:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 10px 30px rgba(245, 158, 11, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.25);
}

.ddt-btn-play:active {
    transform: translateY(-1px) scale(1.01);
}

/* Server Status Badge */
.ddt-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ddt-text);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.ddt-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ddt-green);
    position: relative;
}

.ddt-status-dot::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--ddt-green-glow);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* Floating Particles (Bubbles) */
.ddt-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.ddt-particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: floatUp linear infinite;
}

.ddt-particle:nth-child(1) {
    width: 20px; height: 20px;
    background: var(--ddt-blue);
    left: 10%; bottom: -20px;
    animation-duration: 12s;
    animation-delay: 0s;
}
.ddt-particle:nth-child(2) {
    width: 14px; height: 14px;
    background: var(--ddt-orange);
    left: 25%; bottom: -14px;
    animation-duration: 10s;
    animation-delay: 2s;
}
.ddt-particle:nth-child(3) {
    width: 24px; height: 24px;
    background: var(--ddt-pink);
    left: 40%; bottom: -24px;
    animation-duration: 14s;
    animation-delay: 4s;
}
.ddt-particle:nth-child(4) {
    width: 10px; height: 10px;
    background: var(--ddt-green);
    left: 55%; bottom: -10px;
    animation-duration: 11s;
    animation-delay: 1s;
}
.ddt-particle:nth-child(5) {
    width: 18px; height: 18px;
    background: var(--ddt-purple);
    left: 70%; bottom: -18px;
    animation-duration: 13s;
    animation-delay: 3s;
}
.ddt-particle:nth-child(6) {
    width: 12px; height: 12px;
    background: var(--ddt-blue-light);
    left: 85%; bottom: -12px;
    animation-duration: 9s;
    animation-delay: 5s;
}
.ddt-particle:nth-child(7) {
    width: 16px; height: 16px;
    background: var(--ddt-orange);
    left: 15%; bottom: -16px;
    animation-duration: 15s;
    animation-delay: 6s;
}
.ddt-particle:nth-child(8) {
    width: 22px; height: 22px;
    background: var(--ddt-pink);
    left: 60%; bottom: -22px;
    animation-duration: 11s;
    animation-delay: 2.5s;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.2;
    }
    90% {
        opacity: 0.15;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Star sparkles */
.ddt-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    opacity: 0;
    animation: sparkle 3s ease-in-out infinite;
}

.ddt-sparkle:nth-child(9) { left: 20%; top: 30%; animation-delay: 0s; }
.ddt-sparkle:nth-child(10) { left: 50%; top: 20%; animation-delay: 1s; }
.ddt-sparkle:nth-child(11) { left: 80%; top: 40%; animation-delay: 2s; }
.ddt-sparkle:nth-child(12) { left: 35%; top: 60%; animation-delay: 0.5s; }
.ddt-sparkle:nth-child(13) { left: 65%; top: 50%; animation-delay: 1.5s; }
.ddt-sparkle:nth-child(14) { left: 10%; top: 55%; animation-delay: 2.5s; }
.ddt-sparkle:nth-child(15) { left: 90%; top: 25%; animation-delay: 1.2s; }

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 0.8; transform: scale(1); }
}

/* ========================================
   SECTION HEADERS (shared)
   ======================================== */
.ddt-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.ddt-section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--ddt-text);
    margin: 0 0 8px 0;
    font-family: 'Nunito', sans-serif;
}

.ddt-section-subtitle {
    font-size: 16px;
    color: var(--ddt-text-muted);
    margin: 0;
    font-family: 'Nunito', sans-serif;
}

/* ========================================
   FEATURES - "Por que jogar aqui?"
   ======================================== */
.ddt-features {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px;
}

.ddt-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ddt-feature-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--ddt-radius-lg);
    background: var(--ddt-white);
    border: 1px solid #F1F5F9;
    transition: all 0.3s ease;
}

.ddt-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(74, 144, 217, 0.1);
    border-color: #E2E8F0;
}

.ddt-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.ddt-feature-icon svg {
    width: 26px;
    height: 26px;
}

.ddt-feature-icon--blue { background: #EFF6FF; color: var(--ddt-blue); }
.ddt-feature-icon--orange { background: #FFF7ED; color: var(--ddt-orange); }
.ddt-feature-icon--green { background: #ECFDF5; color: var(--ddt-green); }
.ddt-feature-icon--pink { background: #FDF2F8; color: var(--ddt-pink); }

.ddt-feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--ddt-text);
    margin: 0 0 8px 0;
    font-family: 'Nunito', sans-serif;
}

.ddt-feature-card p {
    font-size: 14px;
    color: var(--ddt-text-muted);
    margin: 0;
    line-height: 1.6;
    font-family: 'Nunito', sans-serif;
}

/* ========================================
   SERVERS
   ======================================== */
.ddt-servers {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.ddt-servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.ddt-server-card {
    background: var(--ddt-white);
    border: 2px solid #E2E8F0;
    border-radius: var(--ddt-radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ddt-server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.ddt-server-card--online::before {
    background: linear-gradient(90deg, var(--ddt-green), #34D399);
}

.ddt-server-card--offline::before {
    background: linear-gradient(90deg, #EF4444, #F87171);
}

.ddt-server-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.ddt-server-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 16px;
}

.ddt-server-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: relative;
}

.ddt-server-dot--online {
    background: var(--ddt-green);
}

.ddt-server-dot--online::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--ddt-green-glow);
    animation: pulse 2s ease-in-out infinite;
}

.ddt-server-dot--offline {
    background: #EF4444;
}

.ddt-server-status-text {
    font-size: 13px;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ddt-server-status-text--online { color: var(--ddt-green); }
.ddt-server-status-text--offline { color: #EF4444; }

.ddt-server-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--ddt-text);
    margin: 0 0 20px 0;
    font-family: 'Nunito', sans-serif;
}

.ddt-btn-play-server {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--ddt-blue) 0%, #3B7DD8 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(74, 144, 217, 0.3);
}

.ddt-server-card--offline .ddt-btn-play-server {
    background: #E2E8F0;
    color: #94A3B8;
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
}

.ddt-btn-play-server:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 217, 0.4);
}

.ddt-servers-empty {
    text-align: center;
    color: var(--ddt-text-muted);
    font-family: 'Nunito', sans-serif;
    grid-column: 1 / -1;
    padding: 40px 0;
}

/* ========================================
   CTA SECTION (guests only)
   ======================================== */
.ddt-cta {
    background: linear-gradient(135deg, var(--ddt-blue) 0%, #3B7DD8 50%, var(--ddt-purple) 100%);
    padding: 80px 24px;
    text-align: center;
}

.ddt-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.ddt-cta-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px 0;
    font-family: 'Nunito', sans-serif;
}

.ddt-cta-text {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 32px 0;
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
}

.ddt-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.ddt-btn-cta {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s ease;
}

.ddt-btn-cta--primary {
    background: #fff;
    color: var(--ddt-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.ddt-btn-cta--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.ddt-btn-cta--secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.ddt-btn-cta--secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ========================================
   FOOTER
   ======================================== */
.ddt-footer {
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    padding: 60px 24px 32px;
}

.ddt-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.ddt-footer-brand {
    text-align: center;
    margin-bottom: 40px;
}

.ddt-footer-logo {
    display: inline-block;
    margin-bottom: 12px;
}

.ddt-footer-logo img {
    height: 48px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.ddt-footer-logo:hover img {
    opacity: 1;
}

.ddt-footer-desc {
    font-size: 14px;
    color: var(--ddt-text-muted);
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
    font-family: 'Nunito', sans-serif;
}

.ddt-footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.ddt-footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--ddt-text);
    margin: 0 0 12px 0;
    font-family: 'Nunito', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ddt-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ddt-footer-col li {
    margin-bottom: 8px;
}

.ddt-footer-col a {
    font-size: 14px;
    color: var(--ddt-text-muted);
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    transition: color 0.2s ease;
}

.ddt-footer-col a:hover {
    color: var(--ddt-blue);
}

.ddt-footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.ddt-footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    transition: all 0.2s ease;
}

.ddt-footer-social a:hover {
    background: var(--ddt-blue);
    color: #fff;
    transform: translateY(-2px);
}

.ddt-footer-social svg {
    width: 18px;
    height: 18px;
}

.ddt-footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #E2E8F0;
}

.ddt-footer-bottom p {
    font-size: 13px;
    color: #94A3B8;
    margin: 0 0 4px 0;
    font-family: 'Nunito', sans-serif;
}

.ddt-footer-disclaimer {
    font-size: 12px !important;
    color: #CBD5E1 !important;
}

/* ========================================
   LOGIN MODAL
   ======================================== */
.login-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.25s ease;
}

.login-modal {
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px 32px;
    width: 100%;
    max-width: 420px;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

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

@keyframes slideUp {
    from { transform: translateY(20px) scale(0.97); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.login-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #94A3B8;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.login-modal-close:hover {
    background: #FEF2F2;
    color: #EF4444;
    transform: rotate(90deg);
}

.login-modal-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--ddt-text);
    margin: 0 0 6px 0;
    font-family: 'Nunito', sans-serif;
}

.login-modal-subtitle {
    font-size: 15px;
    color: var(--ddt-text-muted);
    margin: 0 0 28px 0;
    font-family: 'Nunito', sans-serif;
}

.login-modal-errors {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #DC2626;
    font-size: 14px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
}

.login-modal-errors p { margin: 0; }

.login-modal-field {
    margin-bottom: 16px;
}

.login-modal-field input {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    color: var(--ddt-text);
    background: #F8FAFC;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
    font-family: 'Nunito', sans-serif;
}

.login-modal-field input::placeholder {
    color: #94A3B8;
}

.login-modal-field input:focus {
    border-color: var(--ddt-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(74, 144, 217, 0.1);
}

.login-modal-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    font-size: 13px;
}

.login-modal-options label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--ddt-text-muted);
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
}

.login-modal-options input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--ddt-blue);
}

.login-modal-options a {
    color: var(--ddt-blue);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
}

.login-modal-options a:hover {
    text-decoration: underline;
}

.login-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-modal-login {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    color: #fff;
    background: linear-gradient(135deg, var(--ddt-blue) 0%, #3B7DD8 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 217, 0.3);
}

.btn-modal-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 217, 0.4);
}

.btn-modal-register {
    display: block;
    text-align: center;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    color: var(--ddt-blue);
    background: transparent;
    border: 2px solid var(--ddt-blue);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-modal-register:hover {
    background: rgba(74, 144, 217, 0.05);
    transform: translateY(-1px);
}

/* ========================================
   REGISTER PAGE
   ======================================== */
.ddt-register-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
}

.ddt-register-card {
    width: 100%;
    max-width: 440px;
    background: var(--ddt-white);
    border-radius: 20px;
    padding: 40px 36px 32px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.ddt-register-header {
    text-align: center;
    margin-bottom: 32px;
}

.ddt-register-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--ddt-text);
    margin: 0 0 6px 0;
    font-family: 'Nunito', sans-serif;
}

.ddt-register-subtitle {
    font-size: 15px;
    color: var(--ddt-text-muted);
    margin: 0;
    font-family: 'Nunito', sans-serif;
}

.ddt-register-errors {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #DC2626;
    font-size: 14px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
}

.ddt-register-errors p { margin: 0; }

.ddt-register-success {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #059669;
    font-size: 14px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
}

.ddt-register-success p { margin: 0; }

.ddt-register-field {
    margin-bottom: 18px;
}

.ddt-register-field label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--ddt-text);
    margin-bottom: 6px;
    font-family: 'Nunito', sans-serif;
}

.ddt-register-field input {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    color: var(--ddt-text);
    background: #F8FAFC;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
    font-family: 'Nunito', sans-serif;
}

.ddt-register-field input::placeholder {
    color: #94A3B8;
}

.ddt-register-field input:focus {
    border-color: var(--ddt-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(74, 144, 217, 0.1);
}

.ddt-register-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    color: #fff;
    background: linear-gradient(135deg, var(--ddt-blue) 0%, #3B7DD8 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 217, 0.3);
}

.ddt-register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 217, 0.4);
}

.ddt-register-btn:active {
    transform: translateY(0);
}

.ddt-register-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #F1F5F9;
}

.ddt-register-footer p {
    font-size: 14px;
    color: var(--ddt-text-muted);
    font-family: 'Nunito', sans-serif;
    margin: 0;
}

.ddt-register-footer a {
    color: var(--ddt-blue);
    text-decoration: none;
    font-weight: 700;
}

.ddt-register-footer a:hover {
    text-decoration: underline;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .ddt-nav-links {
        display: none;
    }

    .ddt-nav {
        padding: 0 16px;
    }

    .ddt-nav-logo img {
        height: 32px;
    }

    .ddt-hero {
        min-height: 500px;
    }

    .ddt-hero-logo img {
        height: 130px;
    }

    .ddt-btn-play {
        padding: 14px 40px;
        font-size: 16px;
    }

    .ddt-status-badge {
        font-size: 12px;
        padding: 8px 16px;
    }

    .ddt-features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ddt-servers-grid {
        grid-template-columns: 1fr;
    }

    .ddt-footer-links-group {
        grid-template-columns: 1fr 1fr;
    }

    .login-modal {
        margin: 16px;
        padding: 32px 24px 28px;
    }

    .ddt-register-card {
        padding: 32px 24px 28px;
    }
}

@media (max-width: 480px) {
    .ddt-hero-logo img {
        height: 100px;
    }

    .ddt-btn-play {
        padding: 12px 32px;
        font-size: 15px;
    }

    .ddt-btn-enter {
        padding: 8px 20px;
        font-size: 13px;
    }

    .ddt-features-grid {
        grid-template-columns: 1fr;
    }

    .ddt-cta-buttons {
        flex-direction: column;
    }

    .ddt-footer-links-group {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ========================================
   ACCESSIBILITY - Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
