/* Base Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: #000;
    color: #fff;
    font-family: 'Press Start 2P', cursive;
    overflow-x: hidden;
    line-height: 1.6;
    background: linear-gradient(45deg, #000000, #1a1a1a);
    min-height: 100vh;
}

img, video {
    max-width: 100%;
    height: auto;
}

/* Particles Background */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

/* Ticker Animation */
.ticker-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 107, 107, 0.1);
    padding: 10px 0;
    overflow: hidden;
    z-index: 3;
    border-bottom: 2px solid rgba(255, 107, 107, 0.3);
    backdrop-filter: blur(5px);
}

.ticker {
    display: inline-block;
    white-space: nowrap;
    padding-right: 100%;
    animation: ticker 30s linear infinite;
}

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0 40px;
    margin-top: 20px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.main-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 20px;
    animation: glow 2s ease-in-out infinite alternate;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(255, 107, 107, 0.5));
}

.subtitle {
    font-size: clamp(0.8rem, 3vw, 1.2rem);
    color: #ff6b6b;
    margin-bottom: 30px;
    opacity: 0.8;
}

@keyframes glow {
    from { text-shadow: 0 0 10px #ff6b6b, 0 0 20px #ff6b6b; }
    to { text-shadow: 0 0 20px #ff6b6b, 0 0 30px #ff6b6b; }
}

/* Contract Box */
.contract-box {
    background: rgba(255, 107, 107, 0.1);
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 15px;
    border: 2px solid rgba(255, 107, 107, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contract-box:hover {
    transform: scale(1.02);
    border-color: rgba(255, 107, 107, 0.8);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.2);
}

.contract-content {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    word-break: break-all;
    padding: 0 10px;
}

.label {
    color: #ff6b6b;
    margin-right: 10px;
}

.address {
    font-family: monospace;
    font-size: 0.9em;
    max-width: 100%;
    overflow-wrap: break-word;
}

.copy-icon {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
    margin-left: 10px;
}

.copy-icon:hover {
    opacity: 1;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
    padding: 0 10px;
}

.social-button {
    padding: 15px 30px;
    border-radius: 50px;
    font-size: clamp(0.7rem, 2.5vw, 1rem);
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
    justify-content: center;
}

.telegram {
    background: #0088cc;
}

.twitter {
    background: #1da1f2;
}

.social-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

/* Transformation Section */
.transformation-section {
    margin: 60px auto;
    max-width: 1000px;
    padding: 0 15px;
}

.transformation-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 30px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    flex-wrap: wrap;
}

.transformation-box {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

.transformation-box:hover {
    transform: scale(1.05);
    border-color: rgba(255, 107, 107, 0.5);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}

.image-wrapper {
    position: relative;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 1/1;
}

.transform-img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    border: 3px solid rgba(255, 107, 107, 0.5);
    display: block;
    object-fit: cover;
}

/* Video specific styles */
video.transform-img {
    background: #000;
}

.image-label {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 107, 107, 0.9);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8em;
    white-space: nowrap;
    z-index: 2;
}

.arrow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
}

.arrow {
    font-size: 3em;
    animation: bounceX 1.5s infinite;
}

.arrow-text {
    font-size: 0.8em;
    color: #ff6b6b;
    text-align: center;
}

/* Program Section */
.program-section {
    margin: 60px auto;
    max-width: 800px;
    padding: 0 15px;
}

.program-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.program-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.program-button {
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    border: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-family: 'Press Start 2P';
    font-size: clamp(0.8rem, 2.5vw, 1.2rem);
    cursor: pointer;
    transition: all 0.3s;
    color: #000;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.program-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

.blink {
    display: block;
    font-size: 0.7em;
    color: #ff0000;
    animation: blink 1s infinite;
    margin-top: 5px;
}

.program-form {
    background: rgba(255, 107, 107, 0.1);
    padding: 30px;
    border-radius: 15px;
    margin-top: 20px;
    border: 2px solid rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
}

.form-title {
    margin-bottom: 20px;
    color: #ff6b6b;
    font-size: clamp(0.8rem, 2.5vw, 1.2rem);
}

textarea {
    width: 100%;
    height: 120px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 107, 107, 0.3);
    border-radius: 10px;
    padding: 15px;
    color: white;
    font-family: Arial, sans-serif;
    margin-bottom: 20px;
    resize: none;
    font-size: 16px;
}

.submit-button {
    background: #ff6b6b;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    font-family: 'Press Start 2P';
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    transition: all 0.3s;
}

