@import url('https://fonts.googleapis.com/css2?family=Anton&family=Fredoka:wght@300..700&display=swap');

:root {
    --primary-color: #F5B800;
    --secondary-color: #ffffff;
    --text-dark: #c8d8c9;
    --text-light: #f5f5f5;
    --accent-color: #c48f00;
    --font-main: 'Fredoka', sans-serif;
    --font-heading: 'Anton', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-main);
    background: #0a0a0a url('assets/bg.png') center center / cover fixed;
    color: var(--text-light);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

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

/* Splash screen removed */

/* Header */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 10px 0;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* =====================================================
   GAME SECTION — Soccer Inu Penalty Shootout
   ===================================================== */
.game-section { padding: 80px 0 100px; }

.game-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 0 4px rgba(245,184,0,0.15), 0 20px 60px rgba(0,0,0,0.6);
    background: #0a1a0a;
    aspect-ratio: 900 / 500;
}

#game-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.game-ui {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 14px;
    z-index: 10;
}

.score-board {
    display: inline-flex;
    gap: 6px;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 20px;
    padding: 7px 22px;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
    letter-spacing: 1px;
}

.hidden { display: none !important; }

.game-msg {
    position: absolute;
    top: 44%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 22px;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
    text-align: center;
    width: 100%;
    pointer-events: none;
}

#start-game-btn,
#shoot-btn {
    pointer-events: auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 44px;
    font-family: var(--font-heading);
    font-size: 24px;
    text-transform: uppercase;
    border-radius: 10px;
    border: 3px solid #000;
    box-shadow: 5px 5px 0 #000;
    cursor: pointer;
    z-index: 20;
    white-space: nowrap;
    background: var(--primary-color);
    color: #000;
    transition: box-shadow 0.08s, transform 0.08s;
    text-decoration: none;
    display: inline-block;
}

#start-game-btn {
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50px;
}

#shoot-btn {
    /* Circle button — bottom right corner */
    bottom: 6%;
    left: auto;
    right: 4%;
    transform: none;
    width: 90px;
    height: 90px;
    padding: 0;
    border-radius: 50%;
    background: #e74c3c;
    color: #fff;
    border-color: #8b0000;
    box-shadow: 4px 4px 0 #8b0000;
    font-size: 13px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#shoot-btn:hover { box-shadow: 6px 6px 0 #8b0000; transform: translate(-2px,-2px); }
#shoot-btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 #8b0000; }

.penalty-ui { display: none !important; }
.game-controls-hint { display: none; }

@media (max-width: 900px) {
    .score-board { font-size: 15px; padding: 5px 14px; }
    #start-game-btn, #shoot-btn { font-size: 18px; padding: 10px 28px; }
}
@media (max-width: 540px) {
    .score-board { font-size: 12px; padding: 4px 10px; }
    #start-game-btn, #shoot-btn { font-size: 14px; padding: 8px 18px; }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 45px;
}

.logo span {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--text-light);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-socials {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 10px;
}

.header-socials a {
    display: flex;
    transition: var(--transition);
}

.header-socials a:hover {
    transform: translateY(-2px);
}

.header-socials img {
    height: 24px;
    width: auto;
}

.btn-buy {
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(116, 211, 67, 0.4);
    border-bottom: 4px solid #50922e;
    transition: var(--transition);
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 181, 0, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/bg.png') no-repeat center center;
    background-size: cover;
    z-index: -1;
    filter: brightness(0.7);
}

.hero-container-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 60px 0;
    min-height: calc(100vh - 120px);
}

.hero-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    max-width: 650px;
    text-align: left;
    margin-top: 120px; /* Lowered the section as requested */
}

.hero-logo-group {
    display: flex;
    align-items: center;
}

.hero-title-main {
    font-family: var(--font-heading);
    font-size: 110px;
    line-height: 1;
    color: var(--primary-color);
    text-transform: uppercase;
    text-shadow: 4px 4px 0px #000;
    white-space: nowrap;
    margin: 0;
}

.hero-slogan {
    font-family: 'Luckiest Guy', cursive;
    font-size: 38px;
    color: #fff;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0px #000;
}

