/* Base styles */
:root {
    --background-color: #0a0a0a;
    --text-color: #e0e0e0;
    --accent-color: #3a86ff;
    --meme-color-1: #ff6b6b;
    --meme-color-2: #7fcd91;
    --meme-color-3: #ffcc5c;
    --pixel-color: #ff5ebc;
    --art-color: #5e9fff;
    --cta-color: #4ecca3;
    --spacing: 2rem;
    --max-width: 800px;
    --input-bg: rgba(255, 255, 255, 0.05);
    --input-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'IBM Plex Mono', monospace;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 14px;
    padding: 2rem;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Navigation */
.nav-menu {
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.3rem 0.8rem;
    border-radius: 3px;
    transition: all 0.2s ease;
    opacity: 0.8;
    font-size: 0.9rem;
    border: 1px solid transparent;
}

.nav-menu a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.nav-menu a.active {
    opacity: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 0.5rem;
        padding-bottom: 0.4rem;
        margin-bottom: 1.5rem;
    }
    
    .nav-menu a {
        padding: 0.25rem 0.6rem;
        font-size: 0.85rem;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    animation: fadeIn 0.8s ease-out;
}

h2 {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeIn 1s ease-out;
}

h3 {
    font-size: 1.4rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

p {
    margin-bottom: 1.5rem;
}

strong {
    font-weight: 600;
    color: #fff;
}

/* Sections */
section {
    margin-bottom: var(--spacing);
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.intro {
    animation-delay: 0.2s;
}

.products {
    animation-delay: 0.4s;
}

.manifesto {
    animation-delay: 0.6s;
}

.values {
    animation-delay: 0.8s;
}

.contact {
    animation-delay: 1s;
}

ul, ol {
    margin-left: 2rem;
    margin-bottom: var(--spacing);
}

li {
    margin-bottom: 1rem;
    transition: transform 0.2s ease;
}

li:hover {
    transform: translateX(5px);
}

/* Meme content styling */
li:nth-child(n+4) strong {
    position: relative;
    z-index: 1;
}

.manifesto li:nth-child(4) strong {
    color: var(--meme-color-1);
}

.manifesto li:nth-child(5) strong {
    color: var(--meme-color-2);
}

/* Pixel art and beautiful art styling */
.manifesto li:nth-child(6) strong {
    color: var(--pixel-color);
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: -0.5px;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
}

.manifesto li:nth-child(7) strong {
    color: var(--art-color);
    letter-spacing: 0.5px;
}

.values li:nth-child(5) strong {
    color: var(--meme-color-1);
}

.values li:nth-child(6) strong {
    color: var(--pixel-color);
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: -0.5px;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
}

.values li:nth-child(7) strong {
    color: var(--art-color);
    letter-spacing: 0.5px;
}

/* Special pixel art effect */
.manifesto li:nth-child(6) strong::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--pixel-color), var(--pixel-color) 2px, transparent 2px, transparent 4px);
}

/* Special art effect */
.manifesto li:nth-child(7) strong::after,
.values li:nth-child(7) strong::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--art-color), transparent);
}

li:nth-child(n+4):hover {
    transform: translateX(8px);
}

/* Links */
a {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.2s, color 0.2s;
}

a:hover {
    border-bottom: 1px solid var(--accent-color);
    color: #fff;
}

/* Contact Form */
.contact-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

input, textarea {
    width: 100%;
    padding: 0.75rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.95rem;
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-color);
    border-radius: 3px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(58, 134, 255, 0.2);
}

.submit-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.95rem;
    font-weight: 500;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.submit-btn:hover {
    background-color: #2a75e6;
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Call to action section */
.cta {
    text-align: center;
    margin: 4rem 0 2rem;
    padding: 2rem;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));
    border-radius: 8px;
    animation: fadeInUp 0.6s ease-out;
    animation-delay: 1.2s;
    animation-fill-mode: both;
}

.cta h3 {
    margin-top: 0;
    font-size: 1.6rem;
}

