/* HitRequest Homepage Styles */

/* Dramatic Sparkle Animation */
.stars {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    pointer-events: none;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #00b8ff;
    border-radius: 50%;
    box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.4),
               0 0 30px 10px rgba(0, 184, 255, 0.3),
               0 0 45px 15px rgba(65, 75, 255, 0.1);
    animation: star-animation 5s ease-out infinite;
    z-index: 100;
    opacity: 0.5;
    bottom: 0;
}

.star-large {
    width: 12px;
    height: 12px;
    background-color: white;
    box-shadow: 0 0 20px 8px rgba(255, 255, 255, 0.4),
               0 0 35px 15px rgba(0, 184, 255, 0.3),
               0 0 50px 20px rgba(65, 75, 255, 0.1);
    opacity: 0.6;
    bottom: 0;
}

@keyframes star-animation {
    0% {
        transform: translateY(0) scale(0);
        opacity: 0;
        bottom: 0;
    }
    20% {
        opacity: 0.6;
        transform: translateY(-200px) scale(1);
    }
    80% {
        opacity: 0.6;
        transform: translateY(-500px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-600px) scale(0);
    }
}

/* Modern Premium Dark Theme */
:root {
    /* Base colors */
    --dark-bg: #050812;
    --dark-card: #0f1729;
    --dark-accent: #1a2a3a;
    --dark-accent-hover: #2a3a4a;
    --primary-color: #00d4ff;
    --primary-hover: #00e5ff;
    --accent-color: #00d4ff;
    --accent-secondary: #0099cc;
    --neon-glow: 0 0 15px rgba(0, 212, 255, 0.5);
    
    /* Text colors */
    --text-light: #ffffff;
    --text-muted: #9ca3af;
    --text-dark: #050812;
    
    /* Effects */
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --card-shadow-hover: 0 16px 48px rgba(0, 212, 255, 0.2);
    --gradient-dark: linear-gradient(135deg, #0a0e27 0%, #0f1535 100%);
    --gradient-card: linear-gradient(145deg, #0f1729 0%, #0d1420 100%);
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    --gradient-accent: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    --border-radius: 16px;
    --border-radius-sm: 10px;
    --border-radius-lg: 20px;
    
    /* Animation speeds */
    --transition-fast: 0.2s;
    --transition-normal: 0.3s;
    --transition-slow: 0.5s;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Futuristic background effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(0, 184, 255, 0.02) 0%, transparent 20%),
        radial-gradient(circle at 90% 30%, rgba(65, 75, 255, 0.02) 0%, transparent 20%),
        radial-gradient(circle at 50% 80%, rgba(0, 184, 255, 0.01) 0%, transparent 30%);
    z-index: -1;
    pointer-events: none;
}

/* Animated grid background */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(17, 17, 20, 0.8) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 17, 20, 0.8) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
    animation: gridMove 120s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

.navbar.dark-theme {
    background: rgba(14, 14, 18, 0.9) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.8rem 0;
    transition: all var(--transition-normal) ease;
}

.navbar.dark-theme:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero.dark-theme {
    background: var(--dark-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 120px 0 140px;
    position: relative;
    overflow: hidden;
}

/* Hero section background - direct reference */
.hero-section {
    background-image: url('/HitRequest-subscription/assets/img/dj-background.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1;
}

/* Add an explicit img element for the background instead of CSS background */
.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    filter: brightness(0.6) contrast(1.2);
    z-index: -3;
}

/* Animated overlay */
.hero.dark-theme::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 184, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(65, 75, 255, 0.2) 0%, transparent 50%);
    z-index: -1;
    animation: pulseGlow 8s infinite alternate;
}

@keyframes pulseGlow {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* Enhanced Sparkle Effect */
.sparkle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8),
               0 0 20px 5px rgba(0, 184, 255, 0.4),
               0 0 30px 8px rgba(65, 75, 255, 0.2);
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    mix-blend-mode: screen;
}

.sparkle.large {
    width: 5px;
    height: 5px;
    box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.9),
               0 0 30px 10px rgba(0, 184, 255, 0.5),
               0 0 40px 15px rgba(65, 75, 255, 0.3);
}

.sparkle.star {
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    width: 10px;
    height: 10px;
    transform-origin: center;
}

@keyframes sparkle {
    0% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0); }
}

@keyframes float {
    0% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(10px); }
    100% { transform: translateY(0) translateX(0); }
}

/* Ultra-modern cards */
.card.dark-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card.dark-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.card.dark-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.card.dark-card:hover::before {
    opacity: 1;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
}

.card.dark-card .card-body {
    color: var(--text-light);
}

.card.dark-card h3, .card.dark-card h4, .card.dark-card h5 {
    color: var(--text-light);
}