.hero-socials-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.hero-socials-row a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #000;
    border-radius: 50%;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-socials-row a:hover {
    transform: translateY(-4px);
    background: var(--primary-color);
}

.hero-socials-row img {
    height: 22px;
    width: auto;
    filter: brightness(0) invert(1);
}

.hero-socials-row a:hover img {
    filter: brightness(0);
}

.hero-ca-bar {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    width: 100%;
    max-width: 480px;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 2px solid #000;
    position: relative; /* For tooltip positioning */
}

.copy-success-tooltip {
    position: absolute;
    top: -45px;
    right: 20px;
    background: #000;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.copy-success-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(-5px);
}

.copy-success-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 15px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #000;
}

.ca-text-value {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 14px;
    color: #000;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.copy-ca-button {
    background: transparent;
    border: none;
    color: #000;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    transition: var(--transition);
}

.copy-ca-button:hover {
    transform: scale(1.2);
    color: var(--primary-color);
}

.hero-buy-btn {
    display: inline-block;
    background: var(--primary-color);
    color: #000;
    font-family: var(--font-heading);
    font-size: 32px;
    padding: 15px 50px;
    border-radius: 12px;
    text-decoration: none;
    border: 3px solid #000;
    box-shadow: 6px 6px 0px #000;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.hero-buy-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px #000;
}

.hero-buy-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-mascot {
    width: 100%;
    max-width: 850px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
    animation: heroFloat 4s ease-in-out infinite;
    margin-top: 80px; /* Lowered the mascot */
}

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

@media (max-width: 992px) {
    .hero-container-split {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }
    .hero-left {
        align-items: center;
        text-align: center;
    }
    .hero-logo-group {
        flex-direction: column;
        gap: 10px;
    }
    .hero-title-main { 
        font-size: 60px; 
        white-space: normal;
        line-height: 1;
    }
    .hero-right { justify-content: center; margin-top: 40px; }
}

/* Cleaned up old hero classes */

/* Responsive */
@media (max-width: 1024px) {
    header {
        top: 0;
        width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
    }
    .nav-links { display: none; }
    .hero-center h1 { font-size: 80px; }
    .hero-center h2 { font-size: 20px; }
}

/* About Section (Section 2) */
.about-section {
    background: rgba(5, 15, 5, 0.82);
    padding: 100px 0;
    position: relative;
    overflow: visible;
    z-index: 1;
    backdrop-filter: blur(2px);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-content {
    flex: 1;
}

.sub-title {
    display: block;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 64px;
    color: var(--text-light);
    line-height: 1.1;
    margin-bottom: 30px;
}

.about-text {
    margin-bottom: 40px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-light);
    opacity: 0.9;
    margin-bottom: 20px;
    font-weight: 500;
}

.about-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-outline {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 800;
    font-size: 14px;
    border-bottom: 2px solid var(--text-dark);
    transition: var(--transition);
}

.btn-outline:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.meme-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.meme-img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.meme-wrapper:hover .meme-img {
    transform: scale(1.05);
}

/* Responsive updates for Section 2 */
@media (max-width: 1024px) {
    .section-title { font-size: 48px; }
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .about-actions {
        justify-content: center;
        flex-direction: column;
    }
    .section-title { font-size: 38px; }
    .meme-wrapper { max-width: 400px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        padding-bottom: 0;
    }
    .hero-center h1 { font-size: 60px; }
    .hero-center h2 { font-size: 16px; }
    .hero-desc { margin: 0 auto 30px; }
    .hero-btns { justify-content: center; flex-direction: column; }
    .duck-char { 
        max-width: 350px; 
        width: 100%;
        margin-bottom: -20px;
    }
}

/* How To Buy Section (Section 3) */
.buy-section {
    background: rgba(5, 15, 5, 0.85);
    padding: 100px 0;
    position: relative;
    overflow: visible;
    z-index: 10;
    backdrop-filter: blur(2px);
}

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

.section-subtitle {
    font-family: var(--font-main);
    font-weight: 700;
    color: #666;
    margin-top: -20px;
    margin-bottom: 50px;
    font-size: 14px;
    letter-spacing: 1px;
}

