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

:root {
    --red-50: #fff1f2;
    --red-100: #ffe4e6;
    --red-200: #fecdd3;
    --red-300: #fda4af;
    --red-400: #fb7185;
    --red-500: #f43f5e;
    --red-600: #e11d48;
    --red-700: #be123c;
    --red-800: #9f1239;
    --red-950: #4c0519;

    --primary: #dc2626;
    --primary-dark: #b91c1c;
    --primary-light: #ef4444;
    --secondary: #991b1b;
    --accent: #f43f5e;
    
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-surface: #111111;
    --bg-surface-light: #1a1a1a;
    --bg-overlay: rgba(17, 17, 17, 0.95);
    
    --text-primary: #fafafa;
    --text-secondary: #d4d4d4;
    --text-muted: #a3a3a3;
    --text-disabled: #737373;
    
    --border-dark: #262626;
    --border-light: #404040;
    --border-red: rgba(220, 38, 38, 0.3);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.7);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.8);
    --shadow-red: 0 0 30px rgba(220, 38, 38, 0.4);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-darker);
    color: var(--text-primary);
    min-height: 100vh;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent horizontal scroll on all devices */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bg-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
}

.bg-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(153, 27, 27, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(220, 38, 38, 0.05) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.bg-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 148px,
            rgba(220, 38, 38, 0.02) 148px,
            rgba(220, 38, 38, 0.02) 150px,
            transparent 150px,
            transparent 298px
        );
    animation: drift 25s linear infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes drift {
    0% { transform: translateX(0); }
    100% { transform: translateX(298px); }
}

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

@media (max-width: 768px) {
    .container {
        padding: 30px 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 12px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 16px 8px;
    }
}

.form-card {
    background: var(--bg-overlay);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    border: 1px solid var(--border-dark);
    box-shadow: 
        var(--shadow-xl),
        0 0 0 1px rgba(220, 38, 38, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    overflow: hidden;
    position: relative;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--primary) 20%,
        var(--accent) 50%,
        var(--primary) 80%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.card-header {
    padding: 40px 40px 30px;
    text-align: center;
    position: relative;
}

.logo-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
}

.logo-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.main-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    line-height: 1.1;
}

.title-accent {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
}

.main-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 32px;
}

.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 0 auto;
    border-radius: 2px;
}

.form {
    padding: 0 40px 40px;
}

.form-section {
    margin-bottom: 48px;
}

.section-title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), transparent);
    opacity: 0.3;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.form-group label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.label-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.label-icon {
    font-size: 1rem;
    opacity: 0.6;
}

.input-wrapper,
.textarea-wrapper {
    position: relative;
}

.input-wrapper input,
.textarea-wrapper textarea {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-family: inherit;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    position: relative;
    z-index: 1;
}

.textarea-wrapper textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.input-wrapper input::placeholder,
.textarea-wrapper textarea::placeholder {
    color: var(--text-disabled);
}

.input-wrapper input:focus,
.textarea-wrapper textarea:focus {
    background: var(--bg-surface-light);
    border-color: var(--primary);
    box-shadow: 
        0 0 0 3px rgba(220, 38, 38, 0.1),
        0 4px 12px rgba(220, 38, 38, 0.15);
    transform: translateY(-1px);
}