.submit-button:hover {
    transform: scale(1.05);
    background: #ff8c8c;
}

/* Tokenomics Section */
.tokenomics-section {
    margin: 60px auto;
    max-width: 1000px;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 30px;
    color: #ff6b6b;
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.tokenomics-card {
    background: rgba(255, 107, 107, 0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tokenomics-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 107, 0.5);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.2);
}

.tokenomics-card h3 {
    color: #ff6b6b;
    margin-bottom: 15px;
    font-size: clamp(0.8rem, 2.5vw, 1rem);
}

.value {
    font-size: clamp(1.2rem, 3vw, 2em);
    margin: 15px 0;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* AI16z Section */
.ai16z-section {
    margin: 60px auto;
    background: rgba(0, 0, 255, 0.1);
    padding: 40px 15px;
    border-radius: 20px;
    max-width: 1000px;
}

.ai16z-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.ai16z-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s;
}

.ai16z-box:hover {
    transform: scale(1.02);
}

.ai16z-box h3 {
    color: #ff6b6b;
    margin-bottom: 20px;
    font-size: clamp(0.8rem, 2.5vw, 1rem);
}

.ai16z-box ul {
    list-style: none;
}

.ai16z-box li {
    margin: 15px 0;
    padding-left: 20px;
    position: relative;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
}

.ai16z-box li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ff6b6b;
}

.disclaimer {
    text-align: center;
    margin-top: 30px;
    font-size: clamp(0.6rem, 2vw, 0.8rem);
    opacity: 0.7;
}

/* Footer */
.footer-section {
    text-align: center;
    padding: 40px 15px;
    background: rgba(0, 0, 0, 0.3);
}

.copyright {
    font-size: clamp(0.6rem, 2vw, 0.8rem);
    opacity: 0.7;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b6b;
    padding: 15px 30px;
    border-radius: 20px;
    z-index: 1000;
    animation: fadeInOut 2s forwards;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

/* Program Response */
.program-response {
    background: rgba(255, 107, 107, 0.1);
    padding: 30px;
    border-radius: 15px;
    margin-top: 20px;
    border: 2px solid rgba(255, 107, 107, 0.3);
    text-align: left;
}

.program-response h3 {
    color: #ff6b6b;
    margin-bottom: 20px;
    font-size: clamp(0.8rem, 2.5vw, 1.2rem);
    text-align: center;
}

.program-steps {
    list-style: none;
    margin: 20px 0;
}

.program-steps li {
    margin: 15px 0;
    padding-left: 25px;
    position: relative;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.5s forwards;
}

.program-steps li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ff6b6b;
}

.program-extra {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 107, 107, 0.3);
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    text-align: center;
}

/* Payment Section */
.payment-section {
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
}

.payment-section .contract-box {
    margin: 15px auto;
    padding: 15px;
    font-size: clamp(0.7rem, 2vw, 0.8rem);
}

.payment-section .disclaimer {
    margin-top: 15px;
    font-size: clamp(0.6rem, 2vw, 0.7rem);
    color: #ff6b6b;
}

/* Animations */
@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, -20px); }
    20% { opacity: 1; transform: translate(-50%, 0); }
    80% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, -20px); }
}

@keyframes bounceX {
    0%, 100% { transform: translateX(0) scale(1); }
    50% { transform: translateX(10px) scale(1.2); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes shine {
    to { left: 100%; }
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.fade-section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

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

/* Mobile Optimizations */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    .contract-content {
        font-size: 0.8em;
    }

    .transformation-container {
        padding: 15px;
        gap: 15px;
    }

    .arrow-container {
        padding: 10px;
    }

    .program-button {
        padding: 15px 25px;
    }

    .tokenomics-card {
        padding: 20px;
    }

    .ai16z-box {
        padding: 20px;
    }

    .social-button {
        width: 100%;
        max-width: none;
    }

    .transform-img {
        max-height: 300px;
    }
}

/* Tablet Optimizations */
@media (min-width: 481px) and (max-width: 768px) {
    .transformation-container {
        gap: 20px;
    }

    .tokenomics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .program-button {
        max-width: 400px;
    }
}

/* Landscape Mode Fixes */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 60px 0 30px;
    }

    .transformation-container {
        padding: 20px;
    }

    .program-button {
        padding: 15px 30px;
    }
}

/* High-DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .main-title {
        text-shadow: 0 0 15px rgba(255, 107, 107, 0.7);
    }
    
    .transform-img {
        border-width: 4px;
    }
}
