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

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #FF4757 0%, #FFD700 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    position: relative;
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Trophy Animation */
.trophy-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.trophy {
    font-size: 6rem;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
    animation: trophyBounce 2s ease-in-out infinite;
}

@keyframes trophyBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(-5deg); }
    75% { transform: translateY(-10px) rotate(5deg); }
}

/* Share Button */
.share-button {
    background: white;
    color: #FF4757;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-size: 1.125rem;
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: #FFF8E7;
}

/* Stats Panel */
.stats-panel {
    background: white;
    margin: -3rem auto 0;
    position: relative;
    z-index: 10;
    padding: 2rem 0;
}

.stat-card {
    background: linear-gradient(135deg, #5F27CD 0%, #764ba2 100%);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(95, 39, 205, 0.2);
}

.stat-card-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.stat-card-label {
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

/* View Toggle */
.view-toggle {
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    border: 2px solid #FF4757;
    background: white;
    color: #FF4757;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: capitalize;
}

.view-toggle:hover {
    background: #FFF8E7;
}

.view-toggle.active {
    background: #FF4757;
    color: white;
}

/* App Cards */
.app-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.app-card.featured {
    border: 4px solid #FFD700;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 12px 32px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 12px 48px rgba(255, 215, 0, 0.6); }
}

.rank-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #FF4757;
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #FFD700;
    color: #2F3542;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

.thumbnail-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #C7D4A8 0%, #A8C7D4 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #5F27CD;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
}

.try-button {
    width: 100%;
    background: linear-gradient(135deg, #FF4757 0%, #FF6B6B 100%);
    color: white;
    padding: 1rem;
    border-radius: 0.75rem;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.try-button:hover {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF4757 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
}

/* Podium View */
.podium-view {
    max-width: 1400px;
    margin: 0 auto;
}

.podium-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.podium-item {
    flex: 1;
    max-width: 400px;
    animation: slideUp 0.6s ease-out;
}

.podium-first {
    transform: translateY(-2rem);
}

.podium-rank {
    background: #FFD700;
    color: #2F3542;
    text-align: center;
    padding: 1rem;
    font-weight: 800;
    font-size: 1.5rem;
    font-family: 'Orbitron', monospace;
    border-radius: 1rem 1rem 0 0;
    margin-bottom: 1rem;
}

.podium-second .podium-rank {
    background: #C0C0C0;
}

.podium-third .podium-rank {
    background: #CD7F32;
    color: white;
}

/* Timeline View */
.timeline-view {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.timeline-item {
    animation: slideInRight 0.6s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bryan Section */
.bryan-section {
    background: linear-gradient(180deg, transparent 0%, rgba(95, 39, 205, 0.1) 100%);
    margin-top: 4rem;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: 1.5rem;
    max-width: 1200px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #FF4757;
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-close:hover {
    background: #FF6B6B;
    transform: rotate(90deg);
}

.iframe-container {
    width: 100%;
    height: 600px;
    margin: 2rem 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .trophy {
        font-size: 4rem;
    }
    
    .podium-container {
        flex-direction: column;
        align-items: center;
    }
    
    .podium-item {
        width: 100%;
        max-width: 400px;
    }
    
    .podium-first {
        transform: translateY(0);
    }
    
    .iframe-container {
        height: 400px;
    }
}