/* PICO COIN website by pico!!! */
/* my first website :) */

body {
    font-family: "Comic Sans MS", cursive, sans-serif;
    background-color: navy;
    color: yellow;
    margin: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ctext x='10' y='25' font-size='20'%3E%F0%9F%AA%99%3C/text%3E%3C/svg%3E");
}

/* the scrolling thing at the top */
marquee {
    background-color: red;
    color: white;
    font-size: 20px;
    padding: 10px;
    font-weight: bold;
    border-bottom: 5px ridge gold;
}

/* navigation bar */
.navbar {
    background-color: black;
    padding: 10px;
    border-bottom: 4px dashed lime;
    text-align: center;
}

.logo {
    display: inline;
}

.logo-icon {
    width: 50px;
    height: 50px;
    vertical-align: middle;
    /* make it spin lol */
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-text {
    font-size: 30px;
    color: yellow;
}

.logo-text .coin {
    color: lime;
}

.nav-links {
    list-style: none;
    padding: 10px;
    margin: 0;
}

.nav-links li {
    display: inline;
    margin: 0 10px;
}

.nav-links a {
    color: cyan;
    text-decoration: underline;
    font-size: 18px;
}

.nav-links a:hover {
    color: hotpink;
    cursor: pointer;
}

.btn-invest {
    background-color: lime;
    color: black !important;
    padding: 5px 15px;
    border: 3px outset lime;
    text-decoration: none !important;
    font-weight: bold;
}

.btn-invest:hover {
    background-color: yellow;
    border-style: inset;
}

/* main hero part */
.hero {
    text-align: center;
    padding: 20px;
    border: 5px double gold;
    margin: 10px;
    background-color: #000080;
}

.hero-content {
    display: inline-block;
}

.hero h1 {
    font-size: 72px;
    color: gold;
    text-shadow: 3px 3px red, -3px -3px blue;
    margin: 10px;
    /* rainbow effect kinda */
    animation: rainbow 2s linear infinite;
}

@keyframes rainbow {
    0% { color: red; }
    25% { color: yellow; }
    50% { color: lime; }
    75% { color: cyan; }
    100% { color: red; }
}

.tagline {
    font-size: 24px;
    color: hotpink;
    margin: 10px;
}

.price-display {
    background-color: black;
    border: 4px ridge silver;
    padding: 15px;
    margin: 20px auto;
    display: inline-block;
}

.price-label {
    color: white;
    font-size: 16px;
}

.price-value {
    font-size: 48px;
    color: lime;
    display: block;
    /* make it blink like real stocks */
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0.7; }
}

.price-change {
    color: lime;
    font-size: 20px;
}

.hero-description {
    font-size: 18px;
    color: white;
    max-width: 600px;
    margin: 20px auto;
    line-height: 1.5;
    text-align: left;
    border: 2px dashed yellow;
    padding: 10px;
    background-color: rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    background-color: red;
    color: white;
    padding: 15px 30px;
    font-size: 24px;
    text-decoration: none;
    border: 4px outset red;
    margin: 10px;
    font-weight: bold;
}

.cta-button:hover {
    background-color: darkred;
    border-style: inset;
    cursor: pointer;
}

/* the coin picture */
.hero-graphic {
    display: inline-block;
    vertical-align: middle;
    margin: 20px;
}

.floating-coin {
    width: 200px;
    height: 200px;
    border: 5px ridge gold;
    /* make it bounce up and down */
    animation: bounce 0.5s ease-in-out infinite alternate;
}

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-20px); }
}

/* stats section */
.stats-section {
    background-color: purple;
    padding: 20px;
    margin: 10px;
    border: 5px groove fuchsia;
    text-align: center;
}

.stats-section h2 {
    color: yellow;
    font-size: 36px;
    text-shadow: 2px 2px black;
}

.stats-disclaimer {
    color: white;
    font-size: 14px;
}

.stats-grid {
    margin: 20px auto;
}

