/* =========================================
   1. GLOBAL RESETS & TYPOGRAPHY
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #000;
    background: url('../images/crowd-2.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum" 1, "salt" 1, "ss01" 1, "ss09" 1;
}

a { text-decoration: none; }

/* =========================================
   2. HEADER & LOGOS
   ========================================= */
.main-header {
    padding: 16px 24px;
    display: flex;
    justify-content: flex-start;
}

.dual-logos {
    display: flex;
    align-items: center;
    gap: 12px; /* Reduced gap between logos */
}

/* Base properties shared by both */
.logo-img {
    width: auto !important;
    object-fit: contain !important;
    object-position: left center !important;
    display: block !important;
}

/* Independent height controls */
.nightlife-logo {
    height: 80px !important; /* Made it taller */
    min-width: 100px !important; 
}

.crowddj-logo {
    height: 36px !important; /* Made it shorter */
    min-width: 100px !important; 
}


/* =========================================
   3. MAIN LAYOUT
   ========================================= */
.content-wrapper {
    flex: 1; 
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 16px 16px 32px 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.karaoke-graphic {
    text-align: center;
    margin-bottom: 16px;
}

.karaoke-graphic img {
    max-width: 100%;
    width: 400px;
    height: auto;
}

.karaoke-mainlogo {
    text-align: center;
}

.MainLogoImage {
    max-width: 10%;
    width: 100px;
}

.MainLogoText {
    text-transform: uppercase;
}

.MainLogoTextTop {
    font-size: 80px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.MainLogoTextBottom {
    font-size: 46px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

/* =========================================
   4. GLASSMORPHISM CARDS
   ========================================= */
.card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 24px rgba(0, 0, 0, 0.35);
    padding: 32px 36px;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 20px;
}

.card-subtitle {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 14px;
}

.divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.17);
    margin: 24px 0 20px;
}

/* =========================================
   5. CROWDDJ HERO SECTION
   ========================================= */
.crowddj-layout {
    display: flex;
    align-items: center;
    gap: 36px;
}

.crowddj-text {
    flex: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(24, 95, 165, 0.25);
    border: 1px solid rgba(90, 160, 240, 0.4);
    color: #a8d0f5;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.hero-title {
    font-size: 32px;
    font-weight: 700; 
    margin-bottom: 10px;
    color: #fff;
}

.hero-desc {
    font-size: 24px;
    font-weight: 500; 
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 24px;
}

/* QR Code */
.qr-wrapper {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.qr-frame {
    padding: 10px;
    background: #fff;
    border-radius: 8px;
}

.qr-label {
    font-size: 12px;
    font-weight: 700; 
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
/* =========================================
   6. BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    
    /* Required to keep the animation inside the button */
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

/* Primary Green Button (With Diagonal Sweep) */
.btn-primary {
    background: #32be78;
    color: #ffffff;
    border-radius: 8px;
    padding: 12px 24px;
    /* Keeps a solid green border so the edges don't disappear when the white sweeps in */
    box-shadow: inset 0 0 0 2px #32be78;
}

/* The angled white shape hiding off-screen to the left */
.btn-primary::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 120%;
    z-index: -1;
    left: -130%;
    transform: skew(15deg);
    background: #ffffff;
    transition: all 0.4s ease;
}

/* The hover trigger that sweeps the shape across and changes the text color */
.btn-primary:hover {
    color: #32be78;
}

.btn-primary:hover::before {
    left: -10%;
    right: 0;
}

/* Dim Pill Button (Languages - Smooth fade) */
.btn-pill {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.82);
    border-radius: 100px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.15s;
}

.btn-pill:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* Button Layouts */
.pdf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* =========================================
   7. FOOTER
   ========================================= */
.main-footer {
    text-align: center;
    padding: 24px 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.04em;
}

.main-footer a {
    color: inherit;
    transition: opacity 0.2s;
}

.main-footer a:hover {
    opacity: 0.7;
}

/* =========================================
   8. ANIMATIONS & RESPONSIVE DESIGN
   ========================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-in-1 { animation: fadeInUp 0.45s 0.05s ease both; }
.fade-in-2 { animation: fadeInUp 0.45s 0.15s ease both; }

/* Mobile Stacking */
@media (max-width: 600px) {
    .card { padding: 24px 20px; }
    .crowddj-layout { flex-direction: column; gap: 24px; text-align: center; }
    .pdf-grid { grid-template-columns: 1fr; }
    .dual-logos { justify-content: center; width: 100%; }
}