/* Orange Sadfrogger - Meme Coin Website 
   Theme: Retro Cartoon Meme Web with Orange Theme
   Font: Bangers
*/

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

/* Root Variables */
:root {
    /* Colors - Adjusted to Orange Theme */
    --primary: #FF8C00; /* Changed from green to orange */
    --primary-dark: #E67300; /* Darker orange */
    --surface: #F7F4D9; /* Cream off-white */
    --text-primary: #000000; /* Black */
    --text-secondary: #FFF4E0; /* Light creamy yellow */
    --outline: #000000; /* Black */
    --accent-1: #40E0D0; /* Teal */
    --accent-2: #8A2BE2; /* Purple */
    --accent-3: #3D6B35; /* Green */
    
    /* Typography */
    --font-family: 'Bangers', cursive; /* Using Bangers as requested */
    
    /* Layout */
    --container-max-width: 1140px;
    --section-padding: 80px 24px;
    --border-radius: 24px;
    --border-width: 3px;
    
    /* Effects */
    --shadow-offset: 5px;
}

/* Global Styles */
body {
    font-family: var(--font-family);
    background-color: var(--primary);
    color: var(--text-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: var(--section-padding);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
}

p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    background-color: var(--surface);
    border: var(--border-width) solid var(--outline);
    border-radius: 9999px;
    padding: 8px 24px;
    position: relative;
}

.logo {
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid var(--outline);
    margin: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--surface);
    box-shadow: 0 0 0 3px var(--primary);
    transform: translateY(-5px);
    position: relative;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center 45%;
    transform: scale(1.15);
}

.nav-links {
    display: flex;
    justify-content: center;
    width: 100%;
}

.nav-links ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.nav-links a {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: transform 0.3s;
    display: inline-block;
    color: var(--primary);
    text-shadow: 1px 1px 0 var(--outline);
}

.nav-links a:hover {
    transform: scale(1.1) rotate(-2deg);
}

.burger {
    display: none;
    cursor: pointer;
    position: absolute;
    left: 24px;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--outline);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 120px;
    position: relative;
}

.hero-content {
    background-color: var(--surface);
    padding: 40px;
    border-radius: var(--border-radius);
    border: var(--border-width) solid var(--outline);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--outline);
    max-width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center 45%;
    z-index: 2;
    position: relative;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100%;
    height: 100%;
    background-color: var(--outline);
    border-radius: 50%;
    z-index: -1;
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 6rem);
    color: var(--primary);
    -webkit-text-stroke: 2px var(--outline);
    margin-bottom: 20px;
    line-height: 1;
    text-shadow: 4px 4px 0 var(--outline);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.btn {
    font-family: var(--font-family);
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 16px;
    border: var(--border-width) solid var(--outline);
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.btn::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 100%;
    height: 100%;
    background-color: var(--outline);
    border-radius: 16px;
    z-index: -1;
}

.primary-btn {
    background-color: var(--primary);
    color: white;
}

.secondary-btn {
    background-color: var(--surface);
    color: var(--primary);
}

.btn:hover {
    transform: scale(1.05) rotate(-1deg);
}

.btn:active {
    transform: scale(0.98) rotate(0);
}

.btn.large {
    font-size: 1.5rem;
    padding: 18px 36px;
}

.contract-address {
    font-family: 'VT323', 'Courier New', monospace;
    background-color: var(--outline);
    color: var(--surface);
    padding: 15px;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.contract-address p {
    margin-bottom: 5px;
    font-size: 1.2rem;
    font-family: var(--font-family);
}

.contract-address code {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 8px 12px;
    border-radius: 8px;
    user-select: all;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    word-break: break-all;
}

.copy-btn {
    font-family: var(--font-family);
    background-color: var(--primary);
    color: white;
    border: 2px solid var(--surface);
    padding: 5px 15px;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-top: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

.copy-btn:hover {
    transform: scale(1.05);
}

.marquee {
    overflow: hidden;
    background-color: var(--outline);
    color: var(--primary);
    padding: 15px 0;
    width: 100%;
    margin-top: 60px;
}

.marquee div {
    display: flex;
    animation: marquee 15s linear infinite;
}

.marquee span {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

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

/* About Section */
.about {
    padding-top: 120px;
}

.section-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-secondary);
    text-shadow: 3px 3px 0 var(--outline);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 6px;
    background-color: var(--outline);
    margin: 20px auto;
    border-radius: 3px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background-color: var(--surface);
    padding: 30px;
    border-radius: var(--border-radius);
    border: var(--border-width) solid var(--outline);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--outline);
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

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

/* Tokenomics Section */
.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tokenomics-card {
    background-color: var(--surface);
    padding: 30px;
    border-radius: var(--border-radius);
    border: var(--border-width) solid var(--outline);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--outline);
    text-align: center;
    transition: transform 0.3s;
}

