/* ==========================================
   app.css - Custom Styles for App Details Section
   (Red & Gold Theme)
   ========================================== */

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

.app-hero-card {
    text-align: center;
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.06);
}

/* App Icon Animation */
.app-icon-container {
    display: inline-block;
    margin-bottom: 15px;
}

.animated-app-icon {
    width: 110px;
    height: 110px;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(185, 28, 28, 0.2);
    animation: appIconFloat 3.5s ease-in-out infinite;
}

@keyframes appIconFloat {
    0% {
        transform: translateY(0px) scale(1);
        box-shadow: 0 10px 25px rgba(185, 28, 28, 0.2);
    }
    50% {
        transform: translateY(-8px) scale(1.03);
        box-shadow: 0 18px 30px rgba(185, 28, 28, 0.35);
    }
    100% {
        transform: translateY(0px) scale(1);
        box-shadow: 0 10px 25px rgba(185, 28, 28, 0.2);
    }
}

.app-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0f172a;
}

.app-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #52525b;
    max-width: 650px;
    margin: 0 auto 20px auto;
}

/* App Specification Table */
.app-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.app-spec-table {
    width: 100%;
    max-width: 480px;
    border-collapse: collapse;
    background: rgba(254, 252, 232, 0.6);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.app-spec-table tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.app-spec-table tr:last-child {
    border-bottom: none;
}

.app-spec-table th {
    text-align: left;
    padding: 12px 18px;
    font-weight: 600;
    color: #b91c1c;
    width: 45%;
    font-size: 0.95rem;
}

.app-spec-table td {
    text-align: left;
    padding: 12px 18px;
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Download Button */
.app-download-wrapper {
    margin-top: 25px;
}

.app-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid rgba(234, 179, 8, 0.35);
    box-shadow: 0 4px 15px rgba(185, 28, 28, 0.4);
    transition: all 0.3s ease;
}

.app-download-btn:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(185, 28, 28, 0.55);
    color: #ffffff;
    border-color: rgba(234, 179, 8, 0.6);
}

.app-download-btn:active {
    transform: translateY(1px);
}

/* Platform Tabs Styles */
.platform-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0 25px 0;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #52525b;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn.active {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(185, 28, 28, 0.4);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* iOS Guide Image Aspect Ratio 1:1 */
.ios-guide-img {
    width: 100%;
    max-width: 250px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 20px;
    margin: 0 auto 20px auto;
    display: block;
    box-shadow: 0 8px 25px rgba(185, 28, 28, 0.15);
    border: 2px solid rgba(234, 179, 8, 0.4);
}

.ios-install-card {
    text-align: center;
}
