/*
Theme Name: PinPinMaru Original Theme
Author: PinPinMaru
Description: Original theme for PinPinMaru Report Site
Version: 1.0
Text Domain: pinpinmaru
*/

:root {
    --bg-dark: #1a0505;
    --bg-dark-gradient: linear-gradient(180deg, #1a0505 0%, #3e0000 100%);
    --bg-card: rgba(0, 0, 0, 0.4);
    --gold-primary: #eebb55;
    --gold-bright: #ffcc66;
    --gold-dark: #b8860b;
    --border-gold: linear-gradient(to right, #b8860b, #ffeebb, #b8860b);
    --pink-neon: #ff33aa;
    --text-white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Noto Sans JP', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg-dark);
    background-image: url('https://www.transparenttextures.com/patterns/black-linen.png'), var(--bg-dark-gradient);
    background-size: auto, cover;
    background-attachment: fixed;
    color: var(--text-white);
    font-family: var(--font-body);
    min-height: 100vh;
}

/* Header */
.header {
    background-color: rgba(20, 5, 5, 0.95);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #331111;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.logo {
    color: var(--gold-bright);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 200, 100, 0.5), 0 0 20px rgba(255, 200, 100, 0.3);
    letter-spacing: 1px;
}

.menu-btn,
.search-btn,
.user-btn {
    background: none;
    border: none;
    color: var(--gold-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.menu-btn:hover,
.search-btn:hover,
.user-btn:hover {
    color: var(--gold-bright);
    text-shadow: 0 0 8px var(--gold-primary);
}

.header-actions {
    display: flex;
    gap: 15px;
}

.logo-link {
    text-decoration: none;
}

/* Main Content Layout */
.main-content {
    padding: 15px;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* News Ticker */
.news-ticker {
    display: flex;
    align-items: center;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    height: 40px;
    border: 1px solid var(--gold-dark);
}

.ticker-label {
    background: #000;
    color: var(--gold-bright);
    padding: 10px 15px;
    font-weight: bold;
    flex-shrink: 0;
    border-right: 1px solid var(--gold-dark);
}

.ticker-wrap {
    flex: 1;
    overflow: hidden;
    height: 100%;
}

.vertical-ticker {
    list-style: none;
    animation: scroll-up 12s linear infinite;
}

.vertical-ticker li {
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.vertical-ticker a {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes scroll-up {
    0% {
        transform: translateY(0);
    }

    33.33% {
        transform: translateY(-40px);
    }

    66.66% {
        transform: translateY(-80px);
    }

    100% {
        transform: translateY(-120px);
    }
}

/* Shared Notification Style */
.notification-style {
    background: linear-gradient(90deg, #300, #500, #300);
    border: 1px solid var(--gold-dark);
    box-shadow: 0 0 10px rgba(255, 200, 100, 0.2);
    position: relative;
    overflow: hidden;
}

.notification-style::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-row {
    display: flex;
    gap: 20px;
}

.hero-card {
    border-radius: 8px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    flex: 1;
}

.hero-card.half-width {
    flex: 1;
}

.hero-card:hover {
    transform: scale(1.02);
}

.hero-text {
    z-index: 1;
    text-align: center;
}

.hero-text h2 {
    color: var(--gold-bright);
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px #000, 0 0 10px rgba(238, 187, 85, 0.6);
    background: linear-gradient(to bottom, #ffeebb, #cc9933);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Circle Navigation */
.circle-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 10px 0;
}

.circle-btn {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #444, #111);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.6),
        inset 0 0 10px rgba(0, 0, 0, 0.9),
        0 0 0 2px var(--gold-dark),
        0 0 15px rgba(184, 134, 11, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.circle-btn:hover {
    transform: translateY(-5px);
    box-shadow:
        0 8px 15px rgba(0, 0, 0, 0.7),
        inset 0 0 10px rgba(0, 0, 0, 0.9),
        0 0 0 2px var(--gold-bright),
        0 0 20px rgba(255, 204, 102, 0.5);
}

.circle-btn.gorgeous {
    background: radial-gradient(circle at 30% 30%, #700, #300);
    border: 2px solid var(--gold-bright);
    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.6),
        inset 0 0 15px rgba(0, 0, 0, 0.8),
        0 0 0 3px #a00,
        0 0 20px rgba(255, 0, 0, 0.4);
}

.circle-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.circle-inner .small-text {
    font-size: 0.7rem;
    color: #ccc;
    display: block;
    margin-bottom: 2px;
}

.circle-inner .large-text {
    font-size: 1rem;
    font-weight: bold;
    color: var(--gold-primary);
    line-height: 1.2;
    background: linear-gradient(to bottom, #ffeebb, #aa8833);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.circle-inner .medium-text {
    font-size: 0.65rem;
    color: #aaa;
    margin-top: 2px;
}

/* Profile Section */
.profile-section {
    margin: 10px 0;
}

.profile-bar {
    background: linear-gradient(to bottom, #2a2a2a, #111);
    border: 1px solid var(--gold-dark);
    border-radius: 4px;
    padding: 12px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 0 5px rgba(184, 134, 11, 0.2);
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s;
}

.profile-bar:hover {
    transform: scale(1.02);
}

.profile-bar span {
    background: linear-gradient(to right, #eee, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-bar i {
    color: var(--gold-primary);
    font-size: 1.2rem;
}

/* Grid Links */
.grid-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.grid-btn {
    background: transparent;
    border: 2px solid var(--gold-dark);
    border-radius: 6px;
    padding: 15px 10px;
    text-align: center;
    text-decoration: none;
    color: var(--gold-primary);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8), 0 0 5px rgba(184, 134, 11, 0.3);
    transition: all 0.3s;
}

.grid-btn:hover {
    background: rgba(184, 134, 11, 0.1);
    border-color: var(--gold-bright);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8), 0 0 10px rgba(255, 200, 100, 0.5);
    color: var(--gold-bright);
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 20px;
    color: #666;
    font-size: 0.8rem;
    margin-top: 20px;
    border-top: 1px solid #222;
}

/* Overlays */
.search-overlay,
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.search-overlay.active,
.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container,
.menu-container {
    width: 90%;
    max-width: 600px;
    background: var(--bg-dark);
    border: 2px solid var(--gold-dark);
    padding: 30px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 30px rgba(184, 134, 11, 0.2);
}

.close-search,
.close-menu {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: var(--gold-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

.search-box {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    margin-top: 20px;
}

.mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    transition: color 0.3s;
}

.mobile-nav a:hover {
    color: var(--gold-primary);
}

/* Page Header */
.page-header {
    text-align: center;
    border-bottom: 1px solid var(--gold-dark);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.page-header h2 {
    color: var(--gold-bright);
    font-family: var(--font-heading);
    font-size: 2rem;
}

.post-meta {
    margin-top: 10px;
    color: #999;
    font-size: 0.9rem;
}

/* Post Content */
.post-content,
.page-content {
    color: #ddd;
    line-height: 1.8;
    font-size: 1rem;
}

.post-content p,
.page-content p {
    margin-bottom: 1.5em;
}

.post-content h2,
.page-content h2 {
    color: var(--gold-primary);
    margin-top: 2em;
    margin-bottom: 1em;
}

.post-content h3,
.page-content h3 {
    color: var(--gold-primary);
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

/* Post Navigation */
.post-navigation {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.post-navigation a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.post-navigation a:hover {
    color: var(--gold-bright);
}

/* Pagination */
.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination a,
.pagination span {
    color: var(--gold-primary);
    padding: 8px 12px;
    margin: 0 5px;
    border: 1px solid var(--gold-dark);
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.pagination a:hover {
    background: var(--gold-dark);
    color: #000;
}

.pagination .current {
    background: var(--gold-primary);
    color: #000;
}

/* Column List */
.column-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.column-card {
    display: flex;
    background: rgba(20, 10, 10, 0.8);
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #e0e0e0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.column-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.column-thumbnail {
    width: 120px;
    flex-shrink: 0;
}

.column-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.column-info {
    padding: 15px;
    flex: 1;
}

.column-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.column-title a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.column-title a:hover {
    color: var(--gold-bright);
}

.column-meta {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 8px;
}

.column-excerpt {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.5;
}

/* PC Specific Adjustments */
@media (min-width: 768px) {
    .main-content {
        max-width: 800px;
        padding: 40px 20px;
    }

    .logo {
        font-size: 2.2rem;
    }

    .grid-links {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .hero-card {
        height: 200px;
    }

    .hero-text h2 {
        font-size: 2.8rem;
    }
}