/* --- 1. Global & Variables --- */
:root {
    --primary: #f43f5e;
    --accent: #fbbf24;
    --bg-main: #0b0f19;
    --bg-card: #1e293b;
    --border-color: #334155;
    --text-main: #f1f5f9;
}

body{
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Verdana', sans-serif;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 22px;
}
body * { margin: 0; }
a { text-decoration: none; color: #38bdf8; transition: 0.3s; }
a:hover { color: var(--primary) !important; }

/* --- 2. Logo & Search --- */
.6logo {
    background: linear-gradient(135deg, #f660ab, #728fce) !important;
    padding: 20px 10px;
    text-align: center;
    border-bottom: 4px solid var(--primary);
}
.fileNa{
color:white;
font-size:17px;
}

.picture-cards {
  display: flex;
  padding5: 1rem;
}
.tpicture-content {
  padding: 0 1rem;
 
}

.picture-content{
    flex:1;   
    padding: 0 1rem;
    min-width:0;
}


.search, .google_search2 {
    background: #161e2d;
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}
.search input[type=text] {
    width: 65%;
    padding: 10px;
    border-radius: 8px;
    background: #0f172a;
    color: #fff;
    border: 1px solid var(--border-color);
}

/* --- 3. Sorting (dtype) & Tags --- */
.dtype {
    background: #161e2d !important;
    padding: 12px;
    text-align: center;
    margin: 10px;
    border-radius: 8px;
    display: block !important; /* display:none override */
    border: 1px solid var(--border-color);
}
.dtype span, .dtype a {
    background: #334155;
    color: #fff !important;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
    margin: 2px;
    display: inline-block;
}
.dtype a:hover { background: var(--primary); }

.btn { text-align: center; margin: 10px 0; }
.tagName {
    border: 1px solid var(--primary);
    color: var(--primary) !important;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
}

/* --- 4. Headings (H1-H6) --- */
h1, h2, h3, h4, h5, h6, .h2Title {
    background: var(--bg-card) !important;
    color: var(--accent) !important;
    padding: 12px 15px !important;
    font-size: 16px !important;
    border-left: 5px solid var(--primary);
    margin: 10px !important;
    border-radius: 4px;
}

/* --- 5. Song List (Image Left, Text Right) --- */
.fl, .catRow, .upd {
    background: var(--bg-card) !important;
    margin: 8px 10px !important;
    border-radius: 12px;
    border: 1px solid var(--border-color) !important;
    overflow: hidden;
}

.fl a > div, .catRow a > div {
    display: flex !important;
    align-items: center;
    padding: 10px;
}

.fl img {
    width: 100px !important;
    height: 100px !important;
    border-radius: 10px;
    border: 2px solid #475569;
    object-fit: cover;
    flex-shrink: 0;
}

.fl a > div > div:last-child {
    padding-left: 15px;
    text-align: left !important;
}

.fileName { color: #fff !important; font-weight: bold; font-size: 15px; }
.arn { color: #22c55e !important; } /* Green Singer Label */
.ar { color: #fff !important; }

/* --- 6. Song Details Table --- */
.table-bordered {
    width: 95% !important;
    margin: 15px auto;
    background: var(--bg-card);
    border-radius: 12px;
    border-collapse: separate;
    border: 1px solid var(--border-color) !important;
}
.table-bordered td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    color: #cbd5e1;
}
.table-bordered td:first-child {
    background: #161e2d;
    width: 35%;
    font-weight: bold;
    text-align: right;
    color: #94a3b8;
}

/* --- 7. Download Buttons --- */
.downLink a, .dwnLink1, .dwnLink5 {
    background: linear-gradient(to right, #f43f5e, #e11d48) !important;
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    margin: 10px 5px;
    box-shadow: 0 4px 10px rgba(244, 63, 94, 0.4);
}



/* --- 4. Navigation & Alphabetical (.az, .path, .btn) --- */
.az {
    background: #161e2d;
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}
.az a {
    background: #1e293b;
    border: 1px solid var(--border-color);
    color: #fff !important;
    padding: 5px 10px;
    margin: 2px;
    display: inline-block;
    border-radius: 4px;
}

.path, .srt {
    background: #161e2d;
    font-size: 12px;
    color: #94a3b8;
    border: 1px solid var(--border-color);
    padding: 10px;
    margin: 10px;
    border-radius: 6px;
    display: block;
}

.btn { text-align: center; margin: 10px 0; }
.tagName {
    border: 1px solid var(--primary);
    color: var(--primary) !important;
    padding: 6px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: bold;
    display: inline-block;
}

/* --- 8. Footer & Pagination --- */
.pgn { text-align: center; padding: 20px; }
.pgn a, .pgn span {
    background: var(--bg-card);
    padding: 8px 15px;
    border-radius: 6px;
    margin: 3px;
    color: #fff;
    border: 1px solid var(--border-color);
}


footer {
    background: #0f172a;
    padding: 30px;
    text-align: center;
    border-top: 2px solid var(--border-color);
}

/* --- Top 21 Downloads Container --- */
.ad1.tCenter {
    background: #161e2d !important; /* Dark background */
    border: 1px solid #334155 !important;
    padding: 15px 10px !important;
    margin: 10px !important;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Heading Text (Top 21 Downloads:) */
.ad1 b {
    color: #fbbf24 !important; /* Gold color */
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Unique Button3 Style --- */
.button3 {
    background: #1e293b !important; /* Dark card color */
    color: #f1f5f9 !important;
    border: 1px solid #f43f5e !important; /* Rose Red border */
    padding: 3px 7px !important;
    margin: 4px 2px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: bold !important;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: capitalize;
}

/* Hover Effect */
.button3:hover {
    background: #f43f5e !important; /* Rose Red on hover */
    color: #ffffff !important;
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.5);
    transform: translateY(-2px);
}

/* Button ke andar ka Text */
.button3 strong {
    font-weight: 700;
}


/* --- Modern Audio Player Style --- */
audio {
    width: 96% !important;
    height: 45px;
    margin: 15px auto !important;
    display: block;
    background: #1e293b; /* Match card background */
    border-radius: 30px;
    border: 2px solid var(--primary); /* Rose Red border */
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
    outline: none;
    /* Dark mode filter to match theme */
    filter: invert(100%) hue-rotate(180deg) brightness(1.2);
}


/* --- 5. Song List & CatRow (Flexbox Fix) --- */
.fl, .catRow, .upd, .catRowHome, .randomFile .fl {
    background: var(--bg-card) !important;
    margin: 2px 6px !important; border-radius: 12px;
    border: 1px solid var(--border-color) !important; overflow: hidden;
}

/* Structure for <a> tags with multiple nested divs */
.catRow a, .fl a, .catRowHome a, .flLink {
    display: flex !important; align-items: center !important; padding: 10px !important; width: 100%;
}

.catRow img, .fl img, .flThumb, .songinfopic, .fileThumb img {
    width: 110px !important; height: 110px !important;
    border-radius: 10px; border: 2px solid #475569; object-fit: cover; flex-shrink: 0;
}

/* Text alignment for right side */
.catRow a div:last-child, .fl a div:last-child, .flName, .cat-text {
    padding-left: 15px; text-align: left !important; flex-grow: 1; color: #fff;
}

/* --- New Update Row Container --- */
.upd.bold {
    background: #1e293b !important; /* Dark Premium Card */
    margin: 3px 4px !important;
    border-radius: 10px;
    border: 1px solid #334155 !important;
    padding: 2px !important;
    transition: 0.3s ease;
    overflow: hidden;
}

.upd:hover {
    background: #2d3748 !important;
    transform: translateX(5px);
    border-color: #f43f5e !important;
}

.upd a {
    display: block !important;
    padding: 12px 15px !important;
    line-height: 1.6;
    text-decoration: none;
}

/* --- Category & Index Styling --- */
.upd .x1 {
    color: #fbbf24 !important; /* Gold for [1] and Click Here */
    font-weight: 800;
}

.upd .x6 {
    color: #38bdf8 !important; /* Sky Blue for Category Name */
    font-size: 13px;
    text-transform: uppercase;
}

/* --- Song Name & Singer Styling --- */
.upd .black {
    color: #ffffff !important; /* White for Song Name */
    font-size: 15px;
}

.upd .green {
    color: #22c55e !important; /* Vibrant Green for Singer */
    font-style: italic;
}

.upd .pink {
    color: #f472b6 !important; /* Pink for brackets */
}

/* --- MP3 Badge Style --- */
.ftype {
    background: #f43f5e !important; /* Red Badge */
    color: #fff !important;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
    margin-left: 10px;
    vertical-align: middle;
}

/* --- Click Here Text Animation --- */
.upd font[color="red"] {
    color: #f43f5e !important;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