.cta p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--background-color);
    background-color: var(--cta-color);
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(78, 204, 163, 0.3);
    color: var(--background-color);
    border-bottom: none;
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-button.pulse {
    animation: pulse 1s cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(78, 204, 163, 0.4);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 0 0 10px rgba(78, 204, 163, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(78, 204, 163, 0);
    }
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

.light-mode .ripple {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Team credit */
.team-credit {
    margin-top: 1rem;
    font-style: italic;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Footer */
footer {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    animation: fadeIn 1s ease-out;
    animation-delay: 1s;
    animation-fill-mode: both;
}

.footer-links {
    margin: 0.75rem 0;
    font-size: 0.85rem;
}

.footer-links a {
    margin: 0 0.5rem;
    transition: all 0.2s ease;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
}

/* Light mode support */
.light-mode {
    --background-color: #f5f5f5;
    --text-color: #333;
    --accent-color: #2970d6;
    --meme-color-1: #e53935;
    --meme-color-2: #43a047;
    --meme-color-3: #fb8c00;
    --pixel-color: #d81b60;
    --art-color: #1976d2;
    --cta-color: #3aaf85;
    --input-bg: rgba(0, 0, 0, 0.03);
    --input-border: rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Spacing and responsive adjustments */
@media (max-width: 768px) {
    body {
        padding: 1rem;
        font-size: 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.1rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .submit-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0.75rem;
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1rem;
    }
    
    ul, ol {
        margin-left: 1.5rem;
    }
}

/* Legal Pages Styling */
.legal-content {
    margin-bottom: 3rem;
    animation: fadeIn 0.8s ease-out;
}

.last-updated {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    opacity: 0.7;
    font-style: italic;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.legal-section p, .legal-section li {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.75rem;
}

.legal-section li:hover {
    transform: none;
}

.legal-nav {
    text-align: center;
    margin: 3rem 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.legal-nav a {
    margin: 0 1rem;
    display: inline-block;
    transition: all 0.3s ease;
}

header h1 a {
    color: var(--text-color);
    text-decoration: none;
    border-bottom: none;
}

header h1 a:hover {
    color: #fff;
    border-bottom: none;
}

/* Responsive styles for legal pages */
@media (max-width: 768px) {
    .legal-section h3 {
        font-size: 1.1rem;
    }
    
    .legal-section p, .legal-section li {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .legal-nav a {
        margin: 0 0.5rem;
        font-size: 0.9rem;
    }
}

/* Bonki BONK Page Styles */
.features ul {
    list-style: none;
    margin-left: 0;
}

.features li {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.features li:hover {
    transform: translateX(0) translateY(-2px);
    background: rgba(255, 255, 255, 0.05);
}

.rarity-list {
    list-style: none;
    margin-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.rarity-list li {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    min-width: 120px;
    margin-bottom: 0;
}

.rarity-list li:hover {
    transform: translateY(-2px);
}

.rarity-list .common {
    background: rgba(200, 200, 200, 0.1);
    color: #ffffff;
}

.rarity-list .rare {
    background: rgba(0, 112, 255, 0.1);
    color: #3a86ff;
}

.rarity-list .epic {
    background: rgba(163, 53, 238, 0.1);
    color: #a353ee;
}

.rarity-list .legendary {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
}

.rarity-list .ultra {
    background: linear-gradient(45deg, rgba(255, 0, 0, 0.1), rgba(255, 215, 0, 0.1));
    color: #ff5ebc;
    text-shadow: 0 0 10px rgba(255, 94, 188, 0.5);
}

.game-banner {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.game-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.game-info {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.game-case {
    flex-shrink: 0;
    width: 200px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.game-case img {
    width: 100%;
    height: auto;
    display: block;
}

.game-description {
    flex-grow: 1;
}

.steam-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #1b2838;
    color: #ffffff;
    padding: 0.8rem 1.4rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1.5rem;
    transition: all 0.2s ease;
    border: 1px solid #2a475e;
}

.steam-button:hover {
    background: #2a475e;
    border-color: #66c0f4;
    transform: translateY(-1px);
    color: #ffffff;
}

.steam-button img {
    width: 24px;
    height: 24px;
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M12 2C6.48 2 2 6.48 2 12c0 5.52 4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.94-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v-.07zM17.9 17.39c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E");
}

.steam-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("/images/Steam_icon_logo.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* filter: brightness(0) invert(1); */
}

@media (max-width: 768px) {
    .game-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .game-case {
        width: 160px;
        margin-bottom: 1.5rem;
    }
}

.grade-list {
    list-style: none;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.grade-list li {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    text-align: left;
    margin-bottom: 0;
    border-left: 4px solid;
}

.grade-list li:hover {
    transform: translateX(5px);
}

.grade-list .standard {
    background: rgba(120, 120, 120, 0.1);
    color: #c0c0c0;
    border-left-color: #c0c0c0;
}

.grade-list .novice {
    background: rgba(0, 128, 0, 0.1);
    color: #4caf50;
    border-left-color: #4caf50;
}

.grade-list .elite {
    background: rgba(25, 118, 210, 0.1);
    color: #1976d2;
    border-left-color: #1976d2;
}

.grade-list .prime {
    background: rgba(156, 39, 176, 0.1);
    color: #9c27b0;
    border-left-color: #9c27b0;
}

/* Adjust game info layout when no case image */
.game-info:has(.game-case[style*="display: none"]) .game-description,
.game-info .game-description:only-child {
    max-width: 100%;
}

@media (max-width: 768px) {
    .grade-list {
        gap: 0.75rem;
    }
    
    .grade-list li {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
} 