/* Global Styles - Spotify Inspired */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* App Header Section - Spotify Style */
.app-header-section {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 12px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border: 1px solid #333;
}

.app-main-info {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}

.app-icon-large {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    border: 2px solid #333;
}

.app-icon-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-details {
    flex: 1;
}

.app-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #1DB954 0%, #1ed760 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-developer {
    color: #b3b3b3;
    font-size: 18px;
    margin-bottom: 20px;
}

.app-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.app-meta span {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #ffffff;
    border: 1px solid #333;
}

.download-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.download-btn-primary {
    background: linear-gradient(135deg, #1DB954 0%, #1ed760 100%);
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #1DB954;
}

.download-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 185, 84, 0.6);
    background: linear-gradient(135deg, #1ed760 0%, #1DB954 100%);
}

.download-icon {
    font-size: 20px;
}

.download-info {
    text-align: center;
}

.download-info p {
    color: #b3b3b3;
    font-size: 14px;
    margin: 2px 0;
}

/* Content Sections - Dark Theme */
.screenshots,
.description,
.policy-section,
.contact-section {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border: 1px solid #333;
}

.screenshots h2,
.description h2,
.policy-section h2,
.contact-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
}

/* Screenshots */
.screenshot-grid {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 20px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
}

.screenshot-grid::-webkit-scrollbar {
    height: 8px;
}

.screenshot-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.screenshot-grid::-webkit-scrollbar-thumb {
    background: #1DB954;
    border-radius: 4px;
}

.screenshot-grid::-webkit-scrollbar-thumb:hover {
    background: #1ed760;
}

.screenshot-grid img {
    flex-shrink: 0;
    width: 250px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    border: 1px solid #333;
    scroll-snap-align: start;
}

.screenshot-grid img:hover {
    transform: scale(1.05);
}

.featured-image {
    width: 300px;
    height: 500px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    border: 1px solid #333;
    scroll-snap-align: start;
}

.featured-image:hover {
    transform: scale(1.05);
}

/* Description */
.description-content {
    line-height: 1.7;
}

.short-desc {
    font-size: 16px;
    color: #b3b3b3;
    margin-bottom: 15px;
}

.long-desc {
    font-size: 16px;
    color: #b3b3b3;
    display: none;
}

.see-more {
    color: #1DB954;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.3s ease;
}

.see-more:hover {
    color: #1ed760;
}

/* Collapsible Sections */
.collapsible {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    padding: 15px 0;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.collapsible:hover {
    color: #1DB954;
}

.arrow {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.policy-content,
.contact-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.policy-content.show,
.contact-content.show {
    max-height: 1000px;
}

.policy-content h3,
.contact-content h3 {
    color: #ffffff;
    margin: 20px 0 10px 0;
    font-size: 18px;
}

.policy-content p,
.contact-content p {
    color: #b3b3b3;
    margin-bottom: 15px;
    line-height: 1.6;
}

.policy-content a,
.contact-content a {
    color: #1DB954;
    text-decoration: none;
}

.policy-content a:hover,
.contact-content a:hover {
    text-decoration: underline;
}

/* Modal Styles - Dark Theme */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: modalFadeIn 0.3s ease-out;
    border: 1px solid #333;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
}

.modal-body {
    text-align: center;
    margin-bottom: 30px;
}

.modal-body p {
    color: #b3b3b3;
    line-height: 1.6;
    margin-bottom: 15px;
}

.modal-footer {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.modal-btn {
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cancel-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid #333;
}

.cancel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.confirm-btn {
    background: linear-gradient(135deg, #1DB954 0%, #1ed760 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.4);
}

.confirm-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(29, 185, 84, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-header-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .app-main-info {
        flex-direction: column;
        gap: 20px;
    }

    .app-title {
        font-size: 28px;
    }

    .app-meta {
        justify-content: center;
    }

    .download-btn-primary {
        padding: 12px 24px;
        font-size: 16px;
    }

    .screenshot-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .modal-content {
        padding: 20px;
        margin: 20px;
    }

    .modal-footer {
        flex-direction: column;
    }

    .modal-btn {
        width: 100%;
    }
    .featured-image{
        display: none;
    }
}