.card.dark-card .form-control {
    background-color: #2d2d2d;
    border: 1px solid #3d3d3d;
    color: var(--text-light);
}

.card.dark-card .form-control:focus {
    background-color: #333;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(106, 61, 232, 0.25);
}

.card.dark-card .text-muted, .text-muted {
    color: var(--text-muted) !important;
}

.section-dark {
    background-color: var(--dark-accent);
    color: var(--text-light);
}

.icon-box {
    background-color: rgba(106, 61, 232, 0.2);
}

/* Futuristic button styling */
.btn {
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.625rem 1.5rem;
    transition: all var(--transition-normal) cubic-bezier(0.17, 0.67, 0.83, 0.67);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover, .btn-primary:focus {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.4), var(--neon-glow);
    color: #ffffff;
}

.btn-primary:active {
    transform: translateY(1px) scale(0.98);
}

.btn-outline-primary {
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    background: rgba(0, 184, 255, 0.05);
}

.btn-outline-primary:hover {
    background: rgba(0, 184, 255, 0.1);
    border-color: var(--accent-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-light {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Advanced button effects */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform var(--transition-slow) ease;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-normal) ease;
    z-index: -1;
}

.btn-primary::after {
    background: rgba(255, 255, 255, 0.5);
}

.btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Animated icons in buttons */
.btn i {
    display: inline-block;
    transition: all var(--transition-normal) ease;
    margin-left: 0.25rem;
    vertical-align: -0.125em;
}

.btn:hover i.bi-arrow-right-circle,
.btn:hover i.bi-arrow-right {
    transform: translateX(4px);
}

/* Phone image animation with subtle rotation */
@keyframes floatAndRotate {
    0% { transform: translateX(-10px) rotate(-2deg); }
    50% { transform: translateX(10px) rotate(2deg); }
    100% { transform: translateX(-10px) rotate(-2deg); }
}

.phone-floating {
    animation: floatAndRotate 8s ease-in-out infinite;
    transform-origin: center center;
}

/* Responsive phone image sizing */
.responsive-phone-image {
    max-width: 150%; /* Full width for mobile */
}

/* Medium screens and up */
@media (min-width: 768px) {
    .responsive-phone-image {
        max-width: 80%;
    }
}

/* Large screens */
@media (min-width: 992px) {
    .responsive-phone-image {
        max-width: 130%;
    }
    
    .phone-container {
        transform: scale(1.3);
        transform-origin: center center;
        margin: -10% -15% -10% -10%;
    }
    
    /* Override the phone-floating animation for desktop to keep rotation working with scaling */
    .phone-floating {
        animation-name: rotateOnly;
    }
    
    @keyframes rotateOnly {
        0% { transform: rotate(-2deg); }
        50% { transform: rotate(2deg); }
        100% { transform: rotate(-2deg); }
    }
}

.btn:hover i.bi-play-circle {
    transform: scale(1.2);
}

/* Custom scrollbar for dark theme */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-accent);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Neon glow effect for primary elements */
.text-primary {
    text-shadow: 0 0 5px rgba(106, 61, 232, 0.3);
}

.dropdown-menu.bg-dark {
    background-color: var(--dark-card) !important;
    border: 1px solid #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.dropdown-item:hover {
    background-color: var(--dark-accent) !important;
}

/* Futuristic badges */
.badge {
    padding: 0.5em 1em;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 100px;
    transition: all var(--transition-normal) ease;
    font-size: 0.85rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.badge.bg-primary {
    background: var(--gradient-accent) !important;
    color: var(--text-light);
    border: none;
}

.badge.bg-secondary, .badge.bg-dark {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Futuristic animation effects */
.section-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Glassmorphism effects */
.glass-effect {
    background: rgba(22, 23, 29, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Glowing border effect */
.glow-border {
    position: relative;
}

.glow-border::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary), var(--accent-color));
    border-radius: calc(var(--border-radius) + 1px);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.glow-border:hover::after {
    opacity: 1;
}

/* Neon text effects */
.neon-text {
    color: var(--accent-color);
    text-shadow: 0 0 5px rgba(0, 184, 255, 0.3), 0 0 10px rgba(0, 184, 255, 0.2);
    transition: text-shadow var(--transition-normal);
}

.neon-text:hover {
    text-shadow: 0 0 10px rgba(0, 184, 255, 0.5), 0 0 20px rgba(0, 184, 255, 0.3), 0 0 30px rgba(0, 184, 255, 0.2);
}

/* Modern gradient backgrounds */
.bg-gradient-dark {
    background: var(--gradient-dark);
}

.bg-gradient-accent {
    background: var(--gradient-accent);
}

.bg-gradient-card {
    background: var(--gradient-card);
}
