/* App Portal Theme - Modern, Tech, Dynamic */

:root {
    --app-primary: #00d2ff;
    --app-secondary: #3a7bd5;
    --app-gradient: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    --app-dark: #1a1a2e;
    --app-card-bg: rgba(255,255,255,0.05);
}

body.app-theme {
    background: var(--app-dark);
    color: #fff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--app-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    text-align: center;
}

.loader i {
    font-size: 4rem;
    color: var(--app-primary);
    animation: pulse 1.5s infinite;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255,255,255,0.1);
    margin-top: 20px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background: var(--app-gradient);
    animation: loading 1s infinite;
}

@keyframes loading {
    0% { left: -50%; }
    100% { left: 100%; }
}

/* Navigation */
#appNav {
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.app-badge {
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    color: white;
    margin-left: 10px;
    font-size: 0.6rem;
    padding: 3px 8px;
}

/* Hero Section */
.app-hero {
    position: relative;
    overflow: hidden;
    background: var(--app-dark);
}

.app-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2300d2ff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom no-repeat;
    background-size: cover;
}

.hero-badge {
    background: rgba(0, 210, 255, 0.2);
    color: var(--app-primary);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
    border: 1px solid rgba(0, 210, 255, 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--app-primary);
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* App Mockup */
.app-mockup {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-frame {
    width: 320px;
    height: 600px;
    background: #111;
    border-radius: 40px;
    padding: 10px;
    position: relative;
    box-shadow: 0 30px 50px rgba(0,0,0,0.5);
    border: 2px solid #333;
    animation: float 6s ease-in-out infinite;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 30px;
    overflow: hidden;
    padding: 20px 15px;
}

.app-interface {
    color: white;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.app-header i {
    color: var(--app-primary);
}

.app-search {
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    padding: 10px 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-search input {
    background: transparent;
    border: none;
    color: white;
    width: 100%;
}

.app-search input::placeholder {
    color: rgba(255,255,255,0.5);
}

.app-categories {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.app-categories span {
    padding: 5px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    white-space: nowrap;
}

.app-categories span.active {
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
}

.app-dj-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dj-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    border-left: 3px solid var(--app-primary);
}

.dj-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    border-radius: 50%;
}

.dj-info {
    flex: 1;
}

.dj-info h4 {
    font-size: 0.9rem;
    margin: 0;
}

.dj-info p {
    font-size: 0.7rem;
    margin: 0;
    color: rgba(255,255,255,0.7);
}

.dj-info i {
    color: #ffd700;
    font-size: 0.6rem;
}

.dj-price {
    font-weight: 700;
    color: var(--app-primary);
}

.floating-element {
    position: absolute;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
    animation: float 5s ease-in-out infinite;
}

.payment-badge {
    top: 20%;
    right: -50px;
}

.instant-badge {
    bottom: 20%;
    left: -50px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* App Features */
.app-feature {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.app-feature:hover {
    transform: translateY(-10px);
    border-color: var(--app-primary);
    box-shadow: 0 20px 40px rgba(0, 210, 255, 0.2);
}

.app-feature .feature-icon {
    width: 80px;
    height: 80px;
    background: var(--app-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.app-feature .feature-icon i {
    font-size: 2.5rem;
    color: white;
}

/* How It Works */
.step-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--app-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 100px;
    height: 100px;
    background: rgba(0, 210, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-icon i {
    font-size: 3rem;
    color: var(--app-primary);
}

/* For DJs Section */
.app-for-djs {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.1), rgba(58, 123, 213, 0.1));
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.benefits-list {
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(10px);
    background: rgba(0, 210, 255, 0.1);
}

.benefit-item i {
    font-size: 2rem;
    color: var(--app-primary);
}

.benefit-item h4 {
    margin: 0;
    font-size: 1.1rem;
}

.benefit-item p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

.dj-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.stat-circle {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: pulse 3s ease-in-out infinite;
}

.stat-circle.small {
    width: 150px;
    height: 150px;
}

.circle-inner {
    background: var(--app-dark);
    width: 90%;
    height: 90%;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Countdown Timer */
.countdown {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.countdown-item {
    text-align: center;
    min-width: 80px;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
}

.countdown-item span:first-child {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--app-primary);
}

/* Footer */
.app-footer {
    background: #0f0f1a;
    color: white;
    padding: 3rem 0 1rem;
}

.app-footer h5 i {
    color: var(--app-primary);
    margin-right: 10px;
}

.app-footer ul {
    list-style: none;
    padding: 0;
}

.app-footer ul li {
    margin-bottom: 0.5rem;
}

.app-footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.app-footer a:hover {
    color: var(--app-primary);
}

/* Responsive */
@media (max-width: 991px) {
    .floating-element {
        display: none;
    }
    
    .phone-frame {
        width: 280px;
        height: 550px;
    }
    
    .dj-stats {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .countdown {
        flex-wrap: wrap;
        justify-content: center;
    }
}