/* CSS Custom Properties */
:root {
    --neon-orange: #f26b29;
    --neon-pink: #ff0080;
    --deep-purple: #0a0a1a;
    --dark-blue: #1a1a2e;
    --matrix-green: #00ff41;
    --hologram-blue: rgba(0, 243, 255, 0.15);
    --accent-gold: #ffd700;
    --black: #000000;
    --white: #ffffff;

    /* Gradients */
    --tech-gradient: linear-gradient(135deg, #1a100a 0%, #2e231a 50%, #442909 100%);
    --hologram-gradient: radial-gradient(circle at 50% 50%,
            rgba(255, 128, 0, 0.2) 0%,
            rgba(68, 45, 9, 0.8) 70%);

    /* Shadows */
    --neon-shadow: 0 0 20px rgba(255, 136, 0, 0.5);
    --text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);

    /* Fonts */
    --font-primary: 'Orbitron', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: var(--font-primary);
    background: var(--tech-gradient);
    color: white;
    position: relative;
}

/* Circuit Board Overlay */
.circuit-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.circuit-group {
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.7;
    }
}

/* Matrix Rain Background */
.matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.2;
    pointer-events: none;
}

/* Main Container */
.container {
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 10;
}

/* Loading Screen Styles */
.loading-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    padding: 0;
}

.loading-screen.active {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 600px;
    padding: 2rem;
}

.tech-logo {
    margin-bottom: 3rem;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--neon-cyan);
    text-shadow: var(--neon-shadow);
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.logo-subtitle {
    font-family: var(--font-mono);
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
}

.cpu-visualization {
    margin-bottom: 2rem;
}

.cpu-cores {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.cpu-core {
    height: 40px;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.core-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-orange));
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(242, 103, 34, 0.5);
}

.loading-percentage {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--neon-cyan);
    text-shadow: var(--neon-shadow);
    margin-bottom: 1rem;
}

.loading-status {
    font-family: var(--font-mono);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
}

.progress-container {
    display: block;
    width: 100%;
    margin-top: 2rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(0, 243, 255, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-orange), var(--neon-pink));
    width: 0%;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    transition: width 0.1s ease;
}

/* Countdown Section Styles */
.countdown-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--neon-orange), var(--black));
    opacity: 0;
    visibility: hidden;
    z-index: 900;
}

.countdown-container {
    text-align: center;
}

.hero-img {
    width: 100%;
    height: 30vh;
}

.countdown-number {
    font-size: clamp(10rem, 30vw, 25rem);
    font-weight: 900;
    color: var(--neon-cyan);
    text-shadow: var(--neon-shadow);
    line-height: 0.8;
    transform: scale(0);
}

.countdown-text {
    font-family: var(--font-mono);
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 3px;
    margin-top: 2rem;
}

/* Main Content Styles */
.main-content {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    z-index: 800;
}

.announcement-text {
    text-align: center;
    margin-bottom: 3rem;
}

.opening-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    color: var(--neon-cyan);
    text-shadow: var(--neon-shadow);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    transform: translateY(50px);
    opacity: 0;
}

.subtitle {
    font-family: var(--font-mono);
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    transform: translateY(30px);
    opacity: 0;
}

/* Holographic Poster Styles */
.holographic-poster {
    background: var(--hologram-gradient);
    backdrop-filter: blur(15px);
    border: 2px solid var(--neon-cyan);
    border-radius: 20px;
    padding: 3rem;
    max-width: 700px;
    width: 90%;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 50px rgba(0, 243, 255, 0.3),
        inset 0 0 50px rgba(0, 243, 255, 0.1);
    transform: translateY(50px);
    opacity: 0;
}

.holographic-poster::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent 0deg,
            var(--neon-cyan) 40deg,
            transparent 80deg,
            var(--neon-pink) 120deg,
            transparent 160deg,
            var(--neon-cyan) 200deg,
            transparent 240deg);
    animation: hologram-rotate 8s linear infinite;
    opacity: 0.1;
    z-index: -1;
}

@keyframes hologram-rotate {
    100% {
        transform: rotate(360deg);
    }
}

.poster-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 243, 255, 0.3);
    padding-bottom: 1.5rem;
}

.brand-name {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--neon-cyan);
    text-shadow: var(--neon-shadow);
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.tagline {
    font-family: var(--font-mono);
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    color: var(--accent-gold);
    letter-spacing: 2px;
}

.poster-content {
    margin-bottom: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-item {
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.2);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-text {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
}

.launch-date {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(0, 243, 255, 0.3);
}

.date-label {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.date-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.poster-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 243, 255, 0.3);
}

.social-links {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
}

/* Particle System Container */
#tsparticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 500;
    pointer-events: none;
}

/* Confetti Container */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1500;
    pointer-events: none;
}

.confetti-particle {
    position: absolute;
    width: 12px;
    height: 12px;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cpu-cores {
        grid-template-columns: repeat(2, 1fr);
        max-width: 200px;
    }

    .holographic-poster {
        padding: 2rem 1.5rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-item {
        padding: 1rem;
    }
}

@media (max-width: 480px) {

    .loading-content {
        padding: 1rem;
    }

    .holographic-poster {
        padding: 1.5rem 1rem;
    }

    .cpu-cores {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .cpu-core {
        height: 30px;
    }

    .progress-container {
        width: 42%;
    }

    .logo-image {
        width: 80vw;
        height: auto;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scale-in {
    animation: scaleIn 0.8s ease-out forwards;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

/* Quantum Effect for Special Elements */
.quantum-effect {
    position: relative;
}

.quantum-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 48%, var(--neon-cyan) 50%, transparent 52%);
    opacity: 0;
    animation: quantum-scan 3s ease-in-out infinite;
}

@keyframes quantum-scan {

    0%,
    100% {
        opacity: 0;
        transform: translateX(-100%);
    }

    50% {
        opacity: 0.3;
        transform: translateX(100%);
    }
}

/* Stars Background */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.stars,
.stars2,
.stars3 {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
}

.stars {
    background-image:
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, #ddd, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: zoom 20s infinite;
}

.stars2 {
    background-image:
        radial-gradient(1px 1px at 50px 50px, #fff, transparent),
        radial-gradient(2px 2px at 110px 20px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 170px 90px, #eee, transparent);
    background-repeat: repeat;
    background-size: 250px 120px;
    animation: zoom 25s infinite;
}

.stars3 {
    background-image:
        radial-gradient(1px 1px at 75px 25px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(2px 2px at 125px 75px, #fff, transparent);
    background-repeat: repeat;
    background-size: 300px 150px;
    animation: zoom 30s infinite;
}

@keyframes zoom {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Space Theme Main Content */
.main-content.space-theme {
    background: linear-gradient(135deg,
            #0a060582 0%,
            #0a060582 25%,
            #0a060582 50%,
            #0a060582 75%,
            #0a060582 100%);
    position: relative;
    overflow: hidden;
}

/* Hide circuit and matrix for space theme */
.main-content.space-theme~.circuit-overlay,
.main-content.space-theme~.matrix-canvas {
    opacity: 0;
    transition: opacity 1s ease;
}

/* Cosmic Planet */
.cosmic-planet {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(300px, 50vw, 600px);
    height: clamp(300px, 50vw, 600px);
    z-index: 2;
}

.planet-surface {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
            rgb(201 112 22 / 80%) 0%,
            rgb(206 135 0 / 60%) 40%, 
            rgb(112 69 25 / 80%) 70%, 
            rgba(0, 0, 0, 0.9) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    object-fit: contain;
}

.planet-surface .logo-image {
    width: 95%;
    height: auto;
}

.planet-surface::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 25% 25%,
            transparent 20%,
            rgba(0, 0, 0, 0.3) 60%);
    border-radius: 50%;
}

.planet-atmosphere {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(circle,
            transparent 70%,
            rgba(250, 187, 135, 0.3) 80%,
            rgba(255, 182, 193, 0.2) 90%,
            transparent 100%);
    animation: rotate 20s linear infinite;
}

.planet-glow {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    border-radius: 50%;
    background: radial-gradient(circle,
            transparent 60%,
            rgba(250, 187, 135, 0.1) 70%,
            rgba(255, 182, 193, 0.1) 80%,
            transparent 90%);
    animation: pulse-glow 6s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Space Content */
.space-content {
    min-height: 100vh;
    position: absolute;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.space-text-container {
    margin-bottom: 3rem;
}

.space-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(0.8rem, 2vw, 1rem);
    font-weight: 300;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.space-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: 8px;
    color: #ffffff;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(135, 206, 250, 0.3),
        0 0 30px rgba(255, 182, 193, 0.2);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.space-description {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    margin-bottom: 10rem;
}

/* Cosmic Progress Bar */
.cosmic-progress-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;;
    margin-bottom: 3rem;
}

.cosmic-progress-bar {
    width: 100%;
    max-width: 400px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 0 auto 1rem;
    overflow: hidden;
    position: relative;
}

.cosmic-progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(135, 206, 250, 0.3) 50%,
            transparent 100%);
    animation: progress-shimmer 2s ease-in-out infinite;
}

.cosmic-progress-fill {
    height: 100%;
    background: linear-gradient(90deg,
            #87ceeb 0%,
            #ffb6c1 50%,
            #87ceeb 100%);
    width: 42%;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(135, 206, 250, 0.6);
    animation: cosmic-pulse 3s ease-in-out infinite;
}

@keyframes progress-shimmer {

    0%,
    100% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(100%);
    }
}

@keyframes cosmic-pulse {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(135, 206, 250, 0.6);
    }

    50% {
        box-shadow: 0 0 20px rgba(135, 206, 250, 0.9);
    }
}

.progress-percentage {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 500;
    color: #87ceeb;
    text-shadow: 0 0 10px rgba(135, 206, 250, 0.5);
}

/* Notification Area */
.notification-area {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.notify-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.email-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.space-email-input {
    flex: 1;
    min-width: 200px;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.space-email-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.space-email-input:focus {
    outline: none;
    border-color: #87ceeb;
    box-shadow: 0 0 15px rgba(135, 206, 250, 0.3);
}

.space-notify-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #87ceeb, #ffb6c1);
    border: none;
    border-radius: 8px;
    color: #0a0e27;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.space-notify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(135, 206, 250, 0.4);
}

.evolved{
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.evolved::before{
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(20px);
}

.evolved-content{
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 600px;
    padding: 2rem;
    gap: 1rem;
}

.evolved-title{
    width: auto;
    height: 30vh;;
}

.evolved-logo{
    width: auto;
    height: 10vh;
}

/* Floating Particles */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.floating-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0;
    }

    50% {
        transform: translateY(-50px) translateX(20px);
        opacity: 1;
    }
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .cosmic-planet {
        width: clamp(250px, 60vw, 400px);
        height: clamp(250px, 60vw, 400px);
    }

    .space-content {
        padding: 1rem;
    }

    .email-container {
        flex-direction: column;
    }

    .space-email-input {
        min-width: auto;
    }

    .notification-area {
        padding: 1.5rem;
    }

    .logo-image {
        width: 80vw;
        height: auto;
    }

    .cosmic-progress-container{
        max-width: 50vw;;
    }
}

@media (max-width: 480px) {
    .cosmic-planet {
        width: clamp(200px, 70vw, 300px);
        height: clamp(200px, 70vw, 300px);
    }

    .space-title {
        letter-spacing: 4px;
    }

    .space-subtitle {
        letter-spacing: 2px;
    }

    .evolved-title{
        width: 80vw;
        height: auto;
    }

    .evolved-logo{
        width: 80vw;
        height: auto;
    }

}