* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* ===== WIDGET DE DADOS ===== */

.dice-widget{
    position:fixed;
    bottom:20px;
    right:20px;
    width:280px;
    background:#fae5c5;
    border:2px solid #4a3423;
    border-radius:12px;
    padding:15px;
    box-shadow:0 4px 15px rgba(0,0,0,.3);
    z-index:9999;
}

.dice-widget h3{
    margin-top:0;
    color:#4a3423;
}

.dice-buttons{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:5px;
}

.dice-buttons button{
    background:#ba9c6c;
    color:white;
    border:none;
    padding:8px;
    border-radius:6px;
    cursor:pointer;
    font-weight:bold;
}

.dice-buttons button:hover{
    opacity:.9;
}

.dado-visual{
    width:90px;
    height:90px;
    background:white;
    border:3px solid #ba9c6c;
    border-radius:10px;
    margin:15px auto;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:32px;
    font-weight:bold;
}

.rolling{
    animation:spin .7s ease;
}

@keyframes spin{
    0%{transform:rotate(0deg);}
    25%{transform:rotate(90deg) scale(1.2);}
    50%{transform:rotate(180deg);}
    75%{transform:rotate(270deg) scale(1.2);}
    100%{transform:rotate(360deg);}
}

.historial{
    max-height:120px;
    overflow-y:auto;
    background:white;
    padding:5px;
    border-radius:5px;
    text-align:left;
    font-size:12px;
}

.critico{
    color:green;
    font-weight:bold;
}

.pifia{
    color:red;
    font-weight:bold;
}
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: #f3c16c;
    color: #333;
    line-height: 1.6;
}
.caja-info {
  background-color: #ba9c6c;
  color: #000000;
  border: 2px solid #4a3423;
  border-radius: 10px;
  padding: 20px;
  margin: 20px auto;
  max-width: 700px;
}
}

.galeria {
  margin: 40px auto;
  max-width: 1000px;
}

/* Header Tumblr */
.tumblr-header {
    background: #001935;
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-bottom: 3px solid #00b8ff;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
}

.blog-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.tumblr-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.tumblr-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 8px 15px;
    border-radius: 20px;
    transition: background 0.3s;
}

.tumblr-nav a:hover {
    background: rgba(255,255,255,0.2);
}

/* Layout principal */
.tumblr-layout {
    max-width: 1200px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    padding: 0 20px;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.user-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.avatar {
    width: 100px;
    height: 100px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 3rem;
    border: 3px solid #00b8ff;
}

.user-card h3 {
    margin-bottom: 10px;
    color: #001935;
}

.user-bio {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.user-stats {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.follow-btn {
    width: 100%;
    padding: 12px;
    background: #00b8ff;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.3s;
}

.follow-btn:hover {
    background: #0095cc;
}

.sidebar-widget {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sidebar-widget h3 {
    margin-bottom: 15px;
    color: #001935;
    font-size: 1.1rem;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #f0f0f0;
    padding: 6px 15px;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.tag:hover {
    background: #00b8ff;
    color: white;
    transform: translateY(-2px);
}

/* Posts */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.tumblr-post {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tumblr-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.post-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    font-size: 2rem;
}

.author-name {
    font-weight: bold;
    color: #001935;
}

.post-date {
    color: #999;
    font-size: 0.9rem;
}

.post-content {
    padding: 25px;
}

.post-content h2 {
    color: #001935;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.post-content h3 {
    color: #001935;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.post-content p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Grid de PDFs */
.pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.pdf-item {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.pdf-item:hover {
    border-color: #00b8ff;
    background: #f0f8ff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.pdf-item a {
    text-decoration: none;
    color: #333;
}

.pdf-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.pdf-name {
    display: block;
    font-weight: bold;
    color: #001935;
    margin-bottom: 5px;
}

.pdf-size {
    display: block;
    font-size: 0.8rem;
    color: #999;
}

/* Footer del post */
.post-footer {
    border-top: 1px solid #f0f0f0;
    padding: 20px;
}

.post-interactions {
    display: flex;
    gap: 25px;
    margin-bottom: 15px;
}

.interaction {
    color: #666;
    font-size: 0.95rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-tags a {
    color: #00b8ff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.post-tags a:hover {
    color: #0095cc;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 968px) {
    .tumblr-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .blog-title {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .tumblr-nav {
        gap: 15px;
    }
    
    .tumblr-nav a {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .pdf-grid {
        grid-template-columns: 1fr;
    }
    
    .post-interactions {
        gap: 15px;
        font-size: 0.9rem;
    }
}