/* ============================================================
   ATHENA GOSSIP — style.css
   (Fusión del CSS inline de index.html + estilos adicionales)
   ============================================================ */

/* RESET Y VARIABLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #3299d9;
    --red: #cc4433;
    --pics: #e6e0cc;
    --pink: #d9559f;
    --green: #7cae54;
    --text-gray: #b0b0b0;
    --gold: #e2d8a4;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(255, 240, 150, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(200, 220, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(255, 200, 100, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* EFECTO BOKEH */
.bokeh {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        radial-gradient(circle 10px at 10% 20%, rgba(255, 255, 200, 0.3) 0%, transparent 100%),
        radial-gradient(circle 15px at 80% 40%, rgba(200, 255, 255, 0.2) 0%, transparent 100%),
        radial-gradient(circle 8px at 20% 80%, rgba(255, 200, 150, 0.3) 0%, transparent 100%),
        radial-gradient(circle 20px at 90% 80%, rgba(255, 255, 200, 0.1) 0%, transparent 100%);
    filter: blur(4px);
}

/* HEADER */
header {
    margin-top: 40px;
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
}

h1 {
    font-size: 6.5rem;
    font-weight: 200;
    letter-spacing: -3px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    text-shadow: 0 0 15px rgba(226, 216, 164, 0.3);
}

h1 .athena {
    color: #ffffff;
    margin-left: 15px;
}

h1 .gossip {
    color: var(--gold);
}

/* LAYOUT PRINCIPAL: 3 COLUMNAS */
.main-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
    max-width: 1100px;
    padding: 0 20px;
}

/* COLUMNA IZQUIERDA */
.sidebar-left {
    width: 250px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.sidebar-item {
    margin-bottom: 25px;
}

.sidebar-item h2 {
    font-weight: 400;
    font-size: 1.5rem;
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.sidebar-item p {
    color: var(--text-gray);
    line-height: 1.4;
}

.c-welcome {
    color: var(--blue);
}

.c-gossip {
    color: var(--red);
}

.c-pics {
    color: var(--pics);
}

.c-parties {
    color: var(--pink);
}

.c-links {
    color: var(--green);
}

/* FORMULARIO NEWSLETTER */
.newsletter-form {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form p {
    color: var(--blue);
    margin-bottom: 10px;
    font-weight: 600;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 8px;
    background: transparent;
    border: 1px solid var(--text-gray);
    color: white;
    font-family: inherit;
    margin-bottom: 10px;
    border-radius: 3px;
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--text-gray);
}

.newsletter-form button {
    background: transparent;
    color: var(--blue);
    border: 1px solid var(--blue);
    padding: 5px 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: var(--blue);
    color: white;
}

.newsletter-msg {
    font-size: 0.8rem;
    margin-top: -5px;
    margin-bottom: 8px;
    display: none;
    font-weight: 600;
}

/* COLUMNA CENTRAL */
.center-content {
    flex-shrink: 0;
}

.spotted-box {
    background-color: #f8f9fa;
    width: 420px;
    height: 520px;
    border-radius: 20px;
    padding: 25px 35px;
    color: #111;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
}

.spotted-header {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #222;
}

.tab-content {
    display: none;
    flex-grow: 1;
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.6;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.spotted-footer {
    text-align: right;
    margin-top: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #38b6ff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* POST ITEMS */
.post-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

.post-date {
    font-size: 0.75rem;
    color: #888;
    font-weight: bold;
    margin-bottom: 5px;
}

/* GALERÍA */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.gallery-item {
    background: #eee;
    height: 120px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.8rem;
    text-align: center;
    border: 1px solid #ddd;
    overflow: hidden;
}

.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* COUNTDOWN */
.countdown-wrapper {
    text-align: center;
    margin-top: 30px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.time-box {
    background: #111;
    color: #fff;
    padding: 15px 10px;
    border-radius: 8px;
    min-width: 60px;
}

.time-box span {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: #fdf5d3;
}

.time-box label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
}

/* COLUMNA DERECHA: CÍRCULOS */
.sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 20px;
}

.nav-circle-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.nav-circle-wrapper:hover {
    transform: scale(1.05);
}

.nav-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background-color: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#btn-home .nav-circle {
    background: linear-gradient(45deg, #2c3e50, #3498db);
}

#btn-posts .nav-circle {
    background: linear-gradient(45deg, #8e44ad, #9b59b6);
}

#btn-pics .nav-circle {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
}

#btn-links .nav-circle {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
}

#btn-countdown .nav-circle {
    background: linear-gradient(45deg, #f39c12, #d35400);
}

.nav-circle::after {
    content: '';
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    font-weight: bold;
}

#btn-home .nav-circle::after {
    content: 'H';
}

#btn-posts .nav-circle::after {
    content: 'P';
}

#btn-pics .nav-circle::after {
    content: 'V';
}

#btn-links .nav-circle::after {
    content: 'L';
}

#btn-countdown .nav-circle::after {
    content: 'C';
}

.nav-circle-wrapper span {
    margin-top: 5px;
    font-size: 0.8rem;
    color: #ccc;
}

.nav-circle-wrapper.active .nav-circle {
    border-color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.nav-circle-wrapper.active span {
    color: #fff;
    font-weight: bold;
}

/* PANEL ADMIN */
.admin-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.admin-box {
    background: #111;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid var(--gold);
    width: 90%;
    max-width: 500px;
    color: white;
    box-shadow: 0 0 30px rgba(226, 216, 164, 0.2);
}

.admin-box h2 {
    color: var(--gold);
    margin-bottom: 20px;
    text-align: center;
}

.admin-box textarea,
.admin-box input[type="text"],
.admin-box input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background: #222;
    border: 1px solid #444;
    color: white;
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.95rem;
}

.admin-box input[type="file"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    background: #222;
    border: 1px solid #444;
    color: #aaa;
    border-radius: 5px;
    font-family: inherit;
    cursor: pointer;
    font-size: 0.85rem;
}

.admin-box button {
    width: 100%;
    padding: 12px;
    background: var(--gold);
    color: black;
    border: none;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}

.admin-box button:hover {
    opacity: 0.85;
}

.admin-box button.close-btn {
    background: #444;
    color: white;
}

.admin-box button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.clickable-footer {
    cursor: pointer;
    transition: color 0.3s;
}

.clickable-footer:hover {
    color: var(--gold);
    text-shadow: 0 0 10px var(--gold);
}

.notification-msg {
    color: #2ecc71;
    text-align: center;
    display: none;
    margin-bottom: 15px;
    font-weight: bold;
}

.auth-error {
    color: #e74c3c;
    text-align: center;
    display: none;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.upload-progress {
    text-align: center;
    color: var(--gold);
    font-size: 0.8rem;
    display: none;
    margin-bottom: 10px;
    animation: pulse 1.2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* RESPONSIVE MÓVIL */
@media (max-width: 900px) {
    .main-container {
        flex-direction: column;
        align-items: center;
    }

    .sidebar-left {
        width: 100%;
        max-width: 420px;
        text-align: center;
    }

    .sidebar-right {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    h1 {
        font-size: 3.5rem;
    }

    .spotted-box {
        width: 100%;
        max-width: 420px;
    }
}