@font-face {
    font-family: 'PONKE';
    src: url(img/font/ponke.ttf) format("truetype");
    font-display: swap;
}

/* ===== ROOT VARIABLES ===== */
:root {
    --primary-color: #7e3300;
    --primary-dark: #5a2400;
    --primary-light: #a34d1a;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --text-white: #fff;
    --text-light: #d4d4d4;
    --border-color: #000;
    --transition: all 0.3s ease;
}

/* ===== GLOBAL RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PONKE', 'Arial', sans-serif;
    color: var(--text-white);
    background: var(--bg-dark);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* ===== CANVAS BACKGROUND EFFECTS ===== */
#effects-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

#background-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* ===== STREET LIGHTS EFFECT ===== */
.street-lights {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.street-light {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    animation: flicker 4s ease-in-out infinite;
    will-change: opacity;
}

.light-1 {
    background: radial-gradient(circle, rgba(255, 200, 100, 0.8) 0%, transparent 70%);
    top: 5%;
    left: 10%;
    animation-delay: 0s;
}

.light-2 {
    background: radial-gradient(circle, rgba(255, 180, 80, 0.7) 0%, transparent 70%);
    top: 15%;
    right: 15%;
    animation-delay: 1.5s;
}

.light-3 {
    background: radial-gradient(circle, rgba(255, 220, 120, 0.75) 0%, transparent 70%);
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 3s;
}

@keyframes flicker {
    0%, 100% {
        opacity: 0.25;
    }
    20% {
        opacity: 0.18;
    }
    40% {
        opacity: 0.3;
    }
    60% {
        opacity: 0.15;
    }
    80% {
        opacity: 0.28;
    }
}

/* ===== MAIN SECTION ===== */
section#main {
    position: relative;
    z-index: 10;
    padding: 60px 0 0 0;
    min-height: auto;
}

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

.main-title {
    font-size: clamp(3.5rem, 12vw, 7rem);
    color: var(--primary-color);
    text-shadow: -3px -3px 0 #fff, 3px -3px 0 #fff, -3px 3px 0 #fff, 3px 3px 0 #fff;
    font-weight: bold;
    letter-spacing: 0.05em;
    margin: 0 0 20px 0;
    line-height: 1;
}

.tagline {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--text-light);
    margin: 0 0 60px 0;
}

.quote-mark {
    color: var(--primary-color);
    font-size: 1.4em;
    font-weight: bold;
}

/* ===== MAIN CONTENT LAYOUT ===== */
.main-content-section {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    gap: 40px;
    margin: 0;
}

.character-column {
    padding: 0;
    display: flex;
    align-items: flex-end;
}

.content-column {
    padding: 0 30px 40px 30px;
}

.doomer-character-container {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    display: flex;
    align-items: flex-end;
}

.doomer-main-img {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 40px rgba(126, 51, 0, 0.8));
    animation: float 4s ease-in-out infinite;
    margin: 0 auto;
    transform-origin: bottom center;
    mask-image: linear-gradient(to bottom, black 15%, transparent);
    filter: blur(1px);
}

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

/* ===== DESCRIPTION AND CTA ===== */
.description-text {
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    line-height: 1.8;
    color: var(--text-light);
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    border: 2px solid var(--primary-color);
    margin-bottom: 30px;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: bold;
}

.cta-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.btn-buy-main {
    display: block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
    text-decoration: none;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: bold;
    padding: 20px 40px;
    border-radius: 10px;
    border: 3px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.btn-buy-main:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(126, 51, 0, 0.7);
}

.social-links-main {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 25px;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    text-decoration: none;
    color: var(--text-white);
    font-size: clamp(1rem, 2vw, 1.3rem);
    transition: var(--transition);
}

.social-link img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(126, 51, 0, 0.6);
}

/* ===== TICKER SECTION - FIXED ===== */
section#ticker {
    position: relative;
    z-index: 10;
    background: var(--primary-color);
    border-top: 4px solid var(--border-color);
    border-bottom: 4px solid var(--border-color);
    padding: 0;
    margin: 0;
    overflow: hidden;
    height: 60px;
    display: flex;
    align-items: center;
}

.ticker-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
}

.ticker-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
    height: 100%;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: bold;
    color: var(--bg-darker);
    padding: 0 60px;
    height: 100%;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ===== TOKENOMICS SECTION - REDESIGNED ===== */
section#tokenomics {
    position: relative;
    z-index: 10;
    padding: 100px 0;
}

.section-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: var(--primary-color);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--text-light);
    margin-bottom: 60px;
    letter-spacing: 0.02em;
}

.tokenomics-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.token-card {
    background: linear-gradient(135deg, rgba(126, 51, 0, 0.2), rgba(90, 36, 0, 0.4));
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.token-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(126, 51, 0, 0.5);
    border-color: var(--primary-light);
}

.token-card h3 {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: var(--primary-light);
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.token-value {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--text-white);
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
}

