/* style.css */

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Document Styling */
html, body {
    background: #000080;
    color: yellow;
    font-family: "Comic Neue", "Comic Sans MS", cursive, sans-serif;
    text-align: center;
    cursor: url('images/rocket.cur'), auto;
    overflow-x: hidden;
}

/* Stars Background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/stars.gif');
    z-index: -1;
}

/* Main Container - Wider version */
.container {
    max-width: 1200px; /* Increased from 800px to 1200px */
    width: 90%; /* Use percentage for responsiveness */
    min-width: 320px; /* Set a minimum width */
    margin: 0 auto;
    background: linear-gradient(to bottom, #ff00ff, #00ffff);
    border: 10px ridge gold;
    box-shadow: 0 0 20px #ff00ff, 0 0 40px #00ffff;
    position: relative;
    overflow: hidden;
}

/* For the crypto hash header */
.crypto-header {
    background: #000;
    color: #0f0; /* That classic terminal green */
    font-family: monospace;
    font-size: 14px;
    padding: 8px;
    overflow-x: auto; /* Allows horizontal scrolling if needed */
    white-space: nowrap;
    text-align: left;
    word-break: keep-all;
}

/* Marquee */
.marquee {
    background: black;
    color: lime;
    font-weight: bold;
    padding: 10px;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
}

.marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.flame {
    width: 50px;
    height: 80px;
    margin: 0 15px;
}

.title {
    font-size: 4rem;
    text-shadow: 5px 5px 0 #000;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

/* Logo */
.logo-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    width: 100%;
}

.logo {
    width: 300px;
    height: 300px;
    max-width: 90%; /* Ensure it's responsive */
    border: 5px dashed #ff0;
    border-radius: 50%;
    animation: rotate 10s linear infinite;
    background: rgba(0,0,0,0.5);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Tagline */
.tagline {
    background: rgba(0,0,0,0.7);
    padding: 15px;
    margin: 20px;
    border: 3px outset silver;
}

.tagline h2 {
    color: #ff0;
    text-shadow: 2px 2px 0 #f00;
    font-size: 1.5rem;
    word-wrap: break-word; /* Allow long words to break */
}

/* Stats Container */
.stats-container {
    background: url('images/matrix.gif');
    color: #0f0;
    padding: 20px;
    margin: 20px;
    border: 3px outset silver;
}

.stats-title {
    text-shadow: 2px 2px 0 #000;
    margin-bottom: 15px;
    white-space: normal; /* Allow text to wrap */
}

.specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 5px;
    font-size: 1.2rem;
}

.specs-table td {
    padding: 8px;
    border: 2px inset #00f;
    background: rgba(0,0,0,0.7);
    word-wrap: break-word; /* Allow content to wrap */
}

.specs-table td:first-child {
    text-align: right;
    font-weight: bold;
    width: 30%;
}

/* Tokenomics */
.tokenomics {
    background: linear-gradient(to right, #000, #008, #000);
    padding: 20px;
    margin: 20px;
    border: 5px outset silver;
}

.tokenomics h2 {
    color: #f0f;
    text-shadow: 2px 2px 0 #000;
    margin-bottom: 15px;
}

.token-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.token-stat {
    display: flex;
    flex-direction: column;
    margin: 10px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: #0f0;
    text-shadow: 2px 2px 0 #000;
}

.stat-label {
    font-size: 0.9rem;
    color: #fff;
}

/* Buy Container */
.buy-container {
    text-align: center;
    margin: 30px 0;
}

.buy-title {
    color: #f00;
    font-size: 2.5rem;
    text-shadow: 2px 2px 0 #ff0, 4px 4px 0 #000;
    margin-bottom: 20px;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.buy-button {
    background: linear-gradient(to bottom, #00ff00, #006600);
    color: white;
    border: 5px outset green;
    padding: 15px 30px;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: "Comic Neue", "Comic Sans MS", cursive;
    cursor: pointer;
    text-shadow: 2px 2px 0 #000;
    transition: transform 0.2s;
}

.buy-button:hover {
    transform: scale(1.05);
    background: linear-gradient(to bottom, #00ff00, #009900);
}

.buy-button:active {
    border-style: inset;
    transform: scale(0.98);
}

/* Counter */
.counter {
    background: #000;
    color: #0f0;
    padding: 15px;
    margin: 20px;
    border: 3px ridge silver;
    font-weight: bold;
}

.counter p {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.counter-button {
    background: linear-gradient(to bottom, red, yellow);
    border: 3px outset gray;
    padding: 10px;
    font-weight: bold;
    font-family: "Comic Neue", "Comic Sans MS", cursive;
    cursor: pointer;
}

/* Construction */
.construction {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.construction img {
    width: 100px;
    height: 50px;
    margin: 0 10px;
}

.construction span {
    color: #f00;
    font-weight: bold;
    margin: 0 10px;
    text-shadow: 1px 1px 0 #000;
}

/* Footer */
footer {
    background: #000;
    color: #fff;
    padding: 20px;
    border-top: 5px ridge silver;
}

footer p {
    margin: 10px 0;
}

.web-badges {
    display: flex;
    justify-content: center;
    margin: 15px 0;
    gap: 10px;
    flex-wrap: wrap;
}

.web-badges img {
    height: 40px;
}

.midi-player {
    margin: 15px 0;
}

#midi-button {
    background: linear-gradient(to bottom, #00f, #008);
    color: white;
    border: 3px outset blue;
    padding: 5px 15px;
    font-family: "Comic Neue", "Comic Sans MS", cursive;
    cursor: pointer;
}

/* Color Classes */
.blue { color: blue; }
.red { color: red; }
.green { color: lime; }
.yellow { color: yellow; }
.purple { color: purple; }
.orange { color: orange; }
.cyan { color: cyan; }
.pink { color: pink; }
.lime { color: lime; }
.magenta { color: magenta; }
.teal { color: teal; }

/* Animations */
.blink {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Make images responsive by default */
img {
    max-width: 100%;
    height: auto;
}

/* Cursor trail elements */
.cursor-trail {
    pointer-events: none;
    position: fixed;
    z-index: 9999;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .title {
        font-size: 3rem;
    }
    
    .buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .buy-button {
        margin-bottom: 10px;
    }
    
    .construction {
        flex-direction: column;
    }
    
    .construction img {
        margin: 10px;
    }
    
    .specs-table td:first-child {
        width: 40%;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2.5rem;
    }
    
    .flame {
        width: 30px;
        height: 60px;
    }
    
    .logo {
        width: 200px;
        height: 200px;
    }
    
    .stats-title, .buy-title {
        font-size: 1.8rem;
    }
    
    .specs-table {
        font-size: 1rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
}
