/* ========================================
   Owee Coming Soon - Welcome Screen Styles
   ======================================== */

/* ========================================
   CSS Variables (Design System)
   ======================================== */
:root {
    /* Colours */
    --color-primary: #7C3AED;
    --color-white: #FFFFFF;
    --color-overlay: rgba(25, 29, 22, 0.1);

    /* Typography */
    --font-heading: 'Supersonic Rocketship', cursive, sans-serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Border Radius */
    --border-radius-button: 100px;

    /* Transitions */
    --transition-base: 0.3s ease;

    /* Owee Character Position Controls - DESKTOP - Adjust these values as needed */
    --owee-bottom: -5%;           /* Vertical position: negative = down, positive = up */
    --owee-horizontal: 135%;      /* Horizontal offset from center: positive = right, negative = left, 0 = center */
    --owee-size: 35%;             /* Size relative to logo container */

    /* Mobile Overrides (edit in @media queries below for tablet/mobile) */
}

/* ========================================
   Reset & Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100%;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-white);
    height: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Welcome Screen Layout
   ======================================== */
.welcome-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    position: relative;
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.welcome-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-overlay);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1;
}

.welcome-screen > * {
    position: relative;
    z-index: 2;
}

/* ========================================
   Logo Container
   ======================================== */
.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
    width: 100%;
    max-width: 960px; /* 60% bigger: 600px * 1.6 = 960px */
}

.owee-logo {
    width: 100%;
    max-width: 700px; /* 60% bigger: 500px * 1.6 = 800px */
    height: auto;
    animation: fadeInUp 0.8s ease-out, float 6s ease-in-out 1s infinite;
}

.owee-character {
    position: absolute;
    bottom: var(--owee-bottom);
    left: 50%;
    transform: translateX(calc(-50% + var(--owee-horizontal)));
    width: var(--owee-size);
    height: auto;
    animation: fadeIn 0.8s ease-out 0.2s backwards;
}

@media (max-width: 768px) {
    :root {
        /* TABLET - Edit Owee position here */
        --owee-bottom: -8%;           /* Control vertical position */
        --owee-horizontal: 90px;      /* Control horizontal position */
        --owee-size: 26%;             /* Control size */
    }

    .logo-container {
        max-width: 540px;
        margin-bottom: var(--spacing-md);
    }

    .owee-logo {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    :root {
        /* MOBILE - Edit Owee position here */
        --owee-bottom: -12%;          /* Control vertical position (more negative = further down) */
        --owee-horizontal: 55px;      /* Control horizontal position */
        --owee-size: 24%;             /* Control size */
    }

    .logo-container {
        max-width: 320px;
        margin-bottom: var(--spacing-sm);
    }

    .owee-logo {
        max-width: 100%;
    }

    .tagline {
        font-size: 1.15rem;
        padding: 0 1rem;
        margin-bottom: var(--spacing-sm);
        margin-top: var(--spacing-sm);
    }

    .coming-soon {
        font-size: 0.85rem;
        margin-top: var(--spacing-xs);
    }
}

/* ========================================
   Tagline
   ======================================== */
.tagline {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
    max-width: 800px;
}

.tagline .highlight {
    color: var(--color-primary);
}

@media (max-width: 480px) {
    .tagline {
        font-size: 1.25rem;
        letter-spacing: 0.5px;
    }
}

/* ========================================
   Coming Soon Badge
   ======================================== */
.coming-soon {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

@media (max-width: 480px) {
    .coming-soon {
        font-size: 0.875rem;
    }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* ========================================
   Accessibility
   ======================================== */
/* Focus styles for keyboard navigation */
*:focus-visible {
    outline: 3px solid var(--color-white);
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