.token-ticker {
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: var(--text-light);
    display: block;
    margin-top: 10px;
}

.contract-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contract-features span {
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: var(--text-white);
    background: rgba(126, 51, 0, 0.3);
    padding: 10px 20px;
    border-radius: 5px;
}

.btn-buy-secondary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-white);
    text-decoration: none;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: bold;
    padding: 20px 50px;
    border-radius: 10px;
    border: 3px solid var(--border-color);
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.btn-buy-secondary:hover {
    background: var(--primary-light);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(126, 51, 0, 0.7);
}

/* ===== SOCIAL SECTION - REDESIGNED ===== */
section#social {
    position: relative;
    z-index: 10;
    padding: 100px 0;
    border-top: 4px solid var(--border-color);
}

.social-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 25px;
    background: linear-gradient(135deg, rgba(126, 51, 0, 0.3), rgba(90, 36, 0, 0.5));
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    padding: 30px;
    text-decoration: none;
    color: var(--text-white);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    min-width: 300px;
}

.social-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 40px rgba(126, 51, 0, 0.6);
    border-color: var(--primary-light);
}

.social-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
    flex-shrink: 0;
}

.social-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.social-info h3 {
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    color: var(--primary-light);
    margin: 0 0 5px 0;
}

.social-info p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-light);
    margin: 0;
}

/* ===== FINAL CTA ===== */
.final-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.doomer-gif {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    border: 4px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.btn-final {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--text-white);
    text-decoration: none;
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    font-weight: bold;
    padding: 25px 60px;
    border-radius: 10px;
    border: 4px solid var(--border-color);
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    }
    50% {
        box-shadow: 0 5px 30px rgba(126, 51, 0, 0.8), 0 0 40px rgba(126, 51, 0, 0.4);
    }
}

.btn-final:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 40px rgba(126, 51, 0, 0.8);
    animation: none;
}

/* ===== SCROLL TO TOP BUTTON - FIXED ===== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 55px;
    height: 55px;
    background: var(--primary-color);
    border: 3px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(126, 51, 0, 0.7);
}

.scroll-top-btn svg {
    width: 24px;
    height: 24px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    section#main {
        padding: 40px 0 0 0;
    }

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

    .main-content-section {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .character-column {
        width: 100%;
        max-width: 600px;
    }

    .content-column {
        padding: 0 20px 30px 20px;
    }

    .doomer-main-img {
        max-width: 600px;
        
    }

    .tokenomics-grid {
        flex-direction: column;
        align-items: center;
    }

    .token-card {
        max-width: 500px;
        width: 100%;
    }

    .social-grid {
        flex-direction: column;
        align-items: center;
    }

    .social-card {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    section#main {
        padding: 30px 0 0 0;
    }

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

    .main-title {
        margin-bottom: 15px;
    }

    .tagline {
        margin-bottom: 30px;
    }

    .main-content-section {
        gap: 20px;
    }

    .character-column {
        max-width: 500px;
    }

    .content-column {
        padding: 0 15px 20px 15px;
    }

    .doomer-main-img {
        max-width: 500px;
    }

    .description-text {
        padding: 20px;
    }

    .social-link {
        padding: 12px 20px;
    }

    .social-link img {
        width: 25px;
        height: 25px;
    }

    section#ticker {
        height: 50px;
    }

    section#tokenomics,
    section#social {
        padding: 60px 0;
    }

    .token-card {
        padding: 30px 20px;
        min-height: 180px;
    }

    .social-card {
        padding: 20px;
        min-width: auto;
    }

    .social-icon {
        width: 60px;
        height: 60px;
    }

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

    .scroll-top-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .scroll-top-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 576px) {
    section#main {
        padding: 20px 0 0 0;
    }

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

    .main-content-section {
        padding: 0;
        gap: 15px;
    }

    .character-column {
        max-width: 100%;
        padding: 0 15px;
    }

    .content-column {
        padding: 0 15px 15px 15px;
    }

    .doomer-main-img {
        max-width: 100%;
    }

    .description-text {
        padding: 15px;
    }

    .cta-section {
        gap: 15px;
    }

    .btn-buy-main {
        padding: 15px 30px;
    }

    .social-links-main {
        flex-direction: column;
        gap: 15px;
    }

    .social-link {
        width: 100%;
        justify-content: center;
    }

    section#ticker {
        height: 45px;
    }

    .ticker-item {
        padding: 0 40px;
    }

    section#tokenomics,
    section#social {
        padding: 50px 0;
    }

    .section-subtitle {
        margin-bottom: 40px;
        padding: 0 15px;
    }

    .tokenomics-grid {
        gap: 20px;
    }

    .token-card {
        padding: 25px 15px;
    }

    .btn-buy-secondary,
    .btn-final {
        padding: 15px 40px;
    }

    .social-grid {
        gap: 20px;
    }

    .social-card {
        flex-direction: column;
        text-align: center;
    }

    .street-light {
        width: 250px;
        height: 250px;
        filter: blur(60px);
    }
}
