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

:root {
    --bg-dark: #0a0a0a;
    --surface-solid: #161616;
    --surface-border: rgba(255, 255, 255, 0.05);
    --accent-blue: #64b5f6;
    --accent-blue-dim: rgba(100, 181, 246, 0.1);
    --text-primary: #f8f9fa;
    --text-secondary: #94a3b8;
    --nav-height: 80px;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    /* Darkened background image with 80% opaque overlay */
    background-image: url('assests/web/bg.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* --- NAVIGATION (NO BORDER, NO LOGO) --- */
nav {
    position: sticky;
    top: 0;
    height: var(--nav-height);
    background: transparent; /* Clean transparent navbar */
    z-index: 1000;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- OPAQUE CONTAINER (GLOBAL) --- */
.opaque-card {
    background: var(--surface-solid);
    border: 1px solid var(--surface-border);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    width: fit-content;
    margin: 0 auto;
}

/* --- HERO --- */
.hero {
    padding: 2rem 5% 4rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.hero-icon {
    width: 480px; /* 4x larger icon */
    max-width: 90vw;
    height: auto;
    border-radius: 80px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}

.hero .subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

/* --- APP SELECTOR --- */
.app-selector-section {
    margin-top: 1rem;
    width: 100%;
}

.try-apps-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 400;
    opacity: 0.8;
}

.app-icon-tabs {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.app-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 80px;
}

.app-tab img, .app-tab .placeholder-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--surface-solid);
    border: 1px solid var(--surface-border);
    padding: 10px;
    transition: all 0.3s ease;
    object-fit: contain;
}

.app-tab .placeholder-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.app-tab span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
}

.app-tab:hover {
    transform: translateY(-5px);
}

.app-tab:hover img, .app-tab:hover .placeholder-icon {
    border-color: var(--accent-blue);
    box-shadow: 0 10px 20px rgba(100, 181, 246, 0.15);
    background: #1c1c1c;
}

.app-tab:hover span {
    color: var(--text-primary);
}

/* --- APP GRID --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 5% 8rem;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

.app-card {
    background: var(--surface-solid);
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    min-height: 240px;
}

.card-large { grid-column: span 12; }
.card-medium { grid-column: span 6; }

@media (max-width: 768px) {
    .card-medium { grid-column: span 12; }
}

.app-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-blue);
    background: #1c1c1c;
}

.app-badge {
    background: var(--accent-blue-dim);
    color: var(--accent-blue);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    width: fit-content;
    margin-bottom: 1rem;
}

.app-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.app-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-primary {
    background: var(--accent-blue);
    color: #000;
}

.btn-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border: 1px solid var(--surface-border);
    color: var(--text-secondary);
}

/* --- CONTACT --- */
.contact-section {
    padding: 4rem 5%;
    text-align: center;
}

.contact-email {
    color: var(--accent-blue);
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: 300;
}

/* --- FOOTER (NO SUPPORT LINK) --- */
footer {
    padding: 3rem 5%;
    text-align: center;
    color: #000;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #000;
    text-decoration: none;
    font-size: 0.85rem;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

.copyright {
    color: #000;
    font-size: 0.7rem;
}

/* --- UTILITIES --- */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-blue);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: all 0.2s ease;
}

.back-link:hover {
    color: var(--text-primary);
    transform: translateX(-4px);
}

/* --- APP PAGES STYLES --- */
.app-page-container {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.app-page-content {
    flex: 1;
}

.play-badge {
    height: 60px;
    transition: transform 0.2s ease;
    margin-top: 2rem;
}

.play-badge:hover {
    transform: scale(1.05);
}

.coming-soon-badge {
    background: var(--surface-solid);
    border: 1px solid var(--surface-border);
    padding: 1rem 2rem;
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 2rem;
}

/* --- SITE FOOTER --- */
.site-footer {
    padding: 4rem 5% 2rem;
    text-align: center;
    border-top: 1px solid var(--surface-border);
    margin-top: 4rem;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    color: #000;
}

.site-footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.site-footer a {
    color: #000;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--accent-blue);
}

.site-footer .copyright {
    color: #000;
    font-size: 0.8rem;
}
