/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: "Comic Sans MS", "Times New Roman", serif;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="50" height="50" fill="%23ffffcc"/><rect x="50" y="50" width="50" height="50" fill="%23ffffcc"/><rect x="50" y="0" width="50" height="50" fill="%23f0f0f0"/><rect x="0" y="50" width="50" height="50" fill="%23f0f0f0"/></svg>') repeat;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.4;
    cursor: wait;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffcc;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-size: 24px;
    font-family: "Comic Sans MS";
}

.loading-content {
    text-align: center;
}

/* Manager's Special Banner */
.managers-special {
    background: linear-gradient(45deg, #ff0000, #ffff00, #ff0000);
    color: white;
    padding: 10px 0;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: flash 1s infinite;
}

@keyframes flash {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* Sticky Header */
.sticky-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background: #ffffcc;
    border-bottom: 1px dashed #999;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.janky-nav ul {
    list-style: none;
    margin: 0;
    padding: 15px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.janky-nav li {
    position: relative;
}

.janky-nav li.misaligned {
    top: 2px;
}

.janky-nav a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 10px;
    border: 1px solid transparent;
    transition: all 0.1s ease;
}

.janky-nav a:hover {
    text-decoration: underline;
    text-decoration-color: blue;
    border: 1px solid #ccc;
    background: #f0f0f0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ffffcc 0%, #ffcccc 100%);
    padding: 50px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.main-title {
    font-size: 72px;
    font-family: "Comic Sans MS", cursive;
    color: #333;
    margin: 0 0 20px 0;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    transform: rotate(-1deg);
    animation: wobble 3s ease-in-out infinite;
}

@keyframes wobble {
    0%, 100% { transform: rotate(-1deg); }
    50% { transform: rotate(1deg); }
}

.subtitle {
    font-size: 24px;
    font-family: "Times New Roman", serif;
    color: #666;
    margin: 0 0 30px 0;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.janky-button {
    background: linear-gradient(to bottom, #ffcccc, #cc9999);
    border: 2px outset #ccc;
    padding: 15px 25px;
    font-family: "Comic Sans MS";
    font-size: 16px;
    cursor: wait;
    color: #333;
    text-decoration: none;
    display: inline-block;
    transform: rotate(1deg);
    box-shadow: 3px 3px 5px rgba(0,0,0,0.2);
    transition: all 0.1s ease;
}

.janky-button:hover {
    background: linear-gradient(to bottom, #ff9999, #cc6666);
    transform: rotate(-1deg) scale(1.05);
}

.janky-button:active {
    border: 2px inset #ccc;
    position: relative;
    top: 2px;
    left: 2px;
    transform: rotate(0deg);
}

.sticky-button {
    border: 1px solid #000;
    border-width: 1px 2px 2px 1px;
}

.hero-image {
    margin-top: 30px;
    opacity: 0.7;
}

.hero-image img {
    width: 400px;
    height: 200px;
    border: 3px solid #ccc;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.3);
}

/* Tokenomics Section */
.tokenomics {
    padding: 50px 20px;
    background: #f9f9f9;
    text-align: center;
}

.tokenomics h2 {
    font-size: 36px;
    font-family: "Comic Sans MS";
    color: #333;
    margin-bottom: 30px;
    text-decoration: underline;
}

.tokenomics-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.pie-chart-container {
    position: relative;
}

.pie-chart {
    width: 300px;
    height: 300px;
    border: 2px solid #ccc;
    border-radius: 50%;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.2);
}

.chart-watermark {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.8);
    padding: 5px;
    font-size: 12px;
    color: #666;
    border: 1px solid #ccc;
}

.tokenomics-text {
    text-align: left;
    font-size: 18px;
    line-height: 1.6;
}

.tokenomics-text p {
    margin: 15px 0;
    padding: 10px;
    background: #ffffcc;
    border-left: 4px solid #ffcccc;
}

/* Market Cap Counter */
.market-cap {
    padding: 30px 20px;
    background: #ffffcc;
    text-align: center;
    border-top: 2px dashed #999;
    border-bottom: 2px dashed #999;
}

.market-cap h2 {
    font-size: 28px;
    font-family: "Comic Sans MS";
    margin-bottom: 15px;
}

.counter-container {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    font-family: "Courier New", monospace;
}

.counter-container small {
    display: block;
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

/* Airdrops Section */
.airdrops {
    padding: 50px 20px;
    background: #f0f0f0;
    text-align: center;
}

.airdrops h2 {
    font-size: 32px;
    font-family: "Comic Sans MS";
    margin-bottom: 30px;
}

.airdrop-content {
    max-width: 600px;
    margin: 0 auto;
}

.broken-image {
    width: 200px;
    height: 150px;
    background: #ccc;
    border: 2px dashed #999;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    font-size: 14px;
    color: #666;
}

.under-construction {
    margin-top: 30px;
    padding: 20px;
    background: #ffffcc;
    border: 2px solid #ffcccc;
    border-radius: 10px;
}

/* Chat Section */
.chat {
    padding: 50px 20px;
    background: #f9f9f9;
}

.chat h2 {
    font-size: 32px;
    font-family: "Comic Sans MS";
    text-align: center;
    margin-bottom: 30px;
}

.chat-container {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffcc;
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 20px;
}

.chat-message {
    margin: 15px 0;
    padding: 10px;
    background: #f0f0f0;
    border-left: 4px solid #ffcccc;
    border-radius: 5px;
}

/* Footer */
.janky-footer {
    background: #333;
    color: #ccc;
    padding: 30px 20px;
    text-align: center;
    border-top: 3px solid #ffcccc;
}

.footer-content p {
    margin: 10px 0;
    font-size: 14px;
}

/* Cursor Trail Effect */
.cursor-trail {
    position: absolute;
    width: 5px;
    height: 5px;
    background: red;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.7;
    z-index: 9999;
}

/* Mobile Responsiveness (Deliberately Worse) */
@media (max-width: 768px) {
    .main-title {
        font-size: 36px;
        line-height: 1.2;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    .janky-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .janky-nav li.misaligned {
        top: 0;
        left: 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tokenomics-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .pie-chart {
        width: 200px;
        height: 200px;
    }
    
    .counter-container {
        font-size: 32px;
    }
    
    /* Make mobile deliberately worse */
    .hero {
        padding: 20px 10px;
    }
    
    .tokenomics, .airdrops, .chat {
        padding: 20px 10px;
    }
    
    .janky-button {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* Additional Jank Effects */
@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.glitch-effect {
    animation: glitch 0.3s infinite;
}

/* Coffee Stain Effect */
.coffee-stain {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #8B4513 0%, #A0522D 50%, transparent 70%);
    border-radius: 50%;
    opacity: 0.6;
    top: 20px;
    right: 20px;
    transform: rotate(15deg);
}

/* Blink Animation for Older Browsers */
blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}
