* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0aa5fa;
    --secondary-color: #1765f3;
    --dark-bg: #0a0a0a;
    --dark-card: rgba(15, 15, 15, 0.85);
    --dark-card-hover: rgba(20, 20, 20, 0.9);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #707070;
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-dark: linear-gradient(180deg, rgba(10, 10, 10, 0.95), rgba(15, 15, 15, 0.98));
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(10, 165, 250, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#particles-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: radial-gradient(ellipse at top, rgba(10, 165, 250, 0.1), transparent),
                radial-gradient(ellipse at bottom, rgba(23, 101, 243, 0.1), transparent);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--dark-card);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 50px;
    transition: var(--transition);
}

.nav-logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-selector {
    padding: 0.5rem 1rem;
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.language-selector:hover {
    border-color: var(--primary-color);
}

.btn-connect {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-connect:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 2rem 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(10, 165, 250, 0.15), transparent);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(10, 165, 250, 0.1);
    border: 1px solid rgba(10, 165, 250, 0.3);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge i {
    animation: flicker 2s infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: slideUp 1s ease-out;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: slideUp 1.2s ease-out;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: var(--dark-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--dark-card-hover);
    border-color: var(--primary-color);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    animation: fadeIn 1.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--dark-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.stat-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-image {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.floating-card {
    position: absolute;
    padding: 1.5rem;
    background: var(--dark-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.floating-card p {
    font-weight: 600;
    white-space: nowrap;
}

.card-1 {
    top: 10%;
    right: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 45%;
    right: -50px;
    animation-delay: 1s;
}

.card-3 {
    top: 75%;
    right: 50px;
    animation-delay: 2s;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(10, 165, 250, 0.1);
    border: 1px solid rgba(10, 165, 250, 0.3);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features {
    padding: 100px 0;
    background: var(--gradient-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--dark-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotate(5deg) scale(1.1);
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.gallery {
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.gallery-overlay p {
    font-size: 1.2rem;
    font-weight: 600;
}

.server-info {
    padding: 100px 0;
    background: var(--gradient-dark);
}

.server-info-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: center;
}

.server-details {
    padding: 2rem;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(10, 165, 250, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(10, 165, 250, 0.3);
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.status-indicator.online {
    background: #00ff00;
    box-shadow: 0 0 10px #00ff00;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.server-data {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.data-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--dark-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
}

.data-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.data-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.data-value {
    font-size: 1.1rem;
    font-weight: 600;
}

.copy-btn {
    position: absolute;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.copy-btn:hover {
    transform: scale(1.05);
}

.discord-widget {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.1), rgba(88, 101, 242, 0.05));
    border-radius: 12px;
    border: 2px solid rgba(88, 101, 242, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.discord-widget::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.2), transparent);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.discord-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.discord-header i {
    font-size: 1.75rem;
    color: #5865F2;
    animation: float 3s ease-in-out infinite;
}

.discord-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.discord-online-count {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    margin: 1rem 0;
    padding: 1.25rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(88, 101, 242, 0.2);
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border: 2px solid #00ff00;
    border-radius: 50%;
    opacity: 0;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }
    80%, 100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.online-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00ff00, #00cc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    position: relative;
    z-index: 1;
}

.online-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.btn-discord {
    width: 100%;
    background: #5865F2;
    color: white;
    margin-top: 0.75rem;
    position: relative;
    z-index: 1;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
}

.btn-discord:hover {
    background: #4752C4;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

.footer {
    padding: 4rem 0 2rem;
    background: rgba(5, 5, 5, 0.95);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about {
    max-width: 300px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-about p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom i {
    color: #ff0000;
}

.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.whitelist {
    padding: 100px 0;
    background: var(--gradient-dark);
    position: relative;
}

.whitelist::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(10, 165, 250, 0.05), transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(23, 101, 243, 0.05), transparent 50%);
    pointer-events: none;
}

.whitelist-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.whitelist-form {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.95), rgba(20, 20, 20, 0.95));
    backdrop-filter: blur(20px);
    padding: 4rem;
    border-radius: 24px;
    border: 1px solid rgba(10, 165, 250, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 
                0 0 100px rgba(10, 165, 250, 0.1);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.form-progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.form-label i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.required-mark {
    color: #ff6b6b;
    font-weight: 700;
    font-size: 1.1rem;
}

.form-input-wrapper {
    position: relative;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    position: relative;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input:hover,
.form-textarea:hover,
.form-select:hover {
    border-color: rgba(10, 165, 250, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(10, 165, 250, 0.15);
    transform: translateY(-1px);
}

.form-input:valid:not(:placeholder-shown),
.form-textarea:valid:not(:placeholder-shown) {
    border-color: rgba(0, 255, 136, 0.5);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.7;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230aa5fa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 20px;
    padding-right: 3.5rem;
}

.form-select option {
    background: #1a1a1a;
    color: var(--text-primary);
    padding: 1rem;
}

.form-select option:first-child {
    color: rgba(255, 255, 255, 0.5);
}

.char-counter {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 0.25rem;
}

.char-counter.warning {
    color: #ffa500;
}

.char-counter.danger {
    color: #ff4444;
}

.multiselect-wrapper,
.radio-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    cursor: pointer;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.checkbox-label::before,
.radio-label::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    transition: width 0.3s ease;
    z-index: 0;
}

.checkbox-label:hover::before,
.radio-label:hover::before {
    width: 100%;
}

.checkbox-label:hover,
.radio-label:hover {
    border-color: rgba(10, 165, 250, 0.3);
    transform: translateX(3px);
}

.form-checkbox,
.form-radio {
    width: 22px;
    height: 22px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.checkbox-label span,
.radio-label span {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.checkbox-label:has(input:checked),
.radio-label:has(input:checked) {
    background: linear-gradient(135deg, rgba(10, 165, 250, 0.15), rgba(23, 101, 243, 0.15));
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(10, 165, 250, 0.2);
}

.checkbox-label:has(input:checked) span,
.radio-label:has(input:checked) span {
    color: var(--text-primary);
    font-weight: 600;
}

.checkbox-single {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    padding: 1.5rem 1.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.checkbox-single::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.checkbox-single:hover {
    border-color: rgba(10, 165, 250, 0.5);
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.checkbox-single:hover::before {
    opacity: 1;
}

.checkbox-single:has(input:checked) {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(10, 165, 250, 0.1), rgba(23, 101, 243, 0.1));
}

.checkbox-single:has(input:checked)::before {
    opacity: 1;
}

.checkbox-single input {
    width: 22px;
    height: 22px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--primary-color);
}

.checkbox-single span {
    color: var(--text-primary);
    font-size: 0.975rem;
    line-height: 1.6;
}

.checkbox-single:has(input:checked) span {
    font-weight: 500;
}

.whitelist-form button[type="submit"] {
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.whitelist-form button[type="submit"]::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.whitelist-form button[type="submit"]:hover::before {
    width: 300px;
    height: 300px;
}

.whitelist-form button[type="submit"]:active {
    transform: scale(0.98);
}

.form-message {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.95), rgba(20, 20, 20, 0.95));
    backdrop-filter: blur(20px);
    padding: 4rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: fadeInScale 0.5s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.form-message i {
    font-size: 5rem;
    animation: iconPulse 1s ease-in-out;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.form-message.success {
    border-color: rgba(0, 255, 136, 0.3);
}

.form-message.success i {
    color: #00ff88;
    filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.5));
}

.form-message.error {
    border-color: rgba(255, 107, 107, 0.3);
}

.form-message.error i {
    color: #ff6b6b;
    filter: drop-shadow(0 0 20px rgba(255, 107, 107, 0.5));
}

.form-message h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-message p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 500px;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.form-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(10, 165, 250, 0.3), transparent);
    margin: 1.5rem 0;
}

@media (max-width: 768px) {
    .whitelist-form {
        padding: 2.5rem 2rem;
        gap: 1.75rem;
    }

    .multiselect-wrapper,
    .radio-wrapper {
        grid-template-columns: 1fr;
        padding: 1.25rem;
        gap: 0.875rem;
    }

    .checkbox-label,
    .radio-label {
        padding: 0.875rem 1rem;
    }

    .form-label {
        font-size: 0.95rem;
    }

    .form-input,
    .form-textarea,
    .form-select {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }

    .checkbox-single {
        padding: 1.25rem 1.5rem;
    }

    .form-message {
        padding: 3rem 2rem;
    }

    .form-message i {
        font-size: 4rem;
    }

    .form-message h3 {
        font-size: 1.75rem;
    }

    .form-message p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .whitelist-container {
        padding: 0 1rem;
    }

    .whitelist-form {
        padding: 2rem 1.5rem;
    }

    .form-input,
    .form-textarea,
    .form-select {
        padding: 0.875rem 1rem;
    }

    .checkbox-single {
        padding: 1rem 1.25rem;
    }

    .form-message {
        padding: 2.5rem 1.5rem;
    }
}

.field-helper {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.field-helper i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.form-input.error,
.form-textarea.error,
.form-select.error {
    border-color: #ff6b6b;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.error-message {
    color: #ff6b6b;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.error-message i {
    font-size: 1rem;
}

@media (max-width: 1200px) {
    .hero-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--dark-card);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: block;
    }

    .nav-actions {
        display: none;
    }

    .hero {
        padding: 100px 1rem 60px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .server-info-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about {
        max-width: 100%;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .discord-widget {
        padding: 1.25rem;
    }

    .discord-header {
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .discord-header i {
        font-size: 1.5rem;
    }

    .discord-header h3 {
        font-size: 1rem;
    }

    .online-number {
        font-size: 2rem;
    }

    .online-label {
        font-size: 0.75rem;
    }

    .discord-online-count {
        padding: 1rem 0.75rem;
        margin: 0.75rem 0;
    }

    .btn-discord {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .pulse-ring {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .discord-widget {
        padding: 1rem;
    }

    .discord-online-count {
        padding: 0.875rem 0.5rem;
    }

    .online-number {
        font-size: 1.75rem;
    }
}