
/* Hub / Landing Page */
.hub-container {
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.hub-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hub-header .subtitle {
    font-size: 1.5rem;
    margin-bottom: 60px;
    opacity: 0.9;
}

.doors-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.door-card {
    text-decoration: none;
    color: inherit;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    perspective: 1000px;
    margin-bottom: 40px;
}

.door-frame {
    background: white;
    border-radius: 20px; /* Rounded arch style */
    border-top-left-radius: 150px;
    border-top-right-radius: 150px;
    height: 400px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: transform 0.4s, box-shadow 0.4s;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 8px solid rgba(255,255,255,0.3);
}

.door-card:hover .door-frame {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    border-color: #fff;
}

.door-content {
    text-align: center;
    color: #4a5568;
    padding: 20px;
}

.door-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    display: block;
    transition: transform 0.3s;
}

.door-card:hover .door-icon {
    transform: scale(1.2);
}

.door-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #2d3748;
}

.door-desc {
    font-size: 1.1rem;
    line-height: 1.4;
    color: #718096;
}

.door-label {
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    opacity: 0.9;
}

/* Door Themes */
.door-time .door-frame {
    background: linear-gradient(to bottom right, #ffffff, #e6fffa);
    border-color: #38b2ac;
}

.door-worlds .door-frame {
    background: linear-gradient(to bottom right, #ffffff, #ebf8ff);
    border-color: #4299e1;
}

.door-magic .door-frame {
    background: linear-gradient(to bottom right, #ffffff, #faf5ff);
    border-color: #9f7aea;
}

/* Theme Pages */
.theme-page {
    padding-bottom: 60px;
}

.theme-hero {
    text-align: center;
    padding: 60px 20px;
    color: white;
    margin-bottom: 0;
}

.magic-theme .theme-hero { 
    /* background already global gradient, specific overrides if needed */
}

.back-link-container {
    text-align: center;
    margin-top: 50px;
}

.btn-text {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 10px 20px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-text:hover {
    background: white;
    color: #667eea;
}
