* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
}

.background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: -1;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.content-layer {
    position: relative;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }

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

h1 {
    color: #fff;
    text-align: center;
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.subtitle {
    color: rgba(255,255,255,0.9);
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.tab-btn:hover, .tab-btn.active {
    background: rgba(255,255,255,0.95);
    color: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.post-title {
    color: #2c3e50;
    font-size: 1.4em;
    margin-bottom: 8px;
}

.post-date {
    color: #7f8c8d;
    font-size: 0.9em;
    margin-bottom: 12px;
}

.post-excerpt {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 12px;
}

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

.tag {
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
}

.radio-section {
    margin-bottom: 30px;
}

.section-title {
    color: #fff;
    font-size: 1.3em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.3);
}

.radio-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.radio-card h4 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1.2em;
}

.radio-card p {
    color: #7f8c8d;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.radio-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9em;
}

.radio-link:hover {
    text-decoration: underline;
}

audio {
    width: 100%;
    margin-top: 10px;
}

.tmk-player-container {
    height: 180px;
    /*overflow: hidden;*/
    text-align: center;
    margin: 15px 0;
}

.tmk-player-container > div {
    display: inline-block;
    transform: scale(0.5);
    transform-origin: top center;
}

.tool-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tool-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

#timer {
    font-size: 4em;
    text-align: center;
    margin: 20px 0;
    color: #764ba2;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.btn {
    background: #764ba2;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    margin: 5px;
    transition: all 0.3s;
}

.btn:hover {
    background: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(118, 75, 162, 0.3);
}

.btn-secondary {
    background: #95a5a6;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

footer {
    text-align: center;
    color: rgba(255,255,255,0.7);
    margin-top: 40px;
    padding: 20px;
    font-size: 0.9em;
}

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.5s; }

@keyframes fadeIn {
    to { opacity: 1; }
}

@media (max-width: 600px) {
    h1 { font-size: 2em; }
    .card { padding: 20px; }
    #timer { font-size: 3em; }
}