* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #8ea0f5 0%, #9e6bc8 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    height: 384px;
    width: auto;
    object-fit: contain;
}

.main-content {
    text-align: center;
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.topic-card {
    background: #ff8c42;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: #ff6b1a;
    background: #ff6b1a;
}

.topic-card:active {
    transform: translateY(-2px);
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .logo {
        height: 288px;
    }
    
    .title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .topic-card {
        padding: 20px;
        font-size: 1rem;
        min-height: 70px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.8rem;
    }
    
    .logo {
        height: 230px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 1001;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #000;
}

.modal-body {
    display: flex;
    align-items: center;
    padding: 40px;
    gap: 30px;
}

.boomer-image {
    flex: 0 0 300px;
    text-align: center;
}

.boomer-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 15px;
}

.boomer-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.speech-bubble {
    background: #ff8c42;
    color: white;
    padding: 25px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.3);
    font-size: 1.1rem;
    line-height: 1.6;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 30px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid #ff8c42;
}

.boomer-identity {
    font-style: italic;
    color: #666;
    font-size: 1rem;
    text-align: center;
    margin-top: 10px;
}

.modal-logo {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 1002;
}

.modal-logo a {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.modal-logo a:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 60px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.logo-img:hover {
    opacity: 1;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px 40px;
    border-top: 1px solid #eee;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}



.share-btn {
    background: #2196F3;
}

.share-btn:hover {
    background: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.action-btn span {
    font-size: 1.2rem;
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-body {
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
    }
    
    .boomer-image {
        flex: none;
    }
    
    .boomer-img {
        max-width: 250px;
    }
    
    .speech-bubble {
        padding: 20px;
        font-size: 1rem;
    }
    
    .speech-bubble::before {
        display: none;
    }
    
    .modal-logo {
        bottom: 15px;
        right: 15px;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .modal-actions {
        padding: 15px 20px;
        gap: 10px;
    }
    
    .action-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
} 