/* CSS specific to Drop Block App Page */

/* App Header Styling */
.app-header {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

.app-icon-large {
    font-size: 6rem !important;
    color: var(--primary-color);
    background: rgba(0, 209, 178, 0.1);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-icon-medium {
    font-size: 3rem !important;
    color: var(--primary-color);
    background: rgba(0, 209, 178, 0.1);
    border-radius: 12px;
    padding: 0.75rem;
}

.app-meta .tag {
    margin-right: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Download Card */
.app-download-card .card {
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 2px solid var(--primary-color);
}

.download-stat {
    padding: 0.5rem;
}

.download-stat .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.download-stat .stat-label {
    font-size: 0.8rem;
    color: var(--dark-color);
    margin-top: 0.25rem;
}

/* Screenshot Gallery */
.screenshot-gallery {
    margin-bottom: 2rem;
}

.screenshot-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f5f5f5;
    aspect-ratio: 9/16;
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.screenshot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.screenshot-item:hover .screenshot-overlay {
    opacity: 1;
}

.screenshot-overlay .material-icons {
    color: white;
    font-size: 3rem;
}

/* Content Cards */
.content-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.sidebar-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
}

/* Feature Boxes */
.feature-box {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 2.5rem !important;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* App Info Grid */
.app-info-grid {
    display: grid;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(0, 209, 178, 0.05);
}

.info-item .material-icons {
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.25rem;
    font-size: 1.25rem;
}

.info-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.info-item p {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
}

/* Security List */
.security-list {
    list-style: none;
    padding: 0;
}

.security-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.security-list li .material-icons {
    color: #48bb78;
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* Related Apps */
.related-app-card {
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
}

.related-app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Breadcrumb Styling */
.breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Responsive Design for App Page */
@media screen and (max-width: 768px) {
    .app-header {
        padding: 1.5rem;
    }
    
    .app-header .media {
        flex-direction: column;
        text-align: center;
    }
    
    .app-header .media-left {
        margin-bottom: 1rem;
    }
    
    .app-icon-large {
        font-size: 4rem !important;
    }
    
    .content-card,
    .sidebar-card {
        padding: 1.5rem;
    }
    
    .sidebar-card {
        position: static;
        margin-top: 2rem;
    }
    
    .screenshot-item {
        margin-bottom: 1rem;
    }
    
    .feature-box {
        margin-bottom: 1rem;
    }
    
    .app-meta .tag {
        margin-bottom: 0.75rem;
    }
}

@media screen and (max-width: 480px) {
    .hero.is-medium .hero-body {
        padding: 2rem 0;
    }
    
    .app-header .title.is-2 {
        font-size: 1.75rem;
    }
    
    .app-header .subtitle.is-4 {
        font-size: 1.25rem;
    }
    
    .download-info .columns {
        flex-direction: column;
    }
    
    .download-info .column {
        padding: 0.25rem;
    }
}

/* Animation Enhancements */
.screenshot-item {
    animation: fadeInUp 0.6s ease forwards;
}

.screenshot-item:nth-child(1) { animation-delay: 0.1s; }
.screenshot-item:nth-child(2) { animation-delay: 0.2s; }
.screenshot-item:nth-child(3) { animation-delay: 0.3s; }
.screenshot-item:nth-child(4) { animation-delay: 0.4s; }

.feature-box {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-box:nth-child(1) { animation-delay: 0.1s; }
.feature-box:nth-child(2) { animation-delay: 0.2s; }
.feature-box:nth-child(3) { animation-delay: 0.3s; }
.feature-box:nth-child(4) { animation-delay: 0.4s; }

/* Custom Notifications */
.notification.is-info.is-light {
    border-left: 4px solid var(--primary-color);
}

.notification.is-success.is-light {
    border-left: 4px solid #48bb78;
}

.notification.is-warning.is-light {
    border-left: 4px solid #ed8936;
}

/* Print Styles */
@media print {
    .navbar,
    .hero-foot,
    .footer,
    .screenshot-overlay,
    .app-download-card {
        display: none !important;
    }
    
    .hero {
        background: white !important;
        color: black !important;
    }
    
    .content-card,
    .sidebar-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
} 