.input-wrapper input:focus + .input-border,
.textarea-wrapper textarea:focus + .input-border {
    opacity: 1;
    transform: scaleX(1);
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 0 0 12px 12px;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.input-hint {
    font-size: 0.75rem;
    color: var(--text-disabled);
    margin-top: 12px;
    font-style: italic;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 12px 0;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-footer {
    margin-top: 56px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 14px;
    padding: 18px 32px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 14px rgba(220, 38, 38, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent
    );
    transition: left 0.6s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(220, 38, 38, 0.5),
        0 0 30px rgba(220, 38, 38, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

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

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

.btn-loader {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.submit-btn.loading .btn-content {
    opacity: 0;
}

.submit-btn.loading .btn-loader {
    display: flex;
}

.loader-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.message {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    font-size: 0.9375rem;
    display: none;
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid;
}

.message.show {
    display: block;
}

.message.success {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    color: #10b981;
}

.message.error {
    background: rgba(239, 68, 68, 0.15);
    border-color: var(--primary);
    color: var(--primary-light);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-header,
    .form {
        padding-left: 24px;
        padding-right: 24px;
    }

    .card-header {
        padding-top: 32px;
        padding-bottom: 24px;
    }

    .main-title {
        font-size: 2.25rem;
    }

    .logo-container {
        width: 64px;
        height: 64px;
        margin-bottom: 20px;
    }

    .logo-icon {
        padding: 10px;
    }

    .form-section {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .card-header {
        padding: 32px 24px 24px;
    }

    .form {
        padding: 0 24px 32px;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .form-section {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 12px;
    }

    .container {
        padding: 12px;
    }

    .form-card {
        border-radius: 16px;
    }

    .card-header {
        padding: 24px 20px 20px;
    }

    .form {
        padding: 0 20px 24px;
    }

    .main-title {
        font-size: 1.875rem;
    }

    .logo-container {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }

    .input-wrapper input,
    .textarea-wrapper textarea {
        padding: 12px 16px;
        font-size: 0.875rem;
    }

    .submit-btn {
        padding: 16px 24px;
        font-size: 0.875rem;
    }

    .section-title {
        font-size: 0.8rem;
        margin-bottom: 24px;
    }

    .form-section {
        margin-bottom: 36px;
    }

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

@media (max-width: 360px) {
    .container {
        padding: 8px;
    }

    .card-header {
        padding: 20px 16px 16px;
    }

    .form {
        padding: 0 16px 20px;
    }

    .main-title {
        font-size: 1.625rem;
    }

    .main-subtitle {
        font-size: 0.9rem;
    }

    .input-wrapper input,
    .textarea-wrapper textarea {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .submit-btn {
        padding: 14px 20px;
        font-size: 0.85rem;
    }
}

.form-section {
    animation: fadeInUp 0.6s ease-out backwards;
}

.form-section:nth-child(1) { animation-delay: 0.1s; }
.form-section:nth-child(2) { animation-delay: 0.2s; }
.form-section:nth-child(3) { animation-delay: 0.3s; }

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

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.show {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: var(--bg-overlay);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    border: 1px solid var(--border-dark);
    box-shadow: 
        var(--shadow-xl),
        0 0 0 1px rgba(220, 38, 38, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 0 60px rgba(220, 38, 38, 0.3);
    max-width: 500px;
    width: 100%;
    overflow: hidden;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--primary) 20%,
        var(--accent) 50%,
        var(--primary) 80%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
}

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

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

.modal-header {
    padding: 28px 28px 20px;
    border-bottom: 1px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.modal-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 8px rgba(220, 38, 38, 0.5));
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--bg-surface);
    color: var(--primary-light);
    transform: rotate(90deg);
}

.modal-body {
    padding: 28px;
}

.modal-message {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
    text-align: center;
}

.modal-footer {
    padding: 20px 28px 28px;
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--border-dark);
}

.modal-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    color: white;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 14px rgba(220, 38, 38, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    min-width: 140px;
}

.modal-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent
    );
    transition: left 0.5s;
}

.modal-btn:hover::before {
    left: 100%;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(220, 38, 38, 0.5),
        0 0 30px rgba(220, 38, 38, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

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

@media (max-width: 768px) {
    .modal {
        padding: 16px;
    }

    .modal-content {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .modal {
        padding: 12px;
    }

    .modal-content {
        border-radius: 16px;
        max-width: 100%;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .modal-header {
        padding-top: 20px;
        padding-bottom: 16px;
    }

    .modal-body {
        padding: 20px 16px;
    }

    .modal-footer {
        padding: 16px;
        padding-bottom: 20px;
    }

    .modal-title {
        font-size: 1.125rem;
        gap: 8px;
    }

    .modal-icon {
        font-size: 1.25rem;
    }

    .modal-message {
        font-size: 0.875rem;
        line-height: 1.6;
    }

    .modal-btn {
        padding: 12px 24px;
        font-size: 0.875rem;
        min-width: 120px;
    }

    .modal-close {
        width: 28px;
        height: 28px;
        font-size: 1.5rem;
    }
}

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1400px;
    padding: 12px 24px;
    z-index: 100;
    background: rgba(18, 18, 18, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-brand .nav-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.nav-brand:hover .nav-logo-img {
    transform: scale(1.05);
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.badge {
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
    line-height: 1;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-wiki {
    background: rgba(220, 38, 38, 0.15);
    color: var(--primary-light);
    border: 1px solid var(--primary);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-wiki:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.4);
}

.btn-login {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.online-status {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    letter-spacing: -0.02em;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        margin-bottom: 16px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
        padding: 0 16px;
    }

    .hero {
        padding: 0 16px;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: #e5e5e5;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-arrow {
    color: var(--primary);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    margin-top: 20px;
    text-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.discover-section {
    position: relative;
    z-index: 2;
    padding: 100px 0;
}

.discover-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border-dark);
}

.discover-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

@media (max-width: 768px) {
    .discover-section {
        padding: 60px 0;
    }

    .discover-content {
        padding: 30px 24px;
        margin: 0 20px;
    }

    .discover-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .discover-text {
        font-size: 1rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .discover-section {
        padding: 40px 0;
    }

    .discover-content {
        padding: 24px 20px;
        margin: 0 16px;
        border-radius: 16px;
    }

    .discover-title {
        font-size: 1.75rem;
        margin-bottom: 16px;
    }

    .discover-text {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }
}

.discover-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.discover-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.discover-text p {
    margin-bottom: 20px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: transparent;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .video-wrapper {
        border-radius: 10px;
    }

    .video-container {
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .video-wrapper {
        border-radius: 8px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    }

    .video-container {
        border-radius: 6px;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.whitelist-hidden {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#whitelist-section:not(.whitelist-hidden) {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInSection 0.6s ease forwards;
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 100vh;
    background: rgba(0,0,0,0.8);
}

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

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10000;
    position: relative;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 24px;
    padding: 80px 20px 40px;
}

.mobile-nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(220, 38, 38, 0.15);
    color: var(--primary);
    transform: translateX(5px);
}

.mobile-btn-login {
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid var(--primary);
    color: var(--primary-light);
    margin-top: 20px;
}

.mobile-btn-login:hover {
    background: var(--primary);
    color: white;
    transform: translateX(0) scale(1.05);
}

/* Navbar Responsive */
@media (max-width: 1024px) {
    .nav-center {
        display: none;
    }
    
    .navbar {
        top: 0;
        width: 100%;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 10px 16px;
    }

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

    .btn-login {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 640px) {
    .navbar {
        padding: 8px 12px;
    }

    .nav-brand .nav-logo-img {
        height: 28px;
    }

    .nav-right {
        gap: 8px;
    }

    .btn-login {
        display: none;
    }

    .mobile-menu-toggle {
        width: 28px;
        height: 28px;
    }

    .mobile-menu-toggle span {
        height: 2.5px;
    }

    .mobile-nav-link {
        font-size: 1.25rem;
        padding: 14px 24px;
    }
}

@media (max-width: 480px) {
    .mobile-menu-content {
        gap: 20px;
        padding: 70px 16px 30px;
    }

    .mobile-nav-link {
        font-size: 1.1rem;
        padding: 12px 20px;
        max-width: 100%;
    }
}

.footer {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-dark);
    padding: 60px 0 20px;
    margin-top: 80px;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 40px;
}

.footer-brand {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.footer-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-text strong {
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #10b981;
    color: #000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 99;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
        margin-top: 60px;
    }

    .footer-content {
        padding: 0 24px;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
        padding-bottom: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 24px;
    }

    .footer-brand {
        min-width: 100%;
        max-width: 100%;
    }

    .footer-title {
        font-size: 1.5rem;
    }

    .footer-text {
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-socials {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 16px;
    }

    .footer-content {
        padding: 0 16px;
    }

    .footer-top {
        gap: 24px;
        padding-bottom: 24px;
    }

    .footer-title {
        font-size: 1.25rem;
        margin-bottom: 16px;
    }

    .footer-text {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .footer-column h4 {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .footer-column a {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }

    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }
}

