@font-face {
    font-family: 'Kenyan Coffee';
    src: url('assets/kenyan_coffee/Kenyan Coffee Rg.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Jost';
    src: url('assets/Jost/static/Jost-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Jost';
    src: url('assets/Jost/static/Jost-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Jost';
    src: url('assets/Jost/static/Jost-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Jost';
    src: url('assets/Jost/static/Jost-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

:root {
    --primary-color: #FE1C71;
    --secondary-color: #F9AE42;
    --btn-gradient-start: #94F4E9;
    --btn-gradient-end: #D4F8AE;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

body {
    font-family: 'Jost', sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-size: 200% 200%;
    animation: gradient-shift 15s ease infinite;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 20px 20px;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/background.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    opacity: 0.8;
}

/* Rainbow styles removed as requested */

/* All rainbow styles and animations removed as requested */

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0.3);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-20vh) scale(1);
        opacity: 0;
    }
}



.container {
    width: 100%;
    max-width: min(90vw, 90vh, 500px);
    z-index: 1;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    padding: min(5vh, 40px) min(5vw, 30px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: min(3vh, 25px);
    animation: card-glow 8s ease-in-out infinite;
    width: 100%;
    max-height: 95vh;
    overflow-y: auto;

}

/* Hide scrollbar for the glass card */
.glass-card::-webkit-scrollbar {
    display: none;
}

/* IE, Edge and Firefox */
.glass-card {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

@keyframes card-glow {
    0% {
        box-shadow: 0 8px 32px rgba(255, 0, 0, 0.2);
    }
    20% {
        box-shadow: 0 8px 32px rgba(255, 165, 0, 0.2);
    }
    40% {
        box-shadow: 0 8px 32px rgba(255, 255, 0, 0.2);
    }
    60% {
        box-shadow: 0 8px 32px rgba(0, 255, 0, 0.2);
    }
    80% {
        box-shadow: 0 8px 32px rgba(0, 0, 255, 0.2);
    }
    100% {
        box-shadow: 0 8px 32px rgba(255, 0, 255, 0.2);
    }
}

.logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    min-height: 170px;
    max-height: 28vh;
    overflow: visible;
    padding: 15px;
}

.logo {
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 25vh;
    object-fit: contain;
    object-position: center;
    padding: 10px;
}

.title {
    font-family: 'Kenyan Coffee', serif;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: -10px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@keyframes rainbow-text {
    0% {
        background: linear-gradient(to right, #ff0000, #ff8800);
        -webkit-background-clip: text;
        background-clip: text;
    }
    20% {
        background: linear-gradient(to right, #ff8800, #ffff00);
        -webkit-background-clip: text;
        background-clip: text;
    }
    40% {
        background: linear-gradient(to right, #ffff00, #00ff00);
        -webkit-background-clip: text;
        background-clip: text;
    }
    60% {
        background: linear-gradient(to right, #00ff00, #00ffff);
        -webkit-background-clip: text;
        background-clip: text;
    }
    80% {
        background: linear-gradient(to right, #00ffff, #ff00ff);
        -webkit-background-clip: text;
        background-clip: text;
    }
    100% {
        background: linear-gradient(to right, #ff00ff, #ff0000);
        -webkit-background-clip: text;
        background-clip: text;
    }
}

.subtitle {
    font-family: 'Kenyan Coffee', serif;
    font-size: 1.1rem;
    text-align: center;
    font-weight: 300;
    margin-bottom: 10px;
    opacity: 0.9;
}

/* Matches the style of the old video heading (WATCH THE TRAILER) */
.promo {
    font-family: 'Kenyan Coffee', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-align: center;
}

.tagline {
    font-size: 1rem;
    text-align: center;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(to right, var(--btn-gradient-start), var(--btn-gradient-end));
    color: #333;
    font-weight: 500;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 50px;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease-in-out;
    z-index: -1;
    border-radius: 50px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn:hover::before {
    left: 100%;
}

.btn:active {
    transform: scale(0.97);
}

/* Button-specific animations */
.playstation-btn {
    position: relative;
}

/* Button icon styles - new implementation */
.btn i {
    display: inline-block;
    margin-right: 6px;
    font-size: 14px;
    transition: transform 0.5s ease;
}

.playstation-btn::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.5s ease;
}

.playstation-btn:hover::after {
    transform: scale(5);
    opacity: 0;
}

/* Button hover animations */
.playstation-btn:hover i {
    transform: rotate(360deg);
}

.epic-btn:hover i {
    transform: rotate(360deg);
}

.website-btn:hover i {
    transform: rotate(360deg);
}

.website-btn {
    position: relative;
    overflow: hidden;
}

.website-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0.5);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.website-btn:hover::after {
    opacity: 1;
    transform: scale(1);
}

.video-container {
    width: 100%;
    text-align: center;
}

.video-container h2 {
    font-family: 'Kenyan Coffee', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.video-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    aspect-ratio: 16 / 9;
    position: relative;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    cursor: pointer;
}

.video-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.play-button {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.play-button i {
    font-size: 24px;
    color: #FE1C71;
    margin-left: 4px; /* Slight offset for play icon */
}

.video-preview:hover .play-button {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.9);
}

.video-iframe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive adjustments for play button */
@media (max-width: 575px) {
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button i {
        font-size: 20px;
    }
}

@media (max-width: 360px) {
    .play-button {
        width: 40px;
        height: 40px;
    }
    
    .play-button i {
        font-size: 16px;
    }
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.video-placeholder i {
    font-size: 3rem;
    opacity: 0.8;
}

footer {
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.7;
    text-align: center;
    width: 100%;
}

/* Responsive adjustments */
/* Large devices (laptops/desktops) */
@media (min-width: 992px) {
    .container {
        max-width: min(80vw, 80vh, 600px);
    }
    
    .glass-card {
        padding: min(6vh, 50px) min(6vw, 40px);
    }
    
    .title {
        font-size: min(4vw, 3rem);
    }
    
    .subtitle {
        font-size: min(2vw, 1.2rem);
    }
    
    .tagline {
        font-size: min(1.8vw, 1.1rem);
    }
    
    .btn {
        padding: min(2vh, 16px) min(3vw, 24px);
        font-size: min(2vw, 1.2rem);
    }
}

/* Medium devices (tablets) */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 550px;
    }
    
    .glass-card {
        padding: 45px 35px;
    }
    
    .title {
        font-size: 2.8rem;
    }
}

/* Small devices (landscape phones) */
@media (min-width: 576px) and (max-width: 767px) {
    .container {
        max-width: 500px;
        padding: 15px;
    }
    
    .glass-card {
        padding: 35px 25px;
    }
    
    .title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
}

/* Extra small devices (phones) */
@media (max-width: 575px) {
    body {
        padding: 10px 10px 10px;
    }
    
    .container {
        padding: 0;
        margin-top: 6px;
    }
    
    .glass-card {
        padding: 25px 20px;
        border-radius: 15px;
        gap: 15px;
    }
    
    .logo-container {
        width: 100%;
        min-height: 120px;
        max-height: 22vh;
        margin-bottom: 10px;
        overflow: visible;
        padding: 12px;
    }
    
    .logo {
        width: auto;
        height: auto;
        max-width: 90%;
        max-height: 20vh;
        object-fit: contain;
        padding: 8px;
    }
    
    .title {
        font-size: 1.8rem;
        margin-bottom: -5px;
    }
    
    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 0;
    }
    
    .tagline {
        font-size: 0.85rem;
        margin-bottom: 10px;
        letter-spacing: 0.3px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.95rem;
    }
    
    .video-container {
        margin-top: 5px;
    }
    
    .video-container h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .video-wrapper {
        max-height: 25vh;
    }
    
    .buttons-container {
        gap: 10px;
    }
    
    footer {
        font-size: 0.8rem;
        margin-top: 5px;
    }
}

/* Extra small devices (small phones) */
@media (max-width: 360px) {
    .glass-card {
        padding: 20px 15px;
        gap: 12px;
    }
    
    .logo-container {
        min-height: 100px;
        max-height: 18vh;
        margin-bottom: 5px;
        overflow: visible;
        padding: 10px;
    }
    
    .logo {
        width: auto;
        height: auto;
        max-width: 90%;
        max-height: 15vh;
        object-fit: contain;
        padding: 6px;
    }
    
    .title {
        font-size: 1.6rem;
    }
    
    .subtitle {
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .btn i {
        font-size: 12px;
        margin-right: 4px;
    }
    
    .video-container h2 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .video-wrapper {
        max-height: 20vh;
    }
    
    .buttons-container {
        gap: 8px;
    }
    
    footer {
        font-size: 0.7rem;
    }
}
