/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #667eea;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #667eea;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-image {
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease 0.8s both;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.image-placeholder p {
    color: white;
    margin-top: 1rem;
    font-size: 1rem;
}

/* Author Photos */
.author-photo {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.author-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.4);
}

.biography-portrait {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.biography-portrait:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.section-header p {
    color: #718096;
    font-size: 1.1rem;
}

/* Biography Section */
.biography {
    padding: 80px 0;
    background: #f7fafc;
}

.biography-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.biography-image .image-placeholder {
    width: 250px;
    height: 250px;
}

.biography-text h3 {
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.biography-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
}

.stat-label {
    color: #718096;
    font-size: 0.9rem;
}

/* Additional Section */
.additional {
    padding: 80px 0;
    background: white;
}

.additional-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.inspiration-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inspiration-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.inspiration-card h3 {
    color: #2d3748;
    margin-bottom: 1rem;
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background: #f7fafc;
}

.blog-management {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Admin Panel */
.admin-panel {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    text-align: left;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.admin-header h3 {
    color: #2d3748;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid #e2e8f0;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-info .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.stat-info .stat-label {
    font-size: 0.9rem;
    color: #718096;
    margin: 0;
}

.admin-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.admin-settings {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.admin-settings h4 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.setting-group {
    margin-bottom: 1rem;
}

.setting-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #4a5568;
    font-weight: 500;
}

.setting-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Login Form */
.login-form {
    text-align: center;
    padding: 2rem;
    background: #f7fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.login-form h4 {
    color: #2d3748;
    margin-bottom: 1.5rem;
}

/* Admin Dashboard */
.admin-dashboard {
    display: block;
}

.admin-dashboard .admin-actions {
    margin-bottom: 2rem;
}

.admin-dashboard .new-post-form {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    margin-top: 2rem;
}

/* Posts Management */
.posts-management {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

.posts-management h4 {
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.posts-list {
    display: grid;
    gap: 1rem;
}

.admin-post-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.admin-post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.admin-post-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    flex: 1;
    margin-right: 1rem;
}

.admin-post-meta {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.admin-post-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.admin-post-tag {
    background: #e2e8f0;
    color: #4a5568;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.admin-post-content {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
    max-height: 100px;
    overflow: hidden;
    position: relative;
}

.admin-post-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(transparent, white);
}

.admin-post-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.admin-post-actions .btn {
    padding: 6px 12px;
    font-size: 0.85rem;
}

/* Edit Form */
.edit-post-form {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-top: 1rem;
}

.edit-post-form h5 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.new-post-form {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.new-post-form h3 {
    margin-bottom: 1.5rem;
    color: #2d3748;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2d3748;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.blog-posts {
    display: grid;
    gap: 2rem;
}

.blog-post {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-2px);
}

.post-header {
    margin-bottom: 1rem;
}

.post-title {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.post-meta {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.post-tag {
    background: #e2e8f0;
    color: #4a5568;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.post-content {
    color: #4a5568;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-main {
    text-align: left;
}

.footer-admin {
    text-align: right;
}

.footer-admin .btn {
    background: transparent;
    color: #a0aec0;
    border: 1px solid #a0aec0;
    padding: 8px 16px;
    font-size: 0.9rem;
}

.footer-admin .btn:hover {
    background: #a0aec0;
    color: #2d3748;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Repost and Embed Styles */
.repost-source {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.repost-source a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.repost-source a:hover {
    text-decoration: underline;
}

.embed-content {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    overflow: hidden;
}

.embed-content iframe {
    max-width: 100%;
    border: none;
}

.embed-content img {
    max-width: 100%;
    height: auto;
}

.post-type-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #764ba2;
    color: white;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #718096;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .biography-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .biography-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .additional-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    .image-placeholder {
        width: 250px;
        height: 250px;
    }

    .author-photo {
        width: 250px;
        height: 250px;
    }

    .biography-portrait {
        width: 200px;
        height: 200px;
    }
    
    .blog-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .admin-stats {
        grid-template-columns: 1fr;
    }
    
    .admin-actions {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-main,
    .footer-admin {
        text-align: center;
    }
    
    /* Fix mobile layout issues */
    .container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .contact-content {
        gap: 2rem;
    }
    
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .admin-panel {
        margin: 0 20px;
        padding: 1.5rem;
    }

    .admin-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .admin-header h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .admin-header .close-btn {
        position: absolute;
        top: 1rem;
        right: 1rem;
        padding: 0.5rem;
        font-size: 1.2rem;
    }

    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .stat-info .stat-number {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .stat-info .stat-label {
        font-size: 0.8rem;
        text-align: center;
    }

    .admin-actions {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .admin-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .admin-actions .btn i {
        margin-right: 0.5rem;
        font-size: 0.9rem;
    }
    
    .admin-post-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .admin-post-actions {
        justify-content: center;
    }

    .admin-post-item {
        padding: 1rem;
    }

    .admin-post-title {
        font-size: 1.1rem;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .admin-post-meta {
        font-size: 0.8rem;
    }

    .admin-post-content {
        max-height: 80px;
        font-size: 0.9rem;
    }

    .admin-post-actions .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .edit-post-form {
        padding: 1rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.75rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .image-placeholder {
        width: 200px;
        height: 200px;
    }

    .author-photo {
        width: 200px;
        height: 200px;
    }

    .biography-portrait {
        width: 180px;
        height: 180px;
    }
    
    /* Fix mobile spacing issues */
    body {
        overflow-x: hidden;
    }
    
    .container {
        max-width: 100%;
        padding: 0 15px;
        margin: 0;
    }
    
    .contact-content {
        gap: 1.5rem;
    }
    
    .contact-info {
        gap: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-content {
        padding: 0 15px;
    }

    /* Admin panel mobile fixes */
    .admin-panel {
        margin: 0 15px;
        padding: 1rem;
    }

    .admin-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .stat-card {
        padding: 0.75rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .stat-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .stat-info .stat-number {
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
    }

    .stat-info .stat-label {
        font-size: 0.75rem;
        text-align: center;
        line-height: 1.2;
    }

    /* Additional mobile fixes for admin panel */
    .admin-header h3 {
        font-size: 1.3rem;
    }

    .admin-header .close-btn {
        top: 0.75rem;
        right: 0.75rem;
        padding: 0.4rem;
        font-size: 1.1rem;
    }

    .admin-actions .btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .admin-actions .btn i {
        margin-right: 0.4rem;
        font-size: 0.85rem;
    }

    /* Admin panel mobile fixes */
    .admin-panel {
        margin: 0 15px;
        padding: 1rem;
    }

    .admin-post-item {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }

    .admin-post-title h5 {
        font-size: 1rem;
        line-height: 1.3;
    }

    .admin-post-meta {
        flex-direction: column;
        gap: 0.25rem;
    }

    .admin-post-meta span {
        font-size: 0.75rem;
    }

    .admin-post-tags {
        gap: 0.25rem;
    }

    .admin-post-tag {
        font-size: 0.7rem;
        padding: 1px 6px;
    }

    .admin-post-actions {
        flex-direction: column;
        width: 100%;
    }

    .admin-post-actions .btn {
        width: 100%;
        margin-bottom: 0.5rem;
        justify-content: center;
    }

    .edit-post-form {
        padding: 0.75rem;
        margin-top: 0.75rem;
    }

    .edit-post-form h5 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .form-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .form-buttons .btn {
        width: 100%;
    }

    /* Repost and embed mobile fixes */
    .repost-source {
        padding: 0.75rem;
        margin: 0.75rem 0;
        font-size: 0.9rem;
    }

    .repost-source a {
        font-size: 0.8rem;
        word-break: break-all;
    }

    .embed-content {
        padding: 0.75rem;
        margin: 0.75rem 0;
    }

    .embed-content iframe {
        width: 100%;
        height: 200px;
    }

    .post-type-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}

/* Casino Math Section */
.casino-math {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.casino-math .section-header h2 {
    color: white;
}

.casino-math .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.casino-math-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.math-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.math-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.math-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.math-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.math-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.math-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.math-card li {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 1.5rem;
}

.math-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4ade80;
    font-weight: bold;
}

.math-card li:last-child {
    border-bottom: none;
}

/* Mobile styles for casino math */
@media (max-width: 768px) {
    .casino-math {
        padding: 3rem 0;
    }
    
    .casino-math-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .math-card {
        padding: 1.5rem;
    }
    
    .math-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.2rem;
    }
    
    .math-card h3 {
        font-size: 1.3rem;
    }
}
