/* =========================================
   📱 SOCIALS PAGE STYLING
========================================= */
.socials-main {
    padding-top: 140px;
    padding-bottom: 120px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-title-section {
    text-align: center;
    margin-bottom: 60px;
}

.live-badge {
    margin: 0 auto 20px;
    display: inline-flex;
    background: rgba(221, 42, 123, 0.1);
    border: 1px solid rgba(221, 42, 123, 0.3);
    color: #f8fafc;
}

.live-badge .pulse-dot {
    background-color: #dd2a7b;
    box-shadow: 0 0 8px #dd2a7b;
}

.page-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   🎬 REELS GRID SYSTEM
========================================= */
.reels-grid {
    display: grid;
    /* Grid perfectly sizes the cards for a clean feed */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    padding: 0 24px;
}

.reel-glass-card {
    background: rgba(9, 13, 22, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
}

.reel-glass-card:hover {
    transform: translateY(-8px);
    border-color: #00f2fe;
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.15);
}

/* Vertical 9:16 Container */
.reel-video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    /* PERFECT VERTICAL RATIO */
    background: #050505;
    overflow: hidden;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: transform 0.4s ease;
}

.reel-glass-card:hover .video-placeholder {
    transform: scale(1.05);
    /* Slight zoom on hover */
}

/* Play Button Overlay */
.play-btn {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.reel-glass-card:hover .play-btn {
    opacity: 1;
    transform: scale(1);
}

.reel-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
}

/* =========================================
   📝 REEL INFO & BUTTONS
========================================= */
.reel-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.reel-category {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.reel-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.4;
    flex-grow: 1;
}

.watch-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.watch-btn:hover {
    background: #00f2fe;
    color: #050505;
    border-color: #00f2fe;
}

/* =========================================
   📊 LIVE DASHBOARD & STATS
========================================= */
.live-dashboard {
    margin-bottom: 80px;
    padding: 0 24px;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(9, 13, 22, 0.4);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s;
}

.stat-card:hover {
    border-color: rgba(0, 242, 254, 0.3);
    transform: translateY(-5px);
    background: rgba(9, 13, 22, 0.8);
}

.stat-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.stat-card h3 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 8px;
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.stat-card p {
    color: #94a3b8;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Support & Connect Links */
.support-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.support-pill {
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

/* Instagram Pill */
.insta-pill {
    border: 1px solid #dd2a7b;
    /* Instagram ka brand color */
    color: #dd2a7b;
}

.insta-pill:hover {
    background: #dd2a7b;
    color: white;
}

.github-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.support-email {
    background: rgba(0, 242, 254, 0.05);
    border-color: rgba(0, 242, 254, 0.2);
    color: #00f2fe;
}

.support-email:hover {
    background: #00f2fe;
    color: #050505;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

/* Iframe ko container me perfectly fit karne ke liye */
.reel-iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    border-radius: 12px;
    /* Glass card ke corners jaisa gol karne ke liye */
}

/* Video container ko relative banana zaroori hai */
.reel-video-container {
    position: relative;
    width: 100%;
    height: 350px;
    /* Ya jo height tumne pehle set ki thi */
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    /* Loading ke time black background */
}

.reel-video-container {
    position: relative;
    width: 100%;
    height: 400px;
    /* Apne hisaab se height adjust kar lena */
    border-radius: 12px;
    overflow: hidden;
    /* Ye sabse zaroori hai, upar gaye hisse ko gayab kar dega */
    background: #090d16;
}

.reel-iframe {
    width: 100%;
    height: calc(100% + 55px);
    /* Iframe ko container se thoda bada kar diya */
    position: absolute;
    top: -55px;
    /* Iframe ko 55px upar khiska diya, jisse header chhup jayega */
    left: 0;
    border: none;
}

/* Telegram Pill */
.telegram-pill {
    border: 1px solid #3390ec;
    color: #3390ec;
}

.telegram-pill:hover {
    background: #3390ec;
    color: white;
}

/* YouTube Pill */
.youtube-pill {
    border: 1px solid #ff0000;
    color: #ff0000;
}

.youtube-pill:hover {
    background: #ff0000;
    color: white;
}

/* Common fix agar buttons chipak rahe hon */
.support-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

/* WhatsApp Pill */
.whatsapp-pill {
    border: 1px solid #25D366;
    /* Official WhatsApp Green */
    color: #25D366;
}

.whatsapp-pill:hover {
    background: #25D366;
    color: white;
}

.support-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    /* Pill shape */
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.support-pill:hover {
    transform: translateY(-2px);
}