/* PigCash - Light Lavender Blue & White Theme (Like Reference Image) */
:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #6366f1;
    --secondary: #7c3aed;
    --accent: #818cf8;
    --bg-white: #ffffff;
    --bg-lavender: #eef2ff;
    --bg-lavender-soft: #e0e7ff;
    --bg-lavender-light: #f5f7ff;
    --bg-gradient: linear-gradient(180deg, #eef2ff 0%, #e0e7ff 50%, #c7d2fe 100%);
    --bg-card: #ffffff;
    --text-primary: #1e1b4b;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --border-color: rgba(99, 102, 241, 0.15);
    --glow-primary: rgba(79, 70, 229, 0.2);
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gradient-hero: linear-gradient(180deg, #ffffff 0%, #f8faff 30%, #f0f4ff 70%, #eef2ff 100%);
    --font-family: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(99, 102, 241, 0.08);
    --shadow-md: 0 8px 20px rgba(99, 102, 241, 0.12);
    --shadow-lg: 0 15px 35px rgba(99, 102, 241, 0.15);
    --shadow-card: 0 4px 20px rgba(99, 102, 241, 0.1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: var(--font-family);
    background: var(--bg-lavender);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-gradient);
}

.floating-coin {
    position: absolute;
    font-size: 20px;
    opacity: 0.5;
    animation: floatCoin 18s infinite ease-in-out;
}

@keyframes floatCoin {

    0%,
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }

    10%,
    90% {
        opacity: 0.5;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: var(--transition);
    background: transparent;
    height: 80px;
    
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 900;
}

.logo-icon {
    font-size: 1.8rem;
    animation: pigBounce 2s infinite;
}

@keyframes pigBounce {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-4px) scale(1.05);
    }
}

.logo-text {
    color: var(--text-primary);
}