.tokenomics-card:hover {
    transform: translateY(-10px);
}

.tokenomics-card h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.token-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.tokenomics-card.wide {
    grid-column: span 2;
}

/* Roadmap Section */
.roadmap-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.roadmap-card {
    background-color: var(--surface);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: var(--border-width) solid var(--outline);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--outline);
    position: relative;
}

.roadmap-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.phase1::before {
    background-color: var(--primary);
}

.phase2::before {
    background-color: var(--accent-1);
}

.phase3::before {
    background-color: var(--accent-2);
}

.phase4::before {
    background-color: var(--accent-3);
}

.roadmap-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.roadmap-card ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    font-size: 1.1rem;
}

.roadmap-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* How to Buy Section */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.step-card {
    background-color: var(--surface);
    padding: 30px;
    border-radius: var(--border-radius);
    border: var(--border-width) solid var(--outline);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--outline);
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border: 3px solid var(--outline);
}

.step-card h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.step-card p {
    font-size: 1.1rem;
}

.buy-button-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

/* Community Section */
.community {
    text-align: center;
}

.community p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--surface);
    padding: 15px 30px;
    border-radius: 20px;
    border: var(--border-width) solid var(--outline);
    font-size: 1.3rem;
    font-weight: 700;
    transition: transform 0.3s;
}

.social-link:hover {
    transform: scale(1.05) rotate(-2deg);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.telegram {
    color: #0088cc;
}

.twitter {
    color: #1DA1F2;
}

.discord {
    color: #7289DA;
}

/* FAQ Section */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 20px;
    background-color: var(--surface);
    border-radius: var(--border-radius);
    border: var(--border-width) solid var(--outline);
    overflow: hidden;
}

.accordion-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--surface);
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: rgba(255, 140, 0, 0.1);
}

.accordion-header h3 {
    font-size: 1.5rem;
    color: var(--primary);
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--outline);
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.accordion-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.accordion-item.active .accordion-content {
    padding: 0 25px 25px;
    max-height: 300px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

/* Footer */
footer {
    background-color: var(--outline);
    color: var(--surface);
    padding: 60px 0 20px;
    margin-top: 80px;
}

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

.footer-logo {
    max-width: 150px;
    position: relative;
}

.footer-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center 45%;
}

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

.footer-links a {
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

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

.social-icons {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.social-icon {
    width: 50px;
    height: 50px;
    background-color: var(--surface);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.1) rotate(-5deg);
}

.social-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* Media Queries */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-logo {
        grid-column: span 2;
        margin: 0 auto;
    }
    
    .nav-links ul {
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 20px;
    }
    
    nav {
        justify-content: flex-end;
    }
    
    .burger {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        right: 0;
        top: 70px;
        background-color: var(--surface);
        width: 100%;
        border-radius: var(--border-radius);
        border: var(--border-width) solid var(--outline);
        padding: 20px;
        clip-path: circle(0px at 90% -10%);
        transition: clip-path 0.5s ease-out;
        z-index: 1;
    }
    
    .nav-links.active {
        clip-path: circle(1000px at 90% -10%);
    }
    
    .nav-links ul {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin: 15px 0;
        transform: none;
    }
    
    .about-content,
    .tokenomics-grid,
    .roadmap-container,
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .tokenomics-card.wide {
        grid-column: span 1;
    }
    
    .buy-button-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
        grid-column: span 1;
    }
    
    .footer-links ul {
        grid-template-columns: 1fr;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .section-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Navigation Toggle Animation */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
} 