.stat-card {
    display: inline-block;
    background-color: black;
    border: 3px ridge cyan;
    padding: 20px;
    margin: 10px;
    min-width: 150px;
}

.stat-value {
    font-size: 36px;
    color: lime;
    display: block;
}

.stat-label {
    font-size: 14px;
    color: white;
}

.fine-print {
    font-size: 12px;
    color: #aaa;
}

/* leaderboard */
.leaderboard-container {
    background-color: black;
    border: 4px ridge gold;
    padding: 20px;
    max-width: 600px;
    margin: 20px auto;
}

.leaderboard-container h3 {
    color: gold;
    font-size: 28px;
    margin-bottom: 10px;
    text-shadow: 2px 2px black;
    animation: glow 2s ease-in-out infinite alternate;
}

.leaderboard-table {
    margin: 0 auto;
    border-collapse: collapse;
    background-color: #111;
    width: 100%;
}

.leaderboard-table th {
    background-color: #8B4513;
    color: gold;
    padding: 10px 15px;
    border: 2px solid gold;
    font-size: 16px;
}

.leaderboard-table td {
    padding: 10px 15px;
    border: 1px solid gold;
    color: white;
    font-size: 14px;
    text-align: center;
}

.leaderboard-table tr:nth-child(even) {
    background-color: #1a1a1a;
}

.leaderboard-table tr:hover {
    background-color: #333;
}

/* special styling for top 3 */
.leaderboard-table tr.rank-1 td {
    background-color: rgba(255, 215, 0, 0.3);
    color: gold;
    font-weight: bold;
}

.leaderboard-table tr.rank-2 td {
    background-color: rgba(192, 192, 192, 0.2);
    color: silver;
}

.leaderboard-table tr.rank-3 td {
    background-color: rgba(205, 127, 50, 0.2);
    color: #cd7f32;
}

.rank-medal {
    font-size: 20px;
}

/* chart area */
.chart-container {
    background-color: black;
    border: 4px double lime;
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
}

.chart-container h3 {
    color: cyan;
    font-size: 24px;
    margin-bottom: 10px;
}

/* about section */
.about-section {
    background-color: teal;
    padding: 20px;
    margin: 10px;
    border: 5px solid yellow;
}

.about-section h2 {
    text-align: center;
    font-size: 36px;
    color: white;
    text-shadow: 2px 2px navy;
}

.features-grid {
    text-align: center;
}

.feature-card {
    display: inline-block;
    background-color: navy;
    border: 3px groove aqua;
    padding: 20px;
    margin: 10px;
    width: 300px;
    vertical-align: top;
}

.feature-icon {
    font-size: 48px;
    display: block;
}

.feature-card h3 {
    color: lime;
    font-size: 20px;
    margin: 10px 0;
}

.feature-card p {
    color: white;
    font-size: 14px;
    line-height: 1.4;
}

/* seed funders section */
.founders-section {
    background-color: #1a0a2e;
    padding: 20px;
    margin: 10px;
    border: 5px double gold;
    text-align: center;
    background-image: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 50%, #1a0a2e 100%);
}

.founders-section h2 {
    color: gold;
    font-size: 36px;
    text-shadow: 2px 2px black, 0 0 10px gold;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 2px 2px black, 0 0 5px gold; }
    to { text-shadow: 2px 2px black, 0 0 20px gold, 0 0 30px orange; }
}

.founders-subtitle {
    color: cyan;
    font-size: 18px;
    margin-bottom: 5px;
}

.founders-description {
    color: white;
    font-size: 14px;
    margin-bottom: 20px;
}

