@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-color: #F8F9FA;
    --text-main: #12121A;
    --text-muted: #5C5C70;
    --accent-1: #6C22FF;
    --accent-2: #00D4FF;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.05);
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Background Effects */
.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
    animation: float 10s infinite ease-in-out alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-1);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-2);
    bottom: 10%;
    right: -50px;
    animation-delay: -5s;
}

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

/* Navigation */
.navbar {
    width: 100%;
    padding: 0.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-item a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-item.active a, .nav-item a:hover {
    color: var(--text-main);
}

/* Hidden Admin Tab */
.hidden-admin {
    opacity: 0; /* Fully invisible */
    user-select: none;
    pointer-events: auto; /* Allow clicking */
    width: 60px; /* Give it physical size to click on */
}

.hidden-admin a {
    cursor: default; /* Remove pointer cursor so it stays hidden */
    display: block;
    width: 100%;
    height: 100%;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 120px auto 0;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    min-height: calc(100vh - 120px);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* Download Button */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--accent-1), #9D5BFF);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 30px rgba(108, 34, 255, 0.4);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(108, 34, 255, 0.6);
}

/* Poker Cards Section */
.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    right: 40px; /* Shift the fan left so it doesn't get cut off on the right edge */
}

.poker-cards {
    position: relative;
    width: 260px;
    height: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.poker-card {
    position: absolute;
    width: 250px;
    height: 520px;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    box-shadow: -10px 15px 40px rgba(0,0,0,0.2);
    border: 6px solid #FFFFFF;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s;
    transform-origin: bottom center;
}

/* Fallback styling removed to show original colors */
.card-1 { 
    background-color: #FF8E53;
    background-image: url('assets/screen1.png'); 
    background-size: cover;
    background-position: top center;
    transform: rotate(-15deg) translateX(-40px); 
    z-index: 1; 
}
.card-2 { 
    background-color: #00f2fe;
    background-image: url('assets/screen2.png'); 
    background-size: cover;
    background-position: top center;
    transform: rotate(-5deg) translateX(-15px); 
    z-index: 2; 
}
.card-3 { 
    background-color: #38f9d7;
    background-image: url('assets/screen3.png'); 
    background-size: cover;
    background-position: top center;
    transform: rotate(5deg) translateX(15px); 
    z-index: 3; 
}
.card-4 { 
    background-color: #fa709a;
    background-image: url('assets/screen4.png'); 
    background-size: cover;
    background-position: top center;
    transform: rotate(15deg) translateX(40px); 
    z-index: 4; 
}

/* Hover effect to fan them out more */
.poker-cards:hover .card-1 { transform: rotate(-25deg) translateX(-100px) translateY(-20px) scale(1.05); z-index: 10; box-shadow: -20px 20px 50px rgba(0,0,0,0.3); }
.poker-cards:hover .card-2 { transform: rotate(-10deg) translateX(-35px) translateY(-20px) scale(1.05); z-index: 10; box-shadow: -10px 20px 50px rgba(0,0,0,0.3); }
.poker-cards:hover .card-3 { transform: rotate(10deg) translateX(35px) translateY(-20px) scale(1.05); z-index: 10; box-shadow: 10px 20px 50px rgba(0,0,0,0.3); }
.poker-cards:hover .card-4 { transform: rotate(25deg) translateX(100px) translateY(-20px) scale(1.05); z-index: 10; box-shadow: 20px 20px 50px rgba(0,0,0,0.3); }

/* Glass Cards */
.glass-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-icon {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.floating-card-1 {
    top: 10%;
    right: -5%;
    animation: float 5s infinite ease-in-out alternate-reverse;
}

.floating-card-2 {
    bottom: 10%;
    left: -10%;
    animation: float 4s infinite ease-in-out alternate;
}

/* Responsive */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
    }
    
    .floating-card-1 { right: 5%; }
    .floating-card-2 { left: 5%; }
}

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
        gap: 2rem;
    }
    
    .hero-image {
        margin-top: 2rem;
        right: 0; /* Reset desktop offset so it centers on mobile */
    }
    
    .poker-cards {
        transform: scale(0.75);
    }
}

@media (max-width: 500px) {
    .poker-cards {
        transform: scale(0.55);
    }

    /* Prevent hover animation from pushing cards off screen on mobile */
    .poker-cards:hover .card-1 { transform: rotate(-15deg) translateX(-45px) translateY(-15px) scale(1.05); }
    .poker-cards:hover .card-2 { transform: rotate(-5deg) translateX(-15px) translateY(-15px) scale(1.05); }
    .poker-cards:hover .card-3 { transform: rotate(5deg) translateX(15px) translateY(-15px) scale(1.05); }
    .poker-cards:hover .card-4 { transform: rotate(15deg) translateX(45px) translateY(-15px) scale(1.05); }

    .hero-title {
        font-size: 2.2rem; /* Reduced to avoid touching edges */
    }
    
    .hero {
        padding: 1rem 1.5rem; /* Enforce explicit side gaps */
    }

    .nav-content {
        padding: 0 1rem;
    }
}
