@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
    --oilers-blue: #041E42;
    --oilers-orange: #FF4C00;
}

body {
    font-family: 'Comic Sans MS', 'Chalkboard SE', sans-serif;
    background: url('https://www.transparenttextures.com/patterns/stardust.png'), #000000;
    color: #ffff00;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

h1, h2, h3, .badge {
    font-family: 'Press Start 2P', monospace;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

/* 90s Retro Boxes */
.retro-box {
    background-color: #000080; /* Windows 95 Navy Blue */
    border: 8px outset #c0c0c0;
    padding: 2rem;
    color: #ffffff;
    margin-bottom: 2rem;
}

/* Hero Section */
.hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.badge {
    display: inline-block;
    background: #ff00ff;
    color: #ffffff;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border: 3px solid #00ffff;
    margin-bottom: 1.5rem;
}

.blink {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
}

.retro-title {
    font-size: clamp(2rem, 6vw, 4rem);
    color: #ff0000;
    text-shadow: 4px 4px 0px #ffff00;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.5rem;
    color: #00ff00;
    margin-bottom: 2rem;
    font-weight: bold;
}

.alberta-pride {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 1.1rem;
    background: #ff0000;
    padding: 1.5rem;
    border: 5px inset #000000;
}

.oilers-cheer {
    color: #ffffff;
    font-weight: bold;
}

.flames-jab {
    color: #ffff00;
    font-weight: bold;
}

.funny-image-wrapper {
    margin-top: 1rem;
    width: 100%;
    max-width: 350px;
    border: 5px ridge #00ff00;
}

.funny-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border: 8px ridge #ff00ff;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.tool-card {
    text-decoration: none;
    color: #000000;
    padding: 2rem;
    border: 6px outset #ffffff;
    display: flex;
    flex-direction: column;
    font-weight: bold;
}

.tool-card:active {
    border-style: inset;
}

.tool-card:hover {
    filter: invert(1);
}

.tool-ai { background: #00ffff; }
.tool-finance { background: #ff00ff; color: #fff; }
.tool-crypto { background: #ffff00; }
.tool-lifestyle { background: #00ff00; }

.card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tool-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: inherit;
    text-decoration: underline;
}

.tool-card p {
    flex: 1;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-button {
    background: #0000ff;
    color: #ffff00;
    padding: 10px;
    text-align: center;
    border: 4px outset #ccc;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.8rem;
}

/* Guestbook */
.guestbook-container {
    background: #4B0082;
    text-align: center;
}
.guestbook-container input, .guestbook-container textarea {
    width: 80%;
    max-width: 400px;
    padding: 10px;
    font-family: "Comic Sans MS", sans-serif;
    border: 3px inset #ccc;
}
.guestbook-container h2 {
    color: #00ff00;
    margin-bottom: 2rem;
}

/* 90s Cheese Elements */
.cheese-marquee {
    background: #00ff00;
    color: #000;
    font-family: 'Press Start 2P', monospace;
    font-size: 1.2rem;
    padding: 10px 0;
    border-top: 4px dashed #ff00ff;
    border-bottom: 4px dashed #ff00ff;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 0px #fff;
    white-space: nowrap;
}

.cheese-zone {
    text-align: center;
    padding: 2rem;
    background: url('https://www.transparenttextures.com/patterns/stardust.png'), #1a0b2e;
    border: 5px ridge #ff00ff;
    margin: 0 auto 3rem auto;
    max-width: 800px;
    font-family: 'Press Start 2P', monospace;
}

.hit-counter {
    color: #00ff00;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 2;
}

.retro-counter {
    border: 3px outset #888;
    margin-top: 10px;
}

.webring {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.retro-btn {
    background: #c0c0c0;
    color: #000;
    border: 4px outset #ffffff;
    border-right-color: #808080;
    border-bottom-color: #808080;
    padding: 10px 15px;
    text-decoration: none;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.8rem;
    cursor: pointer;
}

.retro-btn:active {
    border: 4px inset #ffffff;
    border-left-color: #808080;
    border-top-color: #808080;
    background: #a0a0a0;
}

/* Utilities */
.hidden-card {
    display: none !important;
}

/* Gamification & Theme Controls */
.top-bar {
    position: absolute;
    top: 25px;
    right: 30px;
    display: flex;
    gap: 15px;
    align-items: center;
    z-index: 50;
}

.slop-score-container {
    background: #ff00ff;
    padding: 8px 16px;
    border: 4px outset #00ffff;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.8rem;
    color: #fff;
}

#slop-score {
    font-size: 1rem;
    display: inline-block;
    color: #ffff00;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #ffff00;
    color: #0000ff;
    border: 4px outset #ffffff;
    padding: 8px 20px;
    cursor: pointer;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.7rem;
}

.filter-btn:hover, .filter-btn.active {
    background: #ff0000;
    color: #ffff00;
    border-style: inset;
}

/* Footer */
.site-footer {
    padding: 0 2rem 2rem;
}

.footer-content {
    text-align: center;
}

.murdawk-promo {
    margin: 2rem 0;
    padding: 2rem;
    background: #00ffff;
    color: #000;
    border: 5px dashed #ff00ff;
}

.murdawk-promo p {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    font-family: "Comic Sans MS";
}

.footer-link {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.9rem;
    color: #fff;
    background: #ff0000;
    text-decoration: none;
    border: 5px outset #ffaaaa;
}

.footer-link:hover {
    border-style: inset;
    background: #cc0000;
}

/* Responsive */
@media (max-width: 768px) {
    .container { padding: 1rem; }
    .hero {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    .retro-title { font-size: 2.5rem; }
    .top-bar {
        position: relative;
        top: 0;
        right: 0;
        justify-content: center;
        margin-bottom: 2rem;
        width: 100%;
    }
    .hero-image {
        max-width: 250px;
    }
}
