@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@300;400;700&display=swap');

:root {
    --primary-orange: #f87100;
    --bg-black: #000000;
    --text-white: #ffffff;
}

* {
    box-sizing: border-box;
}

body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: 'Funnel Display', sans-serif;
    background-color: var(--bg-black);
    color: var(--text-white);
    overflow-x: hidden;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    filter: brightness(0.6);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
}

.content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
}

.eoi-logo {
    width: 90%;
    max-width: 400px;
    height: auto;
    margin-bottom: 20px;
    animation: fadeInDown 1.5s ease-out;
}

h1 {
    font-size: 4rem;
    margin: 10px 0;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
}

.h1-accent {
    -webkit-text-stroke: 1.5px var(--primary-orange);
    color: transparent;
}

.description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.play-now-btn {
    display: inline-block;
    background-color: var(--primary-orange);
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 15px 50px;
    text-transform: uppercase;
    transition: transform 0.3s ease, background-color 0.3s ease;
    clip-path: polygon(15px 0%, 100% 0%, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0% 100%, 0% 15px);
    cursor: pointer;
}

.play-now-btn:hover {
    transform: scale(1.05);
    background-color: #ff851a;
}

.play-now-btn:active {
    transform: scale(0.95);
}

.platforms {
    position: absolute;
    bottom: 40px;
    display: flex;
    gap: 30px;
    animation: fadeInUp 1.5s ease-out;
}

.platform-icon {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.platform-icon:hover {
    opacity: 1;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

@media (max-width: 480px) {
    header {
        padding: 20px 20px;
    }
}

.brand-logo {
    max-height: 75px;
    height: auto;
    max-width: 200px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .brand-logo {
        max-height: 50px;
    }

    .eoi-logo {
        max-width: 80%;
    }

    .play-now-btn {
        font-size: 1.2rem;
        padding: 12px 40px;
    }
}

@media (max-width: 380px) {
    h1 {
        font-size: 2rem;
    }

    .brand-logo {
        max-height: 40px;
    }

    header {
        padding: 15px 15px;
    }

    .eoi-logo {
        margin-bottom: 10px;
    }

    .description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
}

/* PWA Install Popup Styles */
.install-popup {
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: #1a2632;
    border: 1px solid #ff7c00;
    border-radius: 15px 15px 0 0;
    padding: 25px;
    z-index: 10001;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    color: white;
}

.install-popup.active {
    bottom: 0;
}

.install-content {
    text-align: center;
}

.popup-logo {
    height: 50px;
    margin-bottom: 15px;
}

.install-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    color: #ff7c00;
}

.install-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.popup-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.install-btn {
    padding: 10px 25px;
    background: #ff7c00;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.close-btn {
    padding: 10px 25px;
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    cursor: pointer;
}

.install-btn:hover {
    background: #e66f00;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dont-show-again {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 0.85rem;
    opacity: 0.8;
    cursor: pointer;
}

.dont-show-again input {
    accent-color: #ff7c00;
    cursor: pointer;
}