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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: #000000;
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Starfield Background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Animated Background Gradient Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(107, 70, 193, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(147, 51, 234, 0.15) 0%, transparent 50%);
    animation: bgShift 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes bgShift {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.6; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(20px);
    padding: 0.8rem 1.5rem;
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    max-width: 600px;
    width: 90%;
}

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

.nav-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.product-name {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.nav-right {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    font-weight: 400;
}

.nav-link:hover {
    color: white;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem;
}

.content-section {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.content-section.hidden {
    display: none;
}

/* Logo Container */
.logo-container {
    margin-bottom: 3rem;
}

.sora-logo-img {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3)) brightness(0) invert(1);
}

.sora-logo-img.pulse {
    animation: pulse 2s ease-in-out infinite;
}

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

.title {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    display: none; /* Hidden since logo contains text */
}

.subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Buttons */
.cta-button {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Loading State */
.loading-container {
    background: rgba(20, 10, 40, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 3rem 2rem;
    margin: 0 auto;
    max-width: 600px;
}

.code-display {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 0.5em;
    margin-bottom: 2rem;
    font-family: 'Courier New', monospace;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #A78BFA, #EC4899);
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
}

.loading-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* Result State */
.result-container {
    background: rgba(20, 10, 40, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 3rem 2rem;
    margin: 0 auto;
    max-width: 600px;
}

.result-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.code-result {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    margin-bottom: 2.5rem;
    font-family: 'Courier New', monospace;
    color: white;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.unlock-button {
    background: linear-gradient(135deg, #A78BFA, #EC4899);
    border: none;
    color: white;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.4);
    width: 100%;
    max-width: 400px;
}

.unlock-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(236, 72, 153, 0.6);
}

.disclaimer {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 3rem;
    }
    
    .nav-right {
        display: none;
    }
    
    .code-display,
    .code-result {
        font-size: 2rem;
        letter-spacing: 0.3em;
    }
    
    .loading-container,
    .result-container {
        padding: 2rem 1.5rem;
    }
}



/* Codes Counter */
.codes-counter {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 1.5rem 0 2rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.counter-icon {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

#codes-remaining {
    font-weight: 600;
    color: #A78BFA;
    font-size: 1.1rem;
}



/* Footer */
.footer {
    position: relative;
    z-index: 10;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 15, 0.5);
    backdrop-filter: blur(10px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #A78BFA;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.4);
}