.logo-text .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
    position: relative;
    padding: 6px 0;
    transition: var(--transition);
    font-weight: 700;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 10px;
   
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.hamburger:active {
    background: rgba(79, 70, 229, 0.1);
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover,
.btn-primary:active {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover,
.btn-outline:active {
    background: var(--primary);
    color: #ffffff;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-glass:hover,
.btn-glass:active {
    background: #ffffff;
    border-color: var(--primary);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

.play-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    border-radius: 50%;
    font-size: 10px;
    color: #ffffff;
}

/* Hero */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 0 50px;
    position: relative;
    background: var(--gradient-hero);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 1.20rem;
    color: var(--primary);
    margin-bottom: 20px;
    animation: pulse 2.5s infinite;
    box-shadow: var(--shadow-sm);
    font-weight: 500;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.25);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(79, 70, 229, 0);
    }
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1.30rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    margin-bottom: 28px;
    max-width: 480px;
    line-height: 1.7;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.20rem;
    color: var(--text-secondary);
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border-color);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.piggy-bank-container {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-ring {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(124, 58, 237, 0.1));
    filter: blur(40px);
    animation: glowPulse 3s infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.piggy-bank {
    position: relative;
    z-index: 10;
}

.piggy-body {
    font-size: 120px;
    animation: piggyFloat 3s infinite;
    filter: drop-shadow(0 15px 25px rgba(79, 70, 229, 0.2));
}

@keyframes piggyFloat {

    0%,
    100% {
        transform: translateY(0) rotate(-3deg);
    }

    50% {
        transform: translateY(-15px) rotate(3deg);
    }
}

.coins-falling {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
   
}

.coins-falling .coin {
    position: absolute;
    font-size: 26px;
    animation: coinFall 2s infinite;
}

.coins-falling .coin:nth-child(1) {
    animation-delay: 0s;
    left: -15px;
}

.coins-falling .coin:nth-child(2) {
    animation-delay: 0.3s;
    left: 8px;
}

.coins-falling .coin:nth-child(3) {
    animation-delay: 0.6s;
    left: 30px;
}

.coins-falling .coin:nth-child(4) {
    animation-delay: 0.9s;
    left: -5px;
}

.coins-falling .coin:nth-child(5) {
    animation-delay: 1.2s;
    left: 20px;
}

@keyframes coinFall {
    0% {
        transform: translateY(-40px);
        opacity: 1;
    }

    100% {
        transform: translateY(80px);
        opacity: 0;
    }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-elements span {
    position: absolute;
    font-size: 32px;
    animation: floatElement 4s infinite;
    filter: drop-shadow(0 4px 10px rgba(79, 70, 229, 0.15));
}

.float-coin {
    top: 8%;
    left: 8%;
}

.float-game {
    top: 18%;
    right: 8%;
    animation-delay: 0.5s;
}

.float-star {
    bottom: 18%;
    left: 3%;
    animation-delay: 1s;
}

.float-trophy {
    bottom: 8%;
    right: 12%;
    animation-delay: 1.5s;
}

@keyframes floatElement {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(8deg);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: scrollBounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg);
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 14px;
    box-shadow: var(--shadow-sm);
    font-weight: 800;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.section-description {
    font-size: 1.40rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Games */
.games-section {
    background: var(--bg-lavender-light);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.game-card:hover,
.game-card:active {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.game-card:hover::before,
.game-card:active::before {
    transform: scaleX(1);
}

.game-card.featured {
    background: linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(238, 242, 255, 0.5));
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.game-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--gradient-primary);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
}

.game-badge.new {
    background: linear-gradient(135deg, #7c3aed, #6366f1);
}

.game-icon {
    font-size: 80px;
    margin-bottom: 14px;
}

.game-title {
    font-size: 1.30rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.game-description {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 18px;
    color: var(--secondary);
    font-weight: 600;
    font-size: 1rem;
}

.games-cta {
    text-align: center;
    margin-top: 40px;
}

/* Coins */
.coins-section {
    background: var(--bg-lavender);
    overflow: hidden;
}

.coins-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.coin-tiers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}

.tier-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 18px;
    border-radius: 18px;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.tier-card:hover,
.tier-card:active {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.tier-icon {
    font-size: 28px;
}

.tier-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--text-primary);
}

.tier-info p {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.coins-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.big-coin {
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: coinRotate 12s linear infinite;
    box-shadow: 0 0 50px var(--glow-primary);
}

.big-coin span {
    font-size: 65px;
}

.coin-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 6px;
}

@keyframes coinRotate {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

/* Features */
.features-section {
    background: var(--bg-lavender-soft);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 35px 28px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.feature-card:hover,
.feature-card:active {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 44px;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 600;
}

/* About */
.about-section {
    background: var(--bg-lavender-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 14px;
    font-size: 1.40rem;
    line-height: 1.7;
}

.about-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 1.40rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.highlight-icon {
    color: var(--primary);
    font-weight: 700;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-frame {
    position: relative;
    width: 260px;
    height: 260px;
    background: var(--gradient-primary);
    border-radius: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.piggy-mascot {
    font-size: 100px;
    animation: piggyFloat 3s infinite;
}

.mascot-coins {
    position: absolute;
    width: 100%;
    height: 100%;
}

.mascot-coins span {
    position: absolute;
    font-size: 28px;
    animation: floatElement 3s infinite;
}

.mascot-coins span:nth-child(1) {
    top: 8%;
    left: 8%;
}

.mascot-coins span:nth-child(2) {
    top: 12%;
    right: 8%;
    animation-delay: 0.5s;
}

.mascot-coins span:nth-child(3) {
    bottom: 12%;
    left: 12%;
    animation-delay: 1s;
}

/* CTA */
.cta-section {
    background: var(--gradient-primary);
}

.cta-content {
    text-align: center;
    padding: 35px 0;
}

.cta-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 14px;
    color: #ffffff;
}

.cta-content h2 .gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.30rem;
    margin-bottom: 28px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
   
}

.cta-buttons .btn-primary {
    background: #ffffff;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.cta-buttons .btn-primary:hover {
    background: #f5f7ff;
}

.cta-buttons .btn-outline {
    border-color: #ffffff;
    color: #ffffff;
}

.cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Footer */
.footer {
    background: var(--text-primary);
    padding: 70px 0 35px;
    color: #ffffff;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer .logo-text {
    color: #ffffff;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin: 14px 0 22px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: var(--transition);
}

.social-link:hover,
.social-link:active {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.footer-column h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: #ffffff;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 7px 0;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-column a:hover,
.footer-column a:active {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 28px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {

    .hero-container,
    .coins-content,
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero-description {
        margin: 0 auto 28px;
    }

    .hero-buttons,
    .hero-stats {
        justify-content: center;
    }

    .piggy-bank-container {
        width: 260px;
        height: 260px;
    }

    .piggy-body {
        font-size: 90px;
    }

    .about-highlights {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        transform: translateX(100%);
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.4rem;
        color: var(--text-primary);
        padding: 12px;
    }

    .nav-actions {
        display: none;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        padding: 90px 0 35px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .games-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .game-card {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .game-icon {
        font-size: 44px;
    }

    .game-title {
        font-size: 1rem;
    }

    .coin-tiers {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }

    .image-frame {
        width: 200px;
        height: 200px;
    }

    .piggy-mascot {
        font-size: 70px;
    }

    .big-coin {
        width: 160px;
        height: 160px;
    }

    .big-coin span {
        font-size: 45px;
    }

    .coin-value {
        font-size: 1rem;
    }

    .section-header {
        margin-bottom: 35px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .game-card {
        padding: 24px 20px;
    }

    .game-icon {
        font-size: 50px;
        margin-bottom: 12px;
    }

    .btn {
        padding: 14px 24px;
    }

    .btn-lg {
        padding: 16px 28px;
    }

    .piggy-bank-container {
        width: 220px;
        height: 220px;
    }

    .piggy-body {
        font-size: 75px;
    }

    .floating-elements span {
        font-size: 24px;
    }

    .scroll-indicator {
        display: none;
    }
}

/* Touch Device */
@media (hover: none) and (pointer: coarse) {

    .game-card:hover,
    .feature-card:hover,
    .tier-card:hover {
        transform: none;
    }

    .game-card:active,
    .feature-card:active,
    .tier-card:active {
        transform: scale(0.98);
    }

    .btn:hover {
        transform: none;
    }

    .btn:active {
        transform: scale(0.97);
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.5s ease;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.5s ease;
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.5s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Safe Area */
@supports (padding: env(safe-area-inset-bottom)) {
    .footer-bottom {
        padding-bottom: calc(28px + env(safe-area-inset-bottom));
    }

    .navbar {
        padding-top: max(12px, env(safe-area-inset-top));
    }
}