/* Project Specific Styles - Inherits variables from ../style.css */

body {
    background-color: var(--bg-color);
}

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

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 800;
    letter-spacing: -1.5px;
}

.highlight {
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
}

p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hero-tagline {
    font-size: 1.4rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Background Animation */
.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: 
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(244, 114, 182, 0.05) 0%, transparent 50%);
    opacity: 1;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.glass-button {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 14px 28px;
    border-radius: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

/* Store Buttons */
.store-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.store-btn {
    text-align: left;
    min-width: 200px;
}

.btn-icon {
    font-size: 1.8rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.btn-text small {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.8;
}

.btn-text span {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 5% 80px;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.reveal-content {
    text-align: left;
}

.app-icon {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: float 6s ease-in-out infinite;
}

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

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image {
    max-width: 340px;
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 8px solid rgba(255, 255, 255, 0.05);
    z-index: 2;
    transform: rotate(-5deg);
    transition: var(--transition);
}

.hero-image:hover {
    transform: rotate(0deg) scale(1.05);
}

.hero-image-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    z-index: 1;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    padding: 40px;
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    display: block;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.gallery-item {
    overflow: hidden;
    padding: 10px;
}

.gallery-item img {
    width: 100%;
    border-radius: 16px;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Leaderboard */
.leaderboard-preview {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
}

.scores-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
}

.scores-table th {
    text-align: left;
    padding: 0 20px 10px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.score-row {
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition);
}

.score-row:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(10px);
}

.score-row td {
    padding: 18px 20px;
}

.score-row td:first-child {
    border-radius: 16px 0 0 16px;
    font-weight: 800;
    color: var(--accent);
    width: 80px;
}

.score-row td:last-child {
    border-radius: 0 16px 16px 0;
}

.player-name {
    font-weight: 600;
    color: var(--text-primary);
}

.score-value {
    color: #fcd34d;
    font-weight: 700;
}

.top-1 { color: #fcd34d !important; text-shadow: 0 0 10px rgba(252, 211, 77, 0.3); }
.top-2 { color: #e5e7eb !important; }
.top-3 { color: #d97706 !important; }

/* Media Container */
.media-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 15px;
}

video {
    width: 100%;
    border-radius: 16px;
    display: block;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .reveal-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    h1 { font-size: 3rem; }
    .hero-tagline { font-size: 1.2rem; }
}

@media (max-width: 600px) {
    .store-buttons { flex-direction: column; align-items: stretch; }
    .store-btn { width: 100%; }
    .section-title { font-size: 2.2rem; }
}

/* Footer Links Separation */
footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-links a:not(:last-child)::after {
    content: "•";
    margin-left: 15px;
    opacity: 0.5;
    pointer-events: none;
}