/* Main Styles for DZINGO.GAMES */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #ff1493 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><rect x="0" y="0" width="20" height="20" fill="%23ff69b4"/><rect x="20" y="20" width="20" height="20" fill="%23ff69b4"/><rect x="20" y="0" width="20" height="20" fill="%23ffffff"/><rect x="0" y="20" width="20" height="20" fill="%23ffffff"/></svg>');
    background-size: 40px 40px;
    min-height: 100vh;
    cursor: auto;
    overflow-x: auto;
    transition: cursor 0.3s ease;
}

body.loading-cursor {
    cursor: wait;
}

/* Header Styles */
.header {
    background: linear-gradient(90deg, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
    background-size: 600% 100%;
    animation: rainbow 2s linear infinite;
    border-bottom: 10px solid #000;
    padding: 10px;
    text-align: center;
    position: relative;
}

@keyframes rainbow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.header::before {
    content: '★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★';
    color: #ffff00;
    font-size: 20px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #000;
    animation: blink 0.5s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.logo {
    font-family: Impact, Arial Black, sans-serif;
    font-size: 4rem;
    color: #ffff00;
    text-shadow: 
        3px 3px 0px #ff0000,
        6px 6px 0px #000000,
        9px 9px 10px rgba(0,0,0,1);
    margin: 20px 0;
    transform: rotate(-3deg);
    letter-spacing: 8px;
}

.subtitle {
    background: #ffff00;
    color: #ff0000;
    font-weight: bold;
    font-size: 18px;
    padding: 10px;
    border: 5px solid #000;
    margin: 10px auto;
    width: fit-content;
    transform: rotate(2deg);
    box-shadow: 5px 5px 0px #000;
}



/* Container and Layout */
.container {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* News Ticker */
.news-ticker {
    background: #000;
    color: #00ff00;
    padding: 10px;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    border: 3px solid #00ff00;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-text {
    display: inline-block;
    animation: scroll 15s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Games Section */
.games-section {
    background: #ffffff;
    border: 8px solid #000000;
    padding: 20px;
    margin: 20px 0;
    position: relative;
}

.games-section::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: repeating-linear-gradient(
        45deg,
        #ff0000 0px,
        #ff0000 10px,
        #ffff00 10px,
        #ffff00 20px
    );
    z-index: -1;
}

.section-title {
    font-family: Impact, sans-serif;
    font-size: 2rem;
    color: #ff0000;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0px #000;
    background: #ffff00;
    padding: 10px;
    border: 3px solid #000;
    transform: rotate(-1deg);
}

.games-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Game Buttons */
.game-button {
    background: #ff69b4;
    border: 5px solid #000;
    padding: 20px;
    cursor: pointer;
    position: relative;
    transform: rotate(1deg);
    transition: all 0.1s ease;
    box-shadow: 8px 8px 0px #000;
}

.game-button:hover {
    background: #ff1493;
    transform: rotate(-1deg) scale(1.02);
    box-shadow: 12px 12px 0px #000;
}

.game-button:active {
    transform: rotate(-1deg) scale(0.98);
    box-shadow: 4px 4px 0px #000;
}

.madzingo {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><rect x="0" y="0" width="8" height="8" fill="%23ffff00"/><rect x="8" y="0" width="8" height="8" fill="%23ffdd00"/><rect x="16" y="0" width="8" height="8" fill="%23ffff00"/><rect x="24" y="0" width="8" height="8" fill="%23aaff00"/><rect x="0" y="8" width="8" height="8" fill="%23ffdd00"/><rect x="8" y="8" width="8" height="8" fill="%23ffff00"/><rect x="16" y="8" width="8" height="8" fill="%23ddff00"/><rect x="24" y="8" width="8" height="8" fill="%23aaff00"/><rect x="0" y="16" width="8" height="8" fill="%23ffff00"/><rect x="8" y="16" width="8" height="8" fill="%23ddff00"/><rect x="16" y="16" width="8" height="8" fill="%23aaff00"/><rect x="24" y="16" width="8" height="8" fill="%23aadd00"/><rect x="0" y="24" width="8" height="8" fill="%23ddff00"/><rect x="8" y="24" width="8" height="8" fill="%23aaff00"/><rect x="16" y="24" width="8" height="8" fill="%23aadd00"/><rect x="24" y="24" width="8" height="8" fill="%23aaaa00"/></svg>'), #ffff00;
    background-size: 32px 32px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.celdzingo {
    background: #00ff00;
    background-image: repeating-linear-gradient(
        0deg,
        #00ff00,
        #00ff00 5px,
        #ffffff 5px,
        #ffffff 10px
    );
}

.ustdzingo {
    background: #ffa500;
    background-image: radial-gradient(circle, #ff0000 20%, transparent 20%),
                      radial-gradient(circle, #ff0000 20%, transparent 20%);
    background-size: 15px 15px;
    background-position: 0 0, 7.5px 7.5px;
}

.game-title {
    font-family: Impact, sans-serif;
    font-size: 2.5rem;
    color: #000;
    text-shadow: 3px 3px 0px #fff;
    margin-bottom: 10px;
    text-align: center;
}

.game-desc {
    font-size: 14px;
    color: #000;
    font-weight: bold;
    text-align: center;
    background: rgba(255,255,255,0.8);
    padding: 5px;
    border: 2px solid #000;
    margin-top: 10px;
}

/* Bottom Section */
.bottom-section {
    background: #000;
    color: #00ff00;
    padding: 20px;
    margin: 20px 0;
    border: 5px solid #00ff00;
    font-family: 'Courier New', monospace;
    text-align: center;
}

.login-btn {
    background: #0000ff;
    color: #ffffff;
    border: 4px solid #ffff00;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin: 10px;
    box-shadow: 4px 4px 0px #000;
}

.login-btn:hover {
    background: #4444ff;
    box-shadow: 6px 6px 0px #000;
}

.visitor-counter {
    background: #000;
    color: #00ff00;
    padding: 10px;
    font-family: 'Courier New', monospace;
    border: 2px solid #00ff00;
    margin: 10px 0;
}

/* Flash Warning */
.flash-warning {
    background: #ff0000;
    color: #ffffff;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    border: 3px solid #000;
    margin: 20px 0;
    animation: flash 1s infinite;
}

@keyframes flash {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.7; }
}

/* Decorative Elements */
.decorations {
    position: fixed;
    pointer-events: none;
    z-index: -1;
    display: none;
}

.gif-placeholder {
    width: 50px;
    height: 50px;
    background: #ff0000;
    position: absolute;
    animation: bounce 1s infinite;
}

.gif-placeholder:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.gif-placeholder:nth-child(2) { top: 20%; right: 10%; animation-delay: 0.5s; }
.gif-placeholder:nth-child(3) { bottom: 20%; left: 20%; animation-delay: 1s; }
.gif-placeholder:nth-child(4) { bottom: 10%; right: 20%; animation-delay: 1.5s; }

@keyframes bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Quote Section */
.quote-section {
    text-align: center;
    padding: 20px;
}

.quote-box {
    background: #ffff00;
    border: 5px solid #000;
    padding: 20px;
    margin: 15px 0;
    transform: rotate(-1deg);
    box-shadow: 6px 6px 0px #000;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 170px;
}

.quote-content {
    flex: 1;
    text-align: left;
    padding-right: 20px;
}

.magda-image {
    position: absolute;
    bottom: -3px;
    right: 0px;
    z-index: 2;
}

.quote-magda {
    width: 250px;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.quote-box::before {
    content: '💬';
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 30px;
    background: #ff0000;
    border: 3px solid #000;
    border-radius: 50%;
    padding: 5px;
}

.quote-text {
    font-family: Impact, sans-serif;
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0px #fff;
}

.quote-source {
    font-size: 14px;
    color: #ff0000;
    font-weight: bold;
    font-style: italic;
}

.quote-btn {
    background: #ff1493;
    color: #ffffff;
    border: 4px solid #000;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 4px 4px 0px #000;
    transform: rotate(1deg);
}

.quote-btn:hover {
    background: #ff69b4;
    box-shadow: 6px 6px 0px #000;
    transform: rotate(-1deg);
}

/* 90s cursor effects */
body::after {
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        rgba(255,255,255,0.03) 1px,
        transparent 2px
    );
    pointer-events: none;
    animation: scanlines 0.1s infinite;
}

@keyframes scanlines {
    0% { transform: translateY(0px); }
    100% { transform: translateY(2px); }
}

/* Responsive Design */
@media (max-width: 600px) {
    .logo { font-size: 2.5rem; }
    .game-title { font-size: 1.8rem; }
}
