:root {
    --kitkat-red: #E31837;
    --kitkat-brown: #3C1F1E;
    --kitkat-light-brown: #6B4423;
    --kitkat-chocolate: #4A2C2A;
    --kitkat-wrapper: #D4AA7D;
    --kitkat-gold: #FFD700;
    --text-light: #FFFFFF;
    --background-dark: #1A0F0F;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background: var(--background-dark);
    color: var(--text-light);
    line-height: 1.8;
    overflow-x: hidden;
}

.chocolate-wrapper {
    background: linear-gradient(135deg, var(--kitkat-wrapper), #B38B6D);
    min-height: 100vh;
    padding: 2rem;
    position: relative;
}

.chocolate-bar {
    background: var(--kitkat-brown);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.chocolate-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.03) 10px,
        rgba(255,255,255,0.03) 20px
    );
    pointer-events: none;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 4rem 2rem;
    text-align: center;
    background: radial-gradient(circle at center, var(--kitkat-light-brown) 0%, var(--kitkat-brown) 70%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.logo {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    border: 8px solid var(--kitkat-wrapper);
    box-shadow: 0 0 30px rgba(212, 170, 125, 0.3);
    animation: chocolate-pulse 3s ease-in-out infinite;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.logo:hover {
    transform: rotate3d(1, 1, 0, 15deg);
}

@keyframes chocolate-pulse {
    0% {
        box-shadow: 0 0 30px rgba(212, 170, 125, 0.3);
    }
    50% {
        box-shadow: 0 0 50px rgba(212, 170, 125, 0.5), 0 0 80px var(--kitkat-red);
    }
    100% {
        box-shadow: 0 0 30px rgba(212, 170, 125, 0.3);
    }
}

.logo-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, var(--kitkat-red) 0%, transparent 70%);
    animation: wrapper-rotate 30s linear infinite;
    opacity: 0.3;
}

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

h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 6rem;
    letter-spacing: 10px;
    background: linear-gradient(45deg, var(--kitkat-red), var(--kitkat-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    margin: 0;
    line-height: 1;
    animation: chocolate-drip 1s ease-out both;
}

@keyframes chocolate-drip {
    0% {
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ticker {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-light);
    background: var(--kitkat-red);
    padding: 0.5rem 2rem;
    border-radius: 50px;
    display: inline-block;
    margin: 1rem 0;
    box-shadow: 0 5px 20px rgba(227, 24, 55, 0.3);
    animation: wrapper-slide-up 0.5s ease-out both;
}

.chocolate-break {
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(90deg, transparent, var(--kitkat-light-brown), transparent);
}

.break-line {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.break-line span {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--kitkat-wrapper);
    animation: break-bounce 1s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.1s);
}

@keyframes break-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 4rem 2rem;
    perspective: 1000px;
}

.stat-box {
    background: var(--kitkat-chocolate);
    padding: 2rem;
    border-radius: 15px;
    min-width: 250px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.5s ease;
}

.chocolate-piece {
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.stat-box:hover .chocolate-piece {
    transform: translateZ(30px);
}

.stat-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(212, 170, 125, 0.2),
        transparent
    );
    transform: translateX(-100%) rotate(45deg);
    animation: chocolate-shine 3s infinite;
}

@keyframes chocolate-shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    20%, 100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.stat-title {
    font-family: 'Montserrat', sans-serif;
    color: var(--kitkat-wrapper);
    margin-bottom: 1rem;
    font-size: 2rem;
    position: relative;
    z-index: 1;
}

.stat-value {
    font-size: 3rem;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    background: var(--kitkat-chocolate);
}

.feature-box {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: rgba(255,255,255,0.05);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-box i {
    font-size: 3rem;
    color: var(--kitkat-red);
    margin-bottom: 1rem;
}

.feature-box h3 {
    color: var(--kitkat-wrapper);
    margin-bottom: 1rem;
}

.cta {
    text-align: center;
    margin: 4rem 0;
}

.buy-button {
    background: linear-gradient(135deg, var(--kitkat-red), #FF4D4D);
    color: white;
    padding: 1.5rem 4rem;
    border: none;
    border-radius: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 10px 30px rgba(227, 24, 55, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.buy-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(227, 24, 55, 0.6);
}

.chain-badge {
    background: linear-gradient(135deg, #00FFA3, #03E1FF);
    color: var(--background-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    margin: 1rem 0;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 255, 163, 0.3);
    animation: badge-glow 2s ease-in-out infinite;
}

footer {
    background: var(--kitkat-brown);
    color: var(--text-light);
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-icons a {
    color: var(--text-light);
    font-size: 2rem;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    text-decoration: none;
}

.social-icons a:hover {
    transform: translateY(-5px) rotate(10deg);
    background: var(--kitkat-red);
    box-shadow: 0 5px 15px rgba(227, 24, 55, 0.3);
}

.disclaimer {
    font-size: 0.8rem;
    opacity: 0.8;
    max-width: 800px;
    margin: 1rem auto;
}

/* Responsive Design */
@media (max-width: 800px) {
    h1 {
        font-size: 4rem;
    }
    .logo {
        width: 200px;
        height: 200px;
    }
    .logo-bg {
        width: 220px;
        height: 220px;
    }
    .ticker {
        font-size: 2rem;
    }
    .description {
        font-size: 1rem;
        padding: 1.5rem;
    }
    .stat-title {
        font-size: 1.5rem;
    }
    .stat-value {
        font-size: 2rem;
    }
    .buy-button {
        font-size: 1.2rem;
        padding: 1.2rem 3rem;
    }
}

@media (max-width: 600px) {
    .chocolate-wrapper {
        padding: 1rem;
    }
    .hero {
        padding: 2rem 1rem;
    }
    h1 {
        font-size: 3rem;
        letter-spacing: 5px;
    }
    .logo {
        width: 150px;
        height: 150px;
    }
    .logo-bg {
        width: 170px;
        height: 170px;
    }
    .ticker {
        font-size: 1.5rem;
        padding: 0.5rem 1.5rem;
    }
    .stats {
        margin: 2rem 1rem;
    }
    .stat-box {
        min-width: 200px;
        padding: 1.5rem;
    }
    .features {
        padding: 2rem 1rem;
    }
    .social-icons a {
        font-size: 1.5rem;
        width: 3rem;
        height: 3rem;
    }
}

.x-logo {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--text-light);
} 