.htb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.htb-card {
    background: #1a1a1a;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: left;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.htb-card::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 280deg,
        var(--primary-color) 320deg,
        transparent 360deg
    );
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotateBorder 4s linear infinite;
    z-index: -2;
}

.htb-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: #151515;
    border-radius: 22px;
    z-index: -1;
}

@keyframes rotateBorder {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.htb-card:hover {
    transform: translateY(-10px);
    background: #252525;
}

.htb-icon {
    width: 60px;
    height: 60px;
    background: #252525;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.htb-icon img {
    height: 35px;
    width: auto;
}

.htb-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.htb-card p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-dark);
    font-weight: 600;
}

.htb-character {
    position: absolute;
    left: 5%;
    top: -80px;
    z-index: 20;
    pointer-events: none;
    transform: rotate(5deg);
}

.duck-money-img {
    width: 320px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* Responsive updates for Section 3 */
@media (max-width: 1024px) {
    .htb-character { display: none; }
    .htb-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .htb-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 34px; }
    .htb-card { text-align: center; }
    .htb-icon { margin: 0 auto 20px; }
}

/* Meme Gallery Section (Section 4) */
.meme-section {
    background: rgba(5, 15, 5, 0.85);
    padding: 100px 0;
}

.meme-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.meme-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: var(--transition);
    aspect-ratio: 1 / 1;
}

.meme-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.meme-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.meme-item:hover img {
    transform: scale(1.1);
}

.meme-item.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.meme-item.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive updates for Meme Gallery */
@media (max-width: 1200px) {
    .meme-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .meme-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .meme-grid { grid-template-columns: 1fr; }
}

/* Socials Section (Section 5) */
.socials-section {
    padding: 150px 0;
    background: rgba(5, 15, 5, 0.82);
    backdrop-filter: blur(3px);
    text-align: center;
}

.socials-card {
    background-color: transparent;
    padding: 0;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: none;
    border-radius: 0;
}

.socials-title {
    font-family: var(--font-heading);
    font-size: 80px;
    margin-bottom: 25px;
    color: #ffffff;
    text-shadow: 
        3px 3px 0px #000, 
        -1px -1px 0px #000, 
        1px -1px 0px #000, 
        -1px 1px 0px #000, 
        1px 1px 0px #000;
}

.socials-text {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    background: transparent;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
}

.socials-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.socials-icons-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.socials-icons-row a {
    background: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.socials-icons-row a img {
    height: 28px;
    width: auto;
}

.socials-icons-row a:hover {
    transform: translateY(-5px);
    background: var(--primary-color);
}

.btn-buy-socials {
    background: var(--primary-color);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 20px;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-buy-socials:hover {
    background: var(--accent-color);
    transform: scale(1.05);
}

/* Responsive updates for Socials Section */
@media (max-width: 768px) {
    .socials-title { font-size: 50px; }
    .socials-text { font-size: 14px; }
    .socials-card { padding: 60px 20px 80px; }
    .socials-icons-row { flex-wrap: wrap; justify-content: center; }
}

/* Footer Bottom Bar */
footer {
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.88);
    color: #fff;
    text-align: center;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.copyright {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 5px;
    letter-spacing: 1px;
    color: var(--primary-color);
}

.disclaimer {
    font-size: 11px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 600;
    line-height: 1.6;
}



/* Particles */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    bottom: -20px;
    animation: rise linear infinite;
}

.star {
    position: absolute;
    bottom: -20px;
    animation: rise linear infinite;
}

@keyframes rise {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}
    margin: 40px auto;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 20px rgba(245, 184, 0, 0.2);
}

#game-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.game-ui {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    z-index: 10;
}

.score-board {
    align-self: center;
    background: rgba(0,0,0,0.7);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 32px;
    padding: 10px 30px;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.game-controls-hint {
    align-self: center;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 20px;
    letter-spacing: 1px;
}

#start-game-btn {
    pointer-events: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    padding: 20px 60px;
    box-shadow: 0 0 30px var(--primary-color);
}

#start-game-btn.hidden {
    display: none;
}

@media (max-width: 768px) {
    .game-container {
        height: 400px;
    }
    .score-board { font-size: 24px; }
    .game-controls-hint { font-size: 10px; }
}