.founders-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.founder-card {
    background-color: black;
    border: 3px ridge gold;
    padding: 15px;
    width: 180px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.founder-card::before {
    content: "🌱";
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 16px;
}

.founder-card .founder-name {
    color: gold;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    word-break: break-all;
}

.founder-card .founder-coins {
    color: lime;
    font-size: 24px;
    font-weight: bold;
    display: block;
    margin: 5px 0;
}

.founder-card .founder-value {
    color: cyan;
    font-size: 12px;
}

.founder-card .founder-gain {
    color: lime;
    font-size: 14px;
    font-weight: bold;
    margin-top: 5px;
}

.founder-card .founder-status {
    font-size: 12px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed gold;
}

.founder-card .genesis-badge {
    background-color: gold;
    color: black;
    font-size: 10px;
    padding: 2px 6px;
    margin-top: 8px;
    display: inline-block;
    font-weight: bold;
}

/* investors table */
.investors-section {
    background-color: maroon;
    padding: 20px;
    margin: 10px;
    border: 5px ridge gold;
    text-align: center;
}

.investors-section h2 {
    color: gold;
    font-size: 36px;
    text-shadow: 2px 2px black;
}

.investors-section > p {
    color: white;
    margin-bottom: 20px;
}

.investors-table-wrapper {
    max-height: 400px;
    overflow-y: auto;
    margin: 0 auto;
    border: 3px solid gold;
    max-width: 900px;
}

/* custom scrollbar for the table */
.investors-table-wrapper::-webkit-scrollbar {
    width: 12px;
}

.investors-table-wrapper::-webkit-scrollbar-track {
    background: #222;
    border: 1px solid gold;
}

.investors-table-wrapper::-webkit-scrollbar-thumb {
    background: gold;
    border: 2px solid #222;
}

.investors-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: yellow;
}

.investors-table {
    margin: 0 auto;
    border-collapse: collapse;
    background-color: black;
    width: 100%;
}

.investors-table th {
    background-color: darkred;
    color: white;
    padding: 10px 15px;
    border: 2px solid gold;
    font-size: 16px;
    position: sticky;
    top: 0;
    z-index: 1;
}

.investors-table td {
    padding: 10px 15px;
    border: 1px solid gold;
    color: white;
    font-size: 14px;
}

.investors-table tr:nth-child(even) {
    background-color: #222;
}

.investors-table tr:hover {
    background-color: #333;
}

.no-investors-message {
    padding: 20px;
}

/* how to invest section */
.invest-section {
    background-color: darkgreen;
    padding: 20px;
    margin: 10px;
    border: 5px dashed lime;
    text-align: center;
}

.invest-section h2 {
    color: yellow;
    font-size: 36px;
    text-shadow: 2px 2px black;
}

.steps {
    text-align: center;
}

.step {
    display: inline-block;
    background-color: black;
    border: 3px outset green;
    padding: 20px;
    margin: 10px;
    width: 200px;
    vertical-align: top;
}

.step-number {
    display: inline-block;
    background-color: yellow;
    color: black;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 24px;
    font-weight: bold;
    border-radius: 50%;
    border: 3px outset yellow;
}

.step h3 {
    color: lime;
    font-size: 18px;
    margin: 10px 0;
}

.step p {
    color: white;
    font-size: 14px;
    line-height: 1.4;
}

/* footer */
footer {
    background-color: black;
    padding: 20px;
    text-align: center;
    border-top: 5px ridge silver;
}

.footer-logo {
    font-size: 30px;
    color: gold;
}

.footer-tagline {
    font-size: 18px;
    color: cyan;
    font-style: italic;
    margin: 10px 0;
}

.footer-disclaimer {
    font-size: 11px;
    color: gray;
    max-width: 500px;
    margin: 10px auto;
}

.copyright {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

/* cool effects */
a {
    cursor: pointer;
}

::selection {
    background-color: lime;
    color: black;
}

/* visitor counter style lol */
.visitor-counter {
    font-family: "Courier New", monospace;
    background-color: black;
    color: lime;
    padding: 5px 10px;
    border: 2px inset gray;
    display: inline-block;
}

/* profit/loss colors for tables */
.profit-positive {
    color: lime !important;
}

.profit-negative {
    color: red !important;
}
