@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a1628 0%, #1a2847 50%, #2563eb 100%);
    min-height: 100vh;
    color: #fff;
    position: relative;
    overflow-x: hidden;
}

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
    animation: float 20s infinite;
}

.circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.circle:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
    animation-delay: 5s;
}

.circle:nth-child(3) {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
        opacity: 0.5;
    }
    66% {
        transform: translate(-50px, 50px) scale(0.9);
        opacity: 0.4;
    }
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(59, 130, 246, 0.6);
    border-radius: 50%;
    animation: rise 15s infinite;
}

@keyframes rise {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

header {
    position: relative;
    z-index: 10;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    background: rgba(10, 22, 40, 0.5);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.5em;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #3b82f6;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.home-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.home-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    color: #fff !important;
}

.discord-btn {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.discord-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.5);
    color: #fff !important;
}

.shop-btn {
    background: linear-gradient(135deg, #104bb9 0%, #057996 100%);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(16, 151, 185, 0.3);
}

.shop-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 137, 185, 0.5);
    color: #fff !important;
}

.container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.hero {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3.5em;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1em;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
}

.form-wrapper {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    padding: 50px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.section-title {
    font-size: 1.8em;
    font-weight: 700;
    margin: 40px 0 25px;
    color: #3b82f6;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    padding-bottom: 10px;
}

.section-title:first-child {
    margin-top: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    animation: fadeIn 1s ease-out;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

label {
    display: block;
    color: #e2e8f0;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95em;
}

input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 0.95em;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(30, 41, 59, 1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.radio-group {
    display: flex;
    gap: 15px;
}

.radio-option {
    flex: 1;
    padding: 15px;
    background: rgba(30, 41, 59, 0.5);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.radio-option:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.radio-option input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #3b82f6;
}

.radio-option label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.checkbox-option {
    padding: 12px;
    background: rgba(30, 41, 59, 0.5);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.checkbox-option:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: #3b82f6;
}

.checkbox-option input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #3b82f6;
}

.checkbox-option label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9em;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 30px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
}

.message {
    display: none;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: 1px solid #34d399;
}

.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: 1px solid #f87171;
}

.loading {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.spinner {
    border: 4px solid rgba(59, 130, 246, 0.3);
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-out;
}

.success-modal {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 2px solid rgba(59, 130, 246, 0.5);
    border-radius: 24px;
    padding: 50px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
    animation: modalSlideUp 0.5s ease-out;
    overflow: hidden;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Logo Image Container */
.logo-image-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    position: relative;
    animation: logoZoomIn 0.6s ease-out;
}

@keyframes logoZoomIn {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    50% {
        transform: scale(1.1) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.modal-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(59, 130, 246, 0.5));
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 10px 30px rgba(59, 130, 246, 0.5));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 15px 40px rgba(59, 130, 246, 0.8));
    }
}

.checkmark-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    position: relative;
}

.checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #10b981;
    stroke-miterlimit: 10;
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

.checkmark-circle-line {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #10b981;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: #10b981;
    stroke-width: 3;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #10b981;
    }
}

.success-logo {
    margin: 30px 0;
    animation: logoAppear 0.6s ease-out 1s both;
}

@keyframes logoAppear {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.logo-text {
    font-size: 2.5em;
    font-weight: 900;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.logo-subtitle {
    font-size: 0.9em;
    color: #94a3b8;
    font-weight: 600;
    letter-spacing: 2px;
}

.success-title {
    font-size: 2em;
    font-weight: 800;
    color: #10b981;
    margin: 20px 0 15px;
    animation: titleAppear 0.6s ease-out 1.2s both;
}

@keyframes titleAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-text {
    color: #cbd5e1;
    font-size: 1em;
    margin: 10px 0;
    line-height: 1.6;
    animation: textAppear 0.6s ease-out 1.4s both;
}

@keyframes textAppear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.close-modal-btn {
    margin-top: 30px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    animation: buttonAppear 0.6s ease-out 1.6s both;
}

@keyframes buttonAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
}

.confetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    opacity: 0;
    animation: confettiFall linear forwards;
}

@keyframes confettiFall {
    0% {
        opacity: 1;
        transform: translateY(0) rotateZ(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(600px) rotateZ(720deg);
    }
}

@media (max-width: 968px) {
    .form-grid, .checkbox-group {
        grid-template-columns: 1fr;
    }
    .radio-group {
        flex-direction: column;
    }
    .hero h1 {
        font-size: 2.5em;
    }
    .form-wrapper {
        padding: 30px;
    }
    header {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
    }
    nav {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .nav-btn {
        justify-content: center;
    }
}