/* ===== ARTUR RIASON111 - TOKYO GHOUL EDITION ===== */

:root {
    --ghoul-red: #c41e3a;
    --blood-red: #8b0000;
    --pure-white: #ffffff;
    --cream-white: #f5f5f5;
    --dark-red: #4a0000;
    --neon-green: #00ff41;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--cream-white);
    color: var(--blood-red);
    font-family: 'Russo One', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== BACKGROUND ===== */
.bg-flowers {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(ellipse at 10% 90%, rgba(196, 30, 58, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 90% 10%, rgba(196, 30, 58, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(139, 0, 0, 0.05) 0%, transparent 60%);
    background-color: var(--cream-white);
}

/* ===== FLOATING FLOWERS ===== */
.floating-flower {
    position: fixed;
    z-index: 0;
    opacity: 0.15;
    animation: floatFlower 20s ease-in-out infinite;
}

.floating-flower:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
.floating-flower:nth-child(2) { top: 60%; right: 10%; animation-delay: -5s; }
.floating-flower:nth-child(3) { bottom: 20%; left: 15%; animation-delay: -10s; }
.floating-flower:nth-child(4) { top: 30%; right: 5%; animation-delay: -15s; }

@keyframes floatFlower {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

/* ===== TOP BANNER ===== */
.top-banner {
    background: linear-gradient(135deg, var(--ghoul-red), var(--blood-red));
    color: var(--pure-white);
    padding: 15px;
    text-align: center;
    font-size: 0.9rem;
    border-bottom: 3px solid var(--dark-red);
}

.top-banner .steam-rant {
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.top-banner .no-prank {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    color: #ffcc00;
    text-shadow: 2px 2px 0 #000;
    animation: shake 0.5s infinite;
}

/* ===== ANIMATIONS ===== */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

.glitch {
    position: relative;
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0%, 90%, 100% { transform: translate(0); }
    92% { transform: translate(-3px, 0); filter: hue-rotate(90deg); }
    94% { transform: translate(3px, 0); }
    96% { transform: translate(-2px, 0); filter: hue-rotate(-90deg); }
    98% { transform: translate(2px, 0); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes avatarPulse {
    0%, 100% { box-shadow: 0 0 0 5px var(--pure-white), 0 0 0 10px var(--ghoul-red), 0 0 30px rgba(196, 30, 58, 0.5); }
    50% { box-shadow: 0 0 0 5px var(--pure-white), 0 0 0 10px var(--ghoul-red), 0 0 60px rgba(196, 30, 58, 0.8); }
}

@keyframes banFlash {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.05); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== ABSURD SVG ===== */
.absurd-svg {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    animation: spin 10s linear infinite;
}

/* ===== HEADER ===== */
header {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    background: linear-gradient(180deg, rgba(196, 30, 58, 0.05), transparent);
}

.avatar-container {
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
    border-radius: 50%;
    border: 5px solid var(--ghoul-red);
    overflow: hidden;
    box-shadow: 
        0 0 0 5px var(--pure-white),
        0 0 0 10px var(--ghoul-red),
        0 0 30px rgba(196, 30, 58, 0.5);
    animation: avatarPulse 3s ease-in-out infinite;
}

.avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    font-family: 'Creepster', cursive;
    font-size: 3.5rem;
    color: var(--ghoul-red);
    text-shadow: 
        3px 3px 0 var(--pure-white),
        6px 6px 0 var(--blood-red);
    letter-spacing: 5px;
    margin-bottom: 10px;
}

h2 {
    font-family: 'Creepster', cursive;
    font-size: 2.5rem;
    color: var(--ghoul-red);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 2px 2px 0 var(--pure-white);
}

.subtitle {
    font-size: 1.5rem;
    color: var(--blood-red);
    margin-bottom: 20px;
    font-style: italic;
}

.intro {
    font-size: 1.3rem;
    color: #333;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    background: var(--pure-white);
    padding: 20px;
    border-radius: 15px;
    border: 3px solid var(--ghoul-red);
}

.intro span {
    color: var(--ghoul-red);
    font-weight: bold;
}

/* ===== TAB BUTTONS ===== */
.tab-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 30px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.tab-btn {
    padding: 15px 30px;
    font-family: 'Russo One', sans-serif;
    font-size: 1rem;
    background: var(--pure-white);
    color: var(--ghoul-red);
    border: 3px solid var(--ghoul-red);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0 var(--ghoul-red);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ghoul-red);
}

.tab-btn.active {
    background: var(--ghoul-red);
    color: var(--pure-white);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--blood-red);
}

.tab-btn .icon {
    font-size: 1.3rem;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    display: none;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 0.4s ease;
}

.content-section.active {
    display: block;
}

/* ===== FACT CARDS ===== */
.facts-grid {
    display: grid;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.fact-card {
    background: var(--pure-white);
    border: 3px solid var(--ghoul-red);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 5px 5px 0 var(--ghoul-red);
}

.fact-card:hover {
    transform: translate(-5px, -5px);
    box-shadow: 10px 10px 0 var(--ghoul-red);
}

.fact-card .icon {
    font-size: 2rem;
    margin-right: 15px;
}

.fact-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

.fact-card .highlight {
    color: var(--ghoul-red);
    font-weight: bold;
}

.fact-card.special {
    background: linear-gradient(145deg, rgba(255,0,0,0.15), rgba(255,255,255,1));
    border-width: 4px;
}

/* ===== GAME CARDS ===== */
.games-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.game-card {
    width: 300px;
    background: var(--pure-white);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 3px solid var(--ghoul-red);
    transition: all 0.4s ease;
    box-shadow: 5px 5px 0 var(--ghoul-red);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 320px;
}

.game-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 10px 15px 0 var(--blood-red);
}

.game-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
    color: var(--ghoul-red);
}

.rank-image {
    width: 120px;
    height: 120px;
    margin: 20px 0;
    object-fit: contain;
    filter: drop-shadow(3px 3px 5px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
    display: block;
    flex-shrink: 0;
}

.game-card:hover .rank-image {
    transform: scale(1.15) rotate(-5deg);
}

.rank-name {
    font-size: 1.3rem;
    color: var(--pure-white);
    margin-top: 15px;
    padding: 10px 20px;
    background: var(--ghoul-red);
    border-radius: 25px;
    display: inline-block;
}

/* ===== BANNED SECTION ===== */
.banned-container {
    text-align: center;
}

.banned-banner {
    background: linear-gradient(135deg, var(--ghoul-red), var(--blood-red));
    padding: 60px 20px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(196, 30, 58, 0.4);
    max-width: 800px;
    margin: 0 auto;
}

.banned-banner::before,
.banned-banner::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 20px;
    background: repeating-linear-gradient(90deg, var(--pure-white) 0px, var(--pure-white) 20px, var(--ghoul-red) 20px, var(--ghoul-red) 40px);
}

.banned-banner::before { top: 0; left: 0; }
.banned-banner::after { bottom: 0; left: 0; }

.banned-text {
    font-family: 'Press Start 2P', cursive;
    font-size: 2.5rem;
    color: var(--pure-white);
    text-shadow: 
        4px 4px 0 var(--dark-red),
        -2px -2px 0 var(--dark-red);
    animation: banFlash 1s ease-in-out infinite;
    margin-bottom: 30px;
}

.happy-gif {
    width: 300px;
    max-width: 100%;
    border-radius: 15px;
    border: 5px solid var(--pure-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ===== CLIPS SECTION ===== */
.clips-container {
    max-width: 900px;
    margin: 0 auto;
}

.twitch-embed {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    border: 5px solid var(--ghoul-red);
    box-shadow: 10px 10px 0 var(--blood-red);
    margin-bottom: 30px;
    background: #000;
}

.twitch-embed iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

.clips-link {
    display: block;
    text-align: center;
    margin-top: 30px;
}

.clips-link a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: var(--ghoul-red);
    color: var(--pure-white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 3px solid var(--blood-red);
    box-shadow: 5px 5px 0 var(--blood-red);
}

.clips-link a:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 var(--blood-red);
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--ghoul-red), var(--blood-red));
    color: var(--pure-white);
    margin-top: 60px;
}

footer p {
    font-size: 0.9rem;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--cream-white);
}

::-webkit-scrollbar-thumb {
    background: var(--ghoul-red);
    border-radius: 6px;
    border: 2px solid var(--cream-white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    .banned-text { font-size: 1.2rem; }
    .games-grid { flex-direction: column; align-items: center; }
    .tab-btn { padding: 12px 20px; font-size: 0.9rem; }
    .top-banner .no-prank { font-size: 0.5rem; }
    .absurd-svg { width: 150px; height: 150px; }
    .twitch-embed iframe { height: 300px; }
}
