/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: #ffffff;
    color: #2a2a33;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background */
.background-container {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image: url('curtain-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.background-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.65) 50%, rgba(255, 255, 255, 0.75) 100%);
}

.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(30, 118, 217, 0.4);
    animation: float-particle 8s ease-in-out infinite;
}

@keyframes float-particle {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }

    25% {
        transform: translate(10px, -20px) scale(1.2);
        opacity: 0.6;
    }

    50% {
        transform: translate(-10px, -40px) scale(0.9);
        opacity: 0.4;
    }

    75% {
        transform: translate(15px, -25px) scale(1.1);
        opacity: 0.5;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(30, 118, 217, 0.2);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-blue {
    color: #1e76d9;
}

.logo-purple {
    color: #581c87;
}

.social-media {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-label {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 10;
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.hero-section {
    text-align: center;
    max-width: 80rem;
    margin: 0 auto 6rem;
}

.visitor-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(30, 118, 217, 0.9);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.main-title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.title-primary {
    background: linear-gradient(135deg, #1e76d9 0%, #3b92e8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-accent {
    color: #2d9762;
}

.coming-soon-section {
    margin: 2rem 0;
}

.coming-soon-text {
    font-size: 1.5rem;
    color: #2a2a33;
    max-width: 48rem;
    margin: 0 auto 2rem;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border: 2px solid rgba(30, 118, 217, 0.5);
    background: rgba(30, 118, 217, 0.1);
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(30, 118, 217, 0.16);
}

.highlight-red {
    color: #dc2626;
    font-weight: 700;
    animation: pulse 2s infinite;
}

.highlight-gradient {
    background: linear-gradient(135deg, #1e76d9 0%, #3b92e8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 0 1rem;
}

.clock-icon {
    color: #1e76d9;
    animation: clock-tick 2s ease-in-out infinite;
}

@keyframes clock-tick {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    25% {
        transform: rotate(-15deg) scale(1.15);
    }

    75% {
        transform: rotate(15deg) scale(1.15);
    }
}

.countdown {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    padding: 1.5rem 3rem;
    border-radius: 1rem;
    border: 2px solid rgba(30, 118, 217, 0.4);
    box-shadow: 0 8px 32px rgba(30, 118, 217, 0.16);
}

.countdown-item {
    text-align: center;
    min-width: 80px;
}

.countdown-value {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e76d9 0%, #3b92e8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin: 0;
}

.countdown-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 600;
    margin-top: 0.5rem;
}

.countdown-colon {
    font-size: 3rem;
    font-weight: 700;
    color: #1e76d9;
    animation: blink 1s ease-in-out infinite;
    line-height: 1;
    align-self: center;
    padding-bottom: 1.5rem;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.tagline {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 48rem;
    margin: 2rem auto;
    line-height: 1.7;
    padding: 0 1rem;
}

.highlight {
    color: #1e76d9;
    font-weight: 600;
}

.highlight-bold {
    color: #1e76d9;
    font-weight: 700;
    font-size: 1.5rem;
}

.prelaunch-banner {
    margin: 3rem auto 0;
    max-width: 64rem;
    padding: 0 1rem;
}

.prelaunch-content {
    position: relative;
    background: linear-gradient(90deg, rgba(45, 151, 98, 0.4) 0%, rgba(220, 38, 38, 0.4) 50%, rgba(45, 151, 98, 0.4) 100%);
    border: 2px solid rgba(45, 151, 98, 0.7);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(30, 118, 217, 0.16);
}

.prelaunch-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(45, 151, 98, 0.2) 0%, rgba(220, 38, 38, 0.2) 50%, rgba(45, 151, 98, 0.2) 100%);
    animation: pulse 2s infinite;
    border-radius: 1.5rem;
}

.prelaunch-title {
    position: relative;
    z-index: 10;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    background: linear-gradient(135deg, #1e76d9 0%, #3b92e8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.prelaunch-subtitle {
    position: relative;
    z-index: 10;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    color: #2a2a33;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    margin-bottom: 1rem;
}

.contest-badge {
    background: rgba(220, 38, 38, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    color: #dc2626;
}

.offer-badge {
    color: #2d9762;
    background: rgba(45, 151, 98, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
}

.prelaunch-info {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #2a2a33;
    font-weight: 600;
}

/* Orbs Section */
.orbs-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.featured-orb {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    height: 16rem;
    border-radius: 1.5rem;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: linear-gradient(135deg, rgba(30, 118, 217, 0.15) 0%, rgba(30, 118, 217, 0.25) 100%);
    border: 2px solid rgba(30, 118, 217, 0.3);
    transition: all 0.5s;
}

.featured-orb:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(30, 118, 217, 0.16);
}

.featured-orb:active {
    transform: scale(0.95);
}

.orb-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 118, 217, 0.1) 0%, transparent 50%, rgba(45, 151, 98, 0.1) 100%);
    transition: all 0.5s;
}

.featured-orb:hover .orb-glow {
    background: linear-gradient(135deg, rgba(30, 118, 217, 0.2) 0%, transparent 50%, rgba(45, 151, 98, 0.2) 100%);
}

.orb-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.orb-icon {
    color: #1e76d9;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.featured-orb:hover .orb-icon {
    transform: scale(1.1);
}

.orb-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e76d9 0%, #3b92e8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.orb-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: #7f1d1d;
}

.orbs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

.orb {
    position: relative;
    aspect-ratio: 1;
    border-radius: 1.5rem;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.5s;
    border: 2px solid;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.2) 100%);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.orb:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 32px rgba(30, 118, 217, 0.16);
}

.orb:active {
    transform: scale(0.95);
}

.orb-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(37, 99, 235, 0.3) 100%);
    border-color: rgba(59, 130, 246, 0.5);
}

.orb-yellow {
    background: linear-gradient(135deg, rgba(45, 151, 98, 0.3) 0%, rgba(34, 197, 94, 0.3) 100%);
    border-color: rgba(45, 151, 98, 0.5);
}

.orb-purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3) 0%, rgba(147, 51, 234, 0.3) 100%);
    border-color: rgba(168, 85, 247, 0.5);
}

.orb-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3) 0%, rgba(5, 150, 105, 0.3) 100%);
    border-color: rgba(16, 185, 129, 0.5);
}

.orb-icon-wrapper {
    position: relative;
}

.orb-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(30, 118, 217, 0.3);
    filter: blur(48px);
    border-radius: 50%;
    transition: all 0.5s;
}

.orb:hover .orb-icon-wrapper::before {
    filter: blur(64px);
}

.orb-icon-small {
    position: relative;
    z-index: 10;
    color: #1e76d9;
    filter: drop-shadow(0 2px 8px rgba(30, 118, 217, 0.5));
    transition: transform 0.5s;
}

.orb:hover .orb-icon-small {
    transform: scale(1.1);
}

.orb-text {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding: 0 0.5rem;
}

.orb-title-small {
    font-size: 1.25rem;
    color: #2a2a33;
    font-weight: 700;
    line-height: 1.3;
}

.orb-subtitle-small {
    font-size: 0.875rem;
    line-height: 1.4;
    color: rgba(42, 42, 51, 0.8);
    font-weight: 500;
}

/* Footer */
.footer {
    position: relative;
    z-index: 10;
    margin-top: 8rem;
}

.footer-main {
    border-top: 1px solid rgba(30, 118, 217, 0.2);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    padding: 2.5rem 0;
}

.footer-content {
    text-align: center;
}

.footer-title {
    color: #1e76d9;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-copyright {
    color: #6b7280;
    font-size: 1rem;
}

.footer-contest {
    background: linear-gradient(90deg, #dc2626 0%, #ef4444 100%);
    padding: 1.25rem 0;
}

.contest-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: white;
    font-weight: 600;
    text-align: center;
}

.contest-banner svg {
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    border-radius: 1rem;
    max-width: 32rem;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #6b7280;
    line-height: 1;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #dc2626;
}

.modal-content h2 {
    color: #1e76d9;
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.modal-content p {
    color: #4b5563;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.modal-content form {
    margin-top: 1.5rem;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-family: inherit;
}

.modal-content button[type="submit"] {
    width: 100%;
    background: linear-gradient(135deg, #1e76d9 0%, #3b92e8 100%);
    color: white;
    padding: 0.875rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.modal-content button[type="submit"]:hover {
    transform: scale(1.02);
}

.modal-content button[type="submit"]:active {
    transform: scale(0.98);
}

/* Responsive */
@media (max-width: 768px) {
    .social-label {
        display: none;
    }

    .main-title {
        font-size: 3rem;
    }

    .coming-soon-text {
        font-size: 1.125rem;
    }

    .countdown {
        padding: 1rem 2rem;
        gap: 1rem;
    }

    .countdown-item {
        min-width: 60px;
    }

    .countdown-value {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 0.75rem;
    }

    .countdown-colon {
        font-size: 2rem;
    }

    .prelaunch-title {
        font-size: 1.5rem;
    }

    .prelaunch-subtitle {
        font-size: 1rem;
    }

    .orbs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .orb {
        padding: 1.5rem;
    }

    .orb-title-small {
        font-size: 1rem;
    }

    .orb-subtitle-small {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2.5rem;
    }

    .countdown-container {
        flex-direction: column;
        gap: 1rem;
    }

    .clock-icon {
        width: 28px;
        height: 28px;
    }

    .orb-icon-small {
        width: 48px;
        height: 48px;
    }
}

/* Base grid for larger screens */
.orbs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Orb styling */
.orb {
    cursor: pointer;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.2s;
}

.orb:hover {
    transform: scale(1.05);
}

/* Mobile view: one box per row */
@media (max-width: 768px) {
    .orbs-grid {
        grid-template-columns: 1fr;
        /* One column */
        gap: 15px;
        /* optional spacing */
    }

    .orb {
        width: 100%;
        /* Full width */
    }
}