/* SpringFrog - Clean Modern Design */

:root {
    --primary: #22c55e;
    --primary-dark: #16a34a;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-alt: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --radius: 12px;
    --radius-lg: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans KR', -apple-system, sans-serif;
    background: linear-gradient(rgba(2, 6, 23, 0.85), rgba(15, 23, 42, 0.9)), url('../assets/images/SummerBackground.png') center/cover no-repeat fixed;
    color: var(--text-primary);
    line-height: 1.7;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
}
.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}
.nav-right { display: flex; align-items: center; gap: 1rem; }
.lang-switch {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}
.lang-switch:hover { color: var(--text-primary); }
.nav-cta {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
}
.nav-cta:hover { background: var(--primary-dark); }

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 4rem;
    background: transparent;
}
.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: center;
}
/* Phone Frame - iPhone style */
.hero-video {
    position: relative;
    background: #000;
    border-radius: 50px;
    padding: 10px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    border: 3px solid #3a3a3c;
    width: 300px;
    aspect-ratio: 9 / 19.5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-video::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 20px;
    z-index: 10;
}
.hero-video::after {
    content: '';
    position: absolute;
    top: 26px;
    left: 50%;
    transform: translateX(12px);
    width: 10px;
    height: 10px;
    background: #0a0a0a;
    border-radius: 50%;
    z-index: 11;
    box-shadow: inset 0 0 3px rgba(30, 50, 80, 0.8), 0 0 2px rgba(50, 100, 150, 0.3);
}
.hero-video video {
    display: block;
    width: 100%;
    height: 75%;
    border-radius: 0;
    object-fit: cover;
}
.hero-title-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.hero-icon {
    width: 130px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(34, 197, 94, 0.4));
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.hero-feature-icon {
    color: var(--primary);
}
.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.hero-text h1 span { color: var(--primary); }
.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.hero-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline {
    color: var(--text-secondary);
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    border: 1px solid var(--card-border);
}
.btn-outline:hover { color: var(--text-primary); border-color: var(--text-secondary); }

/* Sections */
.section {
    padding: 5rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}
.section-dark {
    background: rgba(30, 41, 59, 0.5);
    max-width: 100%;
}
.section-dark > * {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.section-desc {
    color: var(--text-secondary);
}

/* Characters Section */
.characters-section {
    text-align: center;
}
.seasons-image-wrapper {
    max-width: 600px;
    margin: 0 auto;
}
.seasons-banner {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

/* Story - Card Layout */
.story-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    align-items: start;
}
.story-icon {
    display: flex;
    justify-content: center;
}
.story-icon .seasons-img {
    width: 150px;
    height: auto;
    border-radius: 12px;
}
.story-characters {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}
.story-characters .char-main {
    width: 70px;
    height: auto;
    filter: drop-shadow(0 4px 15px rgba(34, 197, 94, 0.3));
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
.story-characters .char-sub {
    width: 45px;
    height: auto;
    opacity: 0.9;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
.story-text h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}
.story-paragraphs {
    margin-bottom: 1.25rem;
}
.story-paragraphs p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.7;
    font-size: 0.95rem;
}
.story-highlight {
    color: var(--text-primary) !important;
    padding: 1rem 1.25rem;
    background: rgba(34, 197, 94, 0.15);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 0.95rem;
    line-height: 1.6;
}
.story-highlight strong { color: var(--primary); }

/* Tutorial Grid - Compact */
.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.tutorial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
}
.tutorial-card-image {
    aspect-ratio: 9/16;
    overflow: hidden;
}
.tutorial-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tutorial-card-content {
    padding: 1rem;
}
.tutorial-card-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
}
.tutorial-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.tutorial-card p {
    color: var(--text-secondary);
    font-size: 0.75rem;
    line-height: 1.5;
}

/* Enemies */
.enemies-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.enemy-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
}
.enemy-sprite {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.02);
    padding: 1rem;
}
.enemy-sprite img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}
.enemy-sprite img.water-variant {
    filter: hue-rotate(180deg) saturate(1.5);
}
.enemy-info {
    padding: 1rem;
}
.enemy-type {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}
.type-fall { background: #ef4444; color: white; }
.type-persist { background: #3b82f6; color: white; }
.type-fly { background: #a855f7; color: white; }
.enemy-info h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.enemy-info p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.5;
}

/* Items */
.items-showcase {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}
.item-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    text-align: center;
}
.item-sprite {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.item-sprite img {
    max-width: 64px;
    max-height: 64px;
    object-fit: contain;
}
.item-box h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.item-box p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.5;
}

/* Rewards - 2 Column Large Screenshots */
.rewards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.reward-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.reward-icon {
    margin: 0;
    text-align: center;
}
.reward-icon img {
    max-width: 200px;
    width: 100%;
    border-radius: var(--radius);
}
.reward-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}
.reward-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.reward-list {
    list-style: none;
    padding: 0.75rem;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
}
.reward-list li {
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
}
.reward-list li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: var(--primary);
}
.reward-warning {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    color: #fca5a5;
    font-size: 0.85rem;
    text-align: center;
    margin-top: 1rem;
}

/* Features (Ranking & Collection) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.feature-screenshot {
    text-align: center;
}
.feature-screenshot img {
    max-width: 200px;
    width: 100%;
    border-radius: var(--radius);
}
.feature-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}
.feature-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}
.feature-list {
    list-style: none;
    padding: 0.75rem;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
}
.feature-list li {
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
}
.feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Promo Video */
.promo-section {
    text-align: center;
}
.promo-video-wrapper {
    max-width: 800px;
    margin: 0 auto;
}
.promo-video-wrapper video {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* CTA */
.cta {
    text-align: center;
    padding: 5rem 2rem;
    background: transparent;
}
.cta h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.cta > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}
.btn-cta {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
}
.btn-cta:hover { background: var(--primary-dark); }

/* Footer */
.footer {
    padding: 3rem 2rem 1.5rem;
    border-top: 1px solid var(--card-border);
}
.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}
.footer-contact {
    margin-bottom: 1rem;
}
.footer-contact p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
}
.footer-links a:hover { color: var(--text-primary); }
.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--card-border);
}
.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title-row { justify-content: center; }
    .story-card { grid-template-columns: 1fr; text-align: center; }
    .story-icon { margin-bottom: 1rem; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .hero-video { order: -1; margin: 0 auto; }
    .features-grid { grid-template-columns: 1fr; }
    .hero-btns { justify-content: center; }
    .hero-features { justify-content: center; }
    .tutorial-grid { grid-template-columns: repeat(3, 1fr); }
    .enemies-showcase { grid-template-columns: repeat(2, 1fr); }
    .items-showcase { grid-template-columns: repeat(3, 1fr); }
    .rewards-grid { grid-template-columns: 1fr; }
    .reward-card { grid-template-columns: 150px 1fr; }
}

@media (max-width: 640px) {
    .hero-icon { width: 70px; }
    .hero-title-row { gap: 1rem; }
    .story-card { padding: 1.5rem; }
    .navbar { padding: 1rem; }
    .nav-cta { display: none; }
    .hero { padding: 5rem 1.5rem 3rem; }
    .hero-text h1 { font-size: 2rem; }
    .hero-video video { width: 260px; }
    .section { padding: 3rem 1.5rem; }
    .section-header h2 { font-size: 1.5rem; }
    .tutorial-grid { grid-template-columns: repeat(2, 1fr); }
    .enemies-showcase { grid-template-columns: 1fr 1fr; }
    .enemy-sprite { height: 100px; }
    .items-showcase { grid-template-columns: repeat(2, 1fr); }
    .reward-card { grid-template-columns: 1fr; }
    .reward-icon { max-width: 200px; margin: 0 auto; }
}
