/* === BIG BASS BONANZA: PREMIUM DESIGN SYSTEM === */
@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;700;900&family=Source+Sans+3:wght@300;400;600;700&display=swap');

/* === CSS RESET & BASE === */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    /* Color Palette - extracted from app icon (fishing theme, water, vitality) */
    --bg-primary: #fcfdfe;
    --bg-secondary: #f3f7fa;
    --text-main: #1a2c38;
    --text-muted: #5e707e;
    --accent: #2196f3; /* Deep Fishing Blue */
    --accent-glow: rgba(33, 150, 243, 0.4);
    --gold: #ffc107;
    --white: #ffffff;

    /* Layout Tokens */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --container-max: 1240px;

    /* Effects */
    --shadow-soft: 0 10px 40px -10px rgba(26, 44, 56, 0.1);
    --shadow-deep: 0 20px 60px -15px rgba(26, 44, 56, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Source Sans 3', sans-serif;
    line-height: 1.6;
    font-size: 16px;
    overflow-x: clip;
    color: var(--text-main);
    background: var(--bg-primary);
}

h1, h2, h3, .heading-font { font-family: 'Unbounded', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 5%; width: 100%; }

section { padding: 80px 0; position: relative; }

/* === SHARED COMPONENTS === */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
}

.btn-pill {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.btn-appstore { background: #000; color: #fff; }
.btn-playstore { background: #fff; color: #000; border: 2px solid #000; }

.btn-pill:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); }

/* === NAVIGATION === */
.nav-fisherman {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.nav-fisherman.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.05);
}

.nav-flex { display: flex; align-items: center; justify-content: space-between; }

.app-brand { display: flex; align-items: center; gap: 12px; }
.app-logo-small {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.app-name-text { font-family: 'Unbounded', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--text-main); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 600; font-size: 0.95rem; color: var(--text-main); opacity: 0.8; transition: opacity 0.3s; }
.nav-links a:hover { opacity: 1; color: var(--accent); }

/* === HERO SECTION === */
.hero-water {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, #e3f2fd 0%, #fcfdfe 100%);
    padding-top: 120px;
}

.hero-content { max-width: 900px; }
.hero-icon {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
}

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

.game-h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 20px;
    color: var(--text-main);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.rating-badge {
    background: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}
.rating-badge i { color: var(--gold); }

.hero-ctas { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* === HOW IT WORKS === */
.process-sequence { display: grid; gap: 40px; grid-template-columns: 1fr; margin-top: 50px; }
@media (min-width: 768px) { .process-sequence { grid-template-columns: repeat(3, 1fr); } }

.work-card {
    text-align: center;
    position: relative;
    padding: 2rem;
    transition: transform 0.4s;
}

.work-card:hover { transform: perspective(1000px) rotateX(3deg); }

.step-num {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.work-card i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.work-card h3 { margin-bottom: 15px; font-size: 1.2rem; }

/* === FEATURES ACCORDION === */
.feature-accordion { max-width: 800px; margin: 40px auto; }
.accordion-item { border-bottom: 1px solid rgba(0,0,0,0.1); }
.accordion-header {
    width: 100%;
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}
.accordion-title { font-family: 'Unbounded', sans-serif; font-size: 1.1rem; }
.accordion-icon { transition: transform 0.3s; }
.accordion-item.active .accordion-icon { transform: rotate(180deg); }

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}
.accordion-item.active .accordion-panel { max-height: 500px; transition: max-height 1s ease-in-out; }

.panel-inner {
    padding: 0 0 30px 0;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.panel-text { flex: 1; color: var(--text-muted); }
.panel-visual i { font-size: 4rem; color: var(--accent); opacity: 0.2; }

/* === SCREENSHOT GALLERY === */
.gallery-viewport {
    position: relative;
    max-width: 550px;
    margin: 0 auto;
    height: 600px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-deep);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: contain; }

.slide-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 10;
}

.ctrl-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
}
.ctrl-btn:hover { background: var(--accent); color: white; }

.dots-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: #ddd; cursor: pointer; transition: 0.3s; }
.dot.active { background: var(--accent); width: 25px; border-radius: 10px; }

/* === REVIEWS MASONRY === */
.reviews-masonry {
    columns: 1;
    column-gap: 1.5rem;
}
@media (min-width: 768px) { .reviews-masonry { columns: 2; } }
@media (min-width: 1024px) { .reviews-masonry { columns: 3; } }

.review-card {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    padding: 2rem;
}

.review-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.avatar-init {
    width: 45px;
    height: 45px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.stars { color: var(--gold); font-size: 0.8rem; margin-bottom: 10px; }

/* === DOWNLOAD CTA === */
.download-mega-cta {
    background: var(--accent);
    color: white;
    text-align: center;
    border-radius: var(--radius-lg);
    padding: 80px 40px;
    margin-bottom: 80px;
}

.stats-flex {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.circle-svg {
    width: 120px;
    height: 120px;
    position: relative;
    margin-bottom: 15px;
}

.circle-svg svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-bg { fill: none; stroke: rgba(255,255,255,0.2); stroke-width: 8; }
.circle-val {
    fill: none;
    stroke: white;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 2s ease-out;
}

.circle-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
}

/* === FOOTER === */
.photo-footer {
    position: relative;
    padding: 80px 0 40px;
    background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.9)), url('images/app-screen-1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-bottom: 60px;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; }
}

.footer-about .app-name-text { color: white; }
.footer-about p { margin: 20px 0; opacity: 0.7; }

.footer-links h4 { margin-bottom: 25px; color: var(--accent); }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { opacity: 0.7; transition: 0.3s; }
.footer-links a:hover { opacity: 1; color: var(--accent); padding-left: 5px; }

.newsletter-box p { margin-bottom: 20px; opacity: 0.7; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: white;
}
.newsletter-form button {
    background: var(--accent);
    color: white;
    border: none;
    width: 50px;
    border-radius: 10px;
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* === ANIMATIONS === */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

.glass-blob {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}
.blob-1 { top: -200px; left: -200px; animation: orbit 20s infinite alternate; }
.blob-2 { bottom: -200px; right: -200px; animation: orbit 25s infinite alternate-reverse; }

@keyframes orbit {
    from { transform: translate(0, 0); }
    to { transform: translate(100px, 100px); }
}

/* Section Dividers */
.divider-dotted {
    height: 1px;
    border-top: 2px dotted rgba(0,0,0,0.1);
    margin: 40px auto;
    width: 60%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.divider-mark {
    background: var(--bg-primary);
    padding: 0 15px;
    color: var(--accent);
    position: relative;
    top: -2px;
}

/* Auto-fix: prevent default blue/purple browser links */
a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: currentColor; }
