/* 
  A.D.E. Studio - Global Design System (Screen 1)
*/

:root {
    --bg-dark: #050510;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --purple-glow: #8b5cf6;
    --pink-glow: #ec4899;
    --glass-bg: rgba(15, 15, 30, 0.6);
    --glass-border: rgba(139, 92, 246, 0.3);
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    height: 100vh;
    height: 100dvh; /* For mobile browsers */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* --- Background Logic --- */
.bg-layer {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url('../assets/bg-mobile.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.5s ease;
}

/* Swap to desktop background on larger screens */
@media (min-width: 768px) {
    .bg-layer {
        background-image: url('../assets/bg-desktop.webp');
    }
}

/* --- The Full Screen Glass Pane --- */
.glass-pane {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    /* Subtle inner glow to separate from the background */
    box-shadow: inset 0 0 100px rgba(139, 92, 246, 0.1);
    background: radial-gradient(circle at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 100%);
}

/* --- Logo --- */
.logo-container {
    width: 140px;
    height: 140px;
    margin-bottom: 2rem;
    animation: float 6s ease-in-out infinite;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --- Typography --- */
.welcome-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
    letter-spacing: -0.5px;
}

.prompt-text {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    text-align: center;
}

/* --- Input Field --- */
.input-group {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin-bottom: 1.5rem;
}

#entry-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--glass-border);
    border-radius: 50px;
    padding: 1rem 3rem 1rem 1.5rem;
    color: var(--text-main);
    font-size: 1.1rem;
    font-family: var(--font-sans);
    text-align: center; /* Centered as requested */
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

#entry-input:focus {
    border-color: var(--purple-glow);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4), inset 0 0 10px rgba(0,0,0,0.5);
}

/* The icon on the right side of the input */
.input-icon {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* --- Proceed Button --- */
.proceed-btn {
    width: 100%;
    max-width: 350px;
    padding: 1rem;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    
    /* Disabled State */
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
}

/* Active State (When input is correct) */
.proceed-btn.active {
    background: linear-gradient(135deg, var(--purple-glow), var(--pink-glow));
    color: var(--text-main);
    cursor: pointer;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.4);
}

.proceed-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(236, 72, 153, 0.6);
}

.proceed-btn .arrow {
    transition: transform 0.3s ease;
}

.proceed-btn.active:hover .arrow {
    transform: translateX(5px);
}

/* Fade out animation for transition */
.fade-out {
    animation: fadeOut 0.8s forwards;
}

@keyframes fadeOut {
    to { opacity: 0; visibility: hidden; }
}