* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex: 1;
}

header {
    text-align: center;
    padding: 30px 0 20px;
    position: relative;
    width: 100%;
}

.home-button {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    font-size: 14px;
}

.home-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    gap: 15px;
    width: 100%;
}

.logo-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fdbb2d, #b21f1f, #1a2a6c);
    padding: 4px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    animation: border-pulse 3s infinite;
}

@keyframes border-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.logo-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.tagline {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 1px;
    max-width: 100%;
    padding: 0 10px;
}

.main-content {
    text-align: center;
    padding: 20px 0;
    width: 100%;
}

/* --- TYPEWRITER AND BLINKING DOTS SECTION --- */

@keyframes typing {
    from { width: 0; }
    /* FIXED: Using calc() to create a precise width.
      This combines the approximate character width (34ch) 
      with the exact width added by letter-spacing (3.2em),
      ensuring the full text is always visible.
    */
    to { width: calc(34ch + 3.2em); } 
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #fdbb2d; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.typewriter-container {
    display: flex;
    justify-content: center;
    align-items: baseline;
    flex-wrap: wrap; 
    min-height: 3em; 
    margin-bottom: 20px;
}

.typewriter {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    overflow: hidden;
    border-right: 0.08em solid #fdbb2d;
    white-space: nowrap;
    margin: 0;
    width: 0;
    animation: 
        typing 3.2s steps(33, end) forwards,
        blink-caret 0.75s step-end 5 forwards;
}

.dots {
    opacity: 0;
    animation: fadeIn 0.1s 3.2s forwards;
    margin-left: 0.2em;
    font-size: 1.5rem;
    font-weight: bold;
}

.dots .dot {
    animation: blink 1.4s infinite;
}

.dots .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dots .dot:nth-child(3) {
    animation-delay: 0.4s;
}

/* --- END OF TYPEWRITER SECTION --- */

.teaser, .update-info {
    width: 100%;
    margin: 0 auto 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s;
}

.teaser {
    transform: perspective(1000px) rotateX(5deg);
}

.teaser:hover {
    transform: perspective(1000px) rotateX(0deg);
}

.teaser-title, .update-info-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #fdbb2d;
}

.teaser-text, .update-info-text {
    line-height: 1.6;
    font-size: 1rem;
    text-align: left;
    margin-bottom: 1rem;
}

.teaser-text:last-child, .update-info-text:last-child {
    margin-bottom: 0;
}

.highlight {
    color: #fdbb2d;
    font-weight: 600;
}

.tester-signup {
    width: 100%;
    margin: 0 auto 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.tester-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.tester-description {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.tester-button {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    background: #fdbb2d;
    color: #1a2a6c;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tester-button:hover {
    transform: scale(1.05);
    background: #ffcc44;
    color: #1a2a6c;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
    width: 100%;
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
    transform: translateY(-5px);
    color: #fdbb2d;
}

footer {
    background: rgba(0, 0, 0, 0.7);
    padding: 30px 0;
    margin-top: 40px;
    text-align: center;
    width: 100%;
}

.footer-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 1rem;
    margin-bottom: 20px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 10px;
}

.copyright {
    margin-top: 15px;
    font-size: 0.8rem;
    opacity: 0.8;
}

.moving-logo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fdbb2d, #b21f1f, #1a2a6c);
    padding: 2px;
    animation: floatLogo 6s ease-in-out infinite;
    z-index: 100;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
}

.moving-logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

@keyframes floatLogo {
    0% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(-5deg); }
    50% { transform: translateY(-25px) rotate(5deg); }
    75% { transform: translateY(-15px) rotate(-3deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Responsive adjustment for very small screens */
@media (max-width: 480px) {
    .typewriter, .dots {
        font-size: 1.3rem;
    }
}


@media (min-width: 768px) {
    .home-button {
        top: 20px;
        left: 20px;
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .logo-container {
        flex-direction: row;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .logo-wrapper {
        width: 120px;
        height: 120px;
    }
    
    .logo-text {
        font-size: 3rem;
    }
    
    .tagline {
        font-size: 1.3rem;
        margin-bottom: 30px;
    }
    
    header {
        padding: 40px 0 30px;
    }
    
    .teaser, .update-info {
        max-width: 700px;
        padding: 30px;
        margin-bottom: 40px;
    }
    
    .teaser-title, .update-info-title {
        font-size: 1.8rem;
    }
    
    .teaser-text, .update-info-text {
        font-size: 1.05rem;
    }
    
    .tester-signup {
        max-width: 600px;
        padding: 30px;
    }
    
    .tester-title {
        font-size: 1.5rem;
    }
    
    .tester-description {
        font-size: 1rem;
    }
    
    .tester-button {
        padding: 15px 40px;
        font-size: 1.1rem;
    }
    
    .social-icons {
        gap: 20px;
        margin-top: 40px;
    }
    
    .social-icons a {
        font-size: 1.8rem;
    }
    
    footer {
        padding: 40px 0;
        margin-top: 60px;
    }
    
    .footer-logo {
        font-size: 2.5rem;
    }
    
    .footer-tagline {
        font-size: 1.2rem;
    }
    
    .copyright {
        font-size: 0.9rem;
    }
    
    .moving-logo {
        width: 60px;
        height: 60px;
        bottom: 30px;
        right: 30px;
    }

    .typewriter, .dots {
        font-size: 2rem;
        letter-spacing: 0.15em;
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 0;
    }
}