/* main Overlay */
:root {
  --primary: #007aff;
  --success: #30d158;
  --text-primary: #1c1c1e;
  --text-muted: #8e8e93;
  --surface: #f2f2f7;
  --border: #c6c6c8;
  --danger: #ff3b30;
  --whatsapp: #25D366;
  --telegram: #0088cc;
  --facebook: #1877f2;
}
#gf-overlay{position:fixed;inset:0;display:none;justify-content:center;align-items:center;padding:24px;box-sizing:border-box;z-index:999999;background:rgba(0,0,0,.08);backdrop-filter:blur(28px) saturate(180%) brightness(1.05);-webkit-backdrop-filter:blur(28px) saturate(180%) brightness(1.05);opacity:0;animation:gfOverlay .35s cubic-bezier(.22,1,.36,1) forwards;overscroll-behavior:none;-webkit-tap-highlight-color:transparent}

@keyframes gfOverlay{from{opacity:0;backdrop-filter:blur(0) saturate(100%);-webkit-backdrop-filter:blur(0) saturate(100%);transform:translateZ(0)}to{opacity:1;backdrop-filter:blur(28px) saturate(180%) brightness(1.05);-webkit-backdrop-filter:blur(28px) saturate(180%) brightness(1.05);transform:translateZ(0)}}

.gf-container{width:100%;max-width:380px;position:relative;border-radius:34px;padding:28px 24px;text-align:center;background:rgba(255,255,255,.88);backdrop-filter:blur(30px) saturate(180%);-webkit-backdrop-filter:blur(30px) saturate(180%);border:1px solid rgba(255,255,255,.6);box-shadow:0 32px 64px rgba(0,0,0,.18),0 12px 24px rgba(0,0,0,.12),inset 0 1px 1px rgba(255,255,255,.95),inset 0 -1px 1px rgba(0,0,0,.04);max-height:95vh;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scroll-behavior:smooth;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:rgba(60,60,67,.28) transparent;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-font-smoothing:antialiased}
.gf-container::-webkit-scrollbar{width:3px}
.gf-container::-webkit-scrollbar-track{background:transparent}
.gf-container::-webkit-scrollbar-thumb{background:rgba(60,60,67,.25);border-radius:999px}
.gf-container::-webkit-scrollbar-thumb:hover{background:rgba(60,60,67,.4)}

.gf-title{font-size:26px;margin-bottom:6px;color:#1d1d1f}

.gf-pulse-text{font-size:14px;font-weight:600;color:#3a3a3c;margin-bottom:16px;animation:gf-pulse 1.5s ease-in-out infinite}

@keyframes gf-pulse{0%,100%{opacity:1}50%{opacity:.6}}

@keyframes gfPop{from{transform:scale(.92);opacity:0}to{transform:scale(1);opacity:1}}

/* Logo */
.gf-logo { width: 50px; height: auto; display: block; margin: 0 auto 8px; border-radius: 12px; 
          filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); object-fit: contain; }

/* Welcome Text */
.gf-welcome { font-family: -apple-system,BlinkMacSystemFont,'SF Pro Text','Helvetica Neue',Arial,sans-serif;
             font-size: 18px; font-weight: 400; line-height: 1.2; letter-spacing: -0.2px; 
             color: #1c1c1e; margin: 0; text-align: center; }
.gf-divider{width:100%;height:.5px;background:#000;margin:12px auto;opacity:.18}.gf-tagline{display:block;font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text','Helvetica Neue',Arial,sans-serif;font-size:13px;color:#8e8e93;font-weight:400;letter-spacing:.3px;line-height:1.45;text-align:center}
.gf-mini-divider { width: 30px; height: 0.8px; background-color: #d1d1d6; margin: 6px auto; }

.gf-input-group{margin-bottom:12px;text-align:left}

.gf-input-group input,.gf-select{width:100%;padding:14px 16px;border-radius:18px;font-size:15px;font-weight:500;color:#1d1d1f;background:rgba(255,255,255,.55);backdrop-filter:blur(18px) saturate(180%);-webkit-backdrop-filter:blur(18px) saturate(180%);border:1px solid rgba(255,255,255,.35);box-shadow:0 10px 30px rgba(0,0,0,.12),0 4px 12px rgba(0,0,0,.08),inset 0 1px 0 rgba(255,255,255,.6);box-sizing:border-box;transition:all .25s cubic-bezier(.4,0,.2,1)}

.gf-input-group input::placeholder{color:rgba(60,60,67,.55);font-weight:400}

.gf-input-group input:hover{transform:translateY(-2px);background:rgba(255,255,255,.65);box-shadow:0 16px 40px rgba(0,0,0,.16),0 6px 16px rgba(0,0,0,.10),inset 0 1px 0 rgba(255,255,255,.7)}

.gf-input-group input:focus{outline:none;border-color:rgba(0,122,255,.5);background:rgba(255,255,255,.75);transform:translateY(-2px);box-shadow:0 0 0 4px rgba(0,122,255,.18),0 20px 50px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.8)}

.gf-input-group input:active{transform:translateY(0);box-shadow:0 8px 20px rgba(0,0,0,.12),inset 0 1px 0 rgba(255,255,255,.6)}

.gf-input-group input:disabled{background:rgba(245,245,247,.7);color:#86868b;border-color:rgba(0,0,0,.08);box-shadow:none;cursor:not-allowed}

.gf-input-group input.error{border-color:rgba(255,59,48,.5);background:rgba(255,59,48,.08);box-shadow:0 0 0 4px rgba(255,59,48,.15),0 16px 35px rgba(255,59,48,.15),inset 0 1px 0 rgba(255,255,255,.7)}

.gf-error-message{color:#ff3b30;font-size:12px;margin-top:6px;display:none;font-weight:500}

.gf-label{font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text',Helvetica,Arial,sans-serif;font-weight:600;color:#1d1d1f}

.gf-hint{font-size:11px;color:rgba(60,60,67,.6);margin-top:4px;font-weight:400}

/* Buttons - UPDATED WITH SMALLER SIZES */
button, .gf-btn { 
    font-size: 16px; 
    font-weight: 600; 
    border-radius: 14px; 
    border: none; 
    padding: 12px 16px;
    cursor: pointer; 
    width: 100%; 
    font-family: -apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif;
    background: #f2f2f7; 
    color: #1c1c1e; 
    transition: transform 0.15s ease, opacity 0.15s ease; 
}
button:active, .gf-btn:active { transform: scale(0.96); opacity: 0.85; }

/* iOS-style 3D Login Button */
.gf-login-btn{padding:8px 14px;font-size:13px;font-weight:600;border:none;border-radius:14px;background:linear-gradient(135deg,#4db2ff 0%,#007aff 55%,#005ecb 100%);color:#fff;cursor:pointer;min-width:130px;display:inline-flex;align-items:center;justify-content:center;line-height:1.2;box-shadow:0 5px 0 #004fb3,0 10px 18px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.45),inset 0 -2px 3px rgba(0,0,0,.18);transition:transform .1s ease,box-shadow .1s ease,filter .15s ease;user-select:none;-webkit-tap-highlight-color:transparent}

.gf-login-btn:hover{filter:brightness(1.05)}

.gf-login-btn:active{transform:translateY(3px);box-shadow:0 2px 0 #004fb3,0 6px 12px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.35),inset 0 -1px 2px rgba(0,0,0,.15)}

.gf-subscribe-btn{padding:8px 14px;font-size:13px;font-weight:600;min-width:110px;display:inline-flex;align-items:center;justify-content:center;line-height:1.2;border-radius:14px;border:1px solid rgba(60,60,67,.18);background:linear-gradient(135deg,#fff 0%,#f5f5f7 45%,#dfe3ea 100%);color:#1c1c1e;cursor:pointer;position:relative;overflow:hidden;box-shadow:0 5px 0 #bfc3c9,0 10px 18px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.95),inset 0 -2px 3px rgba(0,0,0,.1);transition:transform .12s ease,box-shadow .12s ease,filter .2s ease;animation:gfPulse 2.5s ease-in-out infinite;user-select:none;-webkit-tap-highlight-color:transparent}

.gf-subscribe-btn:hover{filter:brightness(1.03)}

.gf-subscribe-btn:active{transform:translateY(3px);box-shadow:0 2px 0 #bfc3c9,0 6px 12px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.85),inset 0 -1px 2px rgba(0,0,0,.08)}

.gf-subscribe-btn:before{content:"";position:absolute;top:-60%;left:-70%;width:220%;height:220%;background:linear-gradient(120deg,rgba(255,255,255,0),rgba(255,255,255,.35),rgba(255,255,255,0));transform:rotate(25deg);animation:gfShine 4s infinite;pointer-events:none}

@keyframes gfShine{0%{transform:translateX(-100%) rotate(25deg)}100%{transform:translateX(100%) rotate(25deg)}}

@keyframes gfPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.02)}}

.gf-btn-primary, .gf-btn-secondary, .gf-inline-buttons button { 
    font-size: 13px; 
    font-weight: 600; 
    padding: 8px 12px;
    min-width: 120px; 
    border-radius: 12px; 
    cursor: pointer; 
    transition: all 0.15s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.85); 
}
.gf-btn-primary { 
    background: #007aff; 
    color: #fff; 
    border: none; 
}
.gf-btn-primary:hover { opacity: 0.92; }
.gf-btn-secondary { 
    background: linear-gradient(to bottom, #ffffff, #f2f2f7); 
    color: #1c1c1e;
    border: 1px solid rgba(60,60,67,0.18); 
}
.gf-btn-secondary:hover { background: #e5e5ea; }

.gf-inline-buttons { 
    display: flex; 
    justify-content: center; 
    gap: 8px; 
    margin-top: 8px; 
}
.gf-inline-buttons button { 
    width: auto; 
    background: linear-gradient(to bottom, #ffffff, #f2f2f7);
    border: 1px solid rgba(60, 60, 67, 0.18); 
    color: #1c1c1e; 
    padding: 7px 12px;
    font-size: 13px;
    min-width: 120px;
}

/* Form Elements */
.form-box { background: #f7f7f9; padding: 18px; border-radius: 18px;
           box-shadow: 0 6px 16px rgba(0,0,0,0.06), inset 0 1px 2px rgba(255,255,255,0.75);
           transition: box-shadow 0.25s ease; margin-bottom: 18px; }
.form-box:hover { box-shadow: 0 8px 22px rgba(0,0,0,0.12), inset 0 1px 2px rgba(255,255,255,0.85); }

.gf-terms { background: #F9F9FA; padding: 28px 32px; border-radius: 24px; border: 1px solid #E3E3E6;
           font-size: 15px; line-height: 1.75; max-width: 640px; margin: 30px auto; height: 300px;
           overflow-y: auto; scroll-behavior: smooth; color: #1C1C1E; box-shadow: 0 16px 40px rgba(0,0,0,0.06); }
.gf-terms-header { margin: 0 0 6px 0; font-weight: 600; font-size: 16px; color: #1C1C1E;
                  border-bottom: 1px solid #E5E5EA; padding-bottom: 6px; letter-spacing: -0.3px; }
.gf-terms-sub { margin: 0; font-weight: 400; font-size: 14px; color: #3C3C4399; line-height: 1.5; }
.gf-info-card { background: #fff; color: #1C1C1E; padding: 16px; border-radius: 18px; font-size: 14px;
               line-height: 1.6; border: 1px solid #CCC; box-shadow: 0 2px 6px rgba(0,0,0,0.1);
               max-width: 400px; margin-bottom: 16px; text-align: left; }

.gf-check { display: flex; align-items: center; gap: 8px; font-size: 13px; margin: 10px 0;
           box-shadow: inset 0 1px 2px rgba(255,255,255,0.85); }
.gf-check.error { color: #ff3b30; }
.gf-check.error input { border-color: #ff3b30; box-shadow: 0 2px 8px rgba(255,59,48,0.25),
                       inset 0 1px 2px rgba(255,255,255,0.9); }

.gf-form-actions { 
    display: flex; 
    gap: 8px; 
    justify-content: flex-end; 
    flex-wrap: wrap; 
    margin-top: 14px; 
}
.gf-form-actions button {
    padding: 8px 14px;
    font-size: 13px;
    min-width: 100px;
}

/* Success Messages */
.gf-success, .whatsapp-success { display: none; font-size: 16px; font-weight: 600; text-align: center;
                padding: 12px 16px; border-radius: 12px; margin-top: 12px; opacity: 0;
                transition: opacity 0.8s ease; z-index: 9999; }
.gf-success { color: #000; background: transparent; border: 1px solid rgba(0,0,0,0.35);
             box-shadow: 0 2px 6px rgba(0,0,0,0.08), inset 0 1px 2px rgba(255,255,255,0.7);
             text-shadow: 0 1px 1px rgba(0,0,0,0.05); }
.whatsapp-success { background: #25D366; color: #fff; box-shadow: 0 6px 14px rgba(37,211,102,0.3);
                   animation: pulse-green 2s infinite; }
@keyframes pulse-green { 0% { transform: scale(1); } 50% { transform: scale(1.03); } 100% { transform: scale(1); } }

/* Pricing */
.gf-pricing-packs { margin-bottom: 20px; max-height: 480px; overflow-y: auto; padding-right: 4px; }
.gf-pricing-packs::-webkit-scrollbar { width: 6px; }
.gf-pricing-packs::-webkit-scrollbar-track { background: transparent; }
.gf-pricing-packs::-webkit-scrollbar-thumb { background-color: rgba(0,0,0,0.2); border-radius: 3px; }
.gf-pricing-packs > div { background: #fff; border-radius: 20px; padding: 18px 20px; margin-bottom: 12px;
                         cursor: pointer; border: 1px solid #d2d2d7; transition: all 0.25s ease;
                         display: flex; align-items: center; box-shadow: 0 6px 14px rgba(0,0,0,0.06),
                         inset 0 1px 0 rgba(255,255,255,0.9); }
.gf-pricing-packs > div:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.12),
                               inset 0 1px 0 rgba(255,255,255,0.9); border-color: #0071e3; }
.gf-pricing-packs > div.popular { border: 2px solid #0071e3; box-shadow: 0 8px 20px rgba(0,0,0,0.1),
                                 inset 0 1px 0 rgba(255,255,255,0.9); }
.gf-pricing-packs input[type="radio"] { accent-color: #0071e3; width: 20px; height: 20px; margin-top: 4px; }
.gf-pricing-packs label { display: flex; gap: 14px; align-items: center; }

/* Plan Selector */
.gf-currency-label,.gf-plan-label{font-size:13px;font-weight:600;color:#1c1c1e;margin:0 0 8px -20px;letter-spacing:.25px;text-transform:uppercase;opacity:.85}.gf-plan-type{display:flex;gap:20px;flex-wrap:wrap;margin:0 0 22px -20px}.gf-plan-option { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px;
                 border: 2px solid #86868b; cursor: pointer; flex: 1; }
.gf-plan-option.selected { border-color: #0071e3; background-color: #f5f9ff; }
.gf-plan-option input { width: 18px; height: 18px; accent-color: #0071e3; }
.gf-plan-option span { font-size: 16px; font-weight: 600; }
.gf-plan-option.selected span { color: #0071e3; }

.gf-plan-select { -webkit-appearance: none; -moz-appearance: none; appearance: none; width: 100%;
                 padding: 14px 16px; font-size: 16px; font-weight: 500; border: 1px solid #d1d1d6;
                 border-radius: 12px; background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 16px center;
                 color: #1d1d1f; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,0.05), 0 8px 20px rgba(0,0,0,0.06);
                 transition: all 0.2s ease; }
.gf-plan-select:focus { border-color: #0071e3; box-shadow: 0 0 0 4px rgba(0,113,227,0.14), 0 8px 22px rgba(0,0,0,0.08); }

.gf-plan-display{background:#fff;border:1px solid #C7C7CC;border-radius:16px;padding:14px;margin-top:12px;box-shadow:0 10px 24px rgba(0,0,0,.12),0 3px 8px rgba(0,0,0,.06),inset 0 1px 0 rgba(255,255,255,.9);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased;}
.gf-plan-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;}
.gf-plan-country{font-size:12px;color:#86868B;margin-bottom:2px;}
.gf-plan-name{font-size:15px;font-weight:700;color:#1D1D1F;margin-bottom:2px;letter-spacing:-.2px;}
.gf-plan-badge{font-size:11px;color:#34C759;font-weight:600;margin-top:3px;}
.gf-plan-price{text-align:right;}
.gf-plan-price-value,.gf-plan-price-final{font-size:12px;font-weight:600;color:#1D1D1F;letter-spacing:-.4px;}
.gf-plan-price-month{font-size:11px;color:#86868B;margin-top:2px;}
.gf-plan-price-discount{display:flex;align-items:baseline;gap:5px;}
.gf-plan-price-original{text-decoration:line-through;color:#8E8E93;font-size:14px;}

.gf-discount-display{background:rgba(52,199,89,.1);border:1px solid rgba(52,199,89,.3);border-radius:12px;padding:12px;margin-top:12px;display:none;box-shadow:0 6px 14px rgba(0,0,0,.08)}
.gf-discount-badge{width:24px;height:24px;background:#34c759;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;box-shadow:0 3px 6px rgba(52,199,89,.35)}
.gf-discount-text{font-size:14px;font-weight:600;color:#2d9c4a}
.gf-discount-sub{font-size:13px;color:#2d9c4a;opacity:.9}

/* Payment Methods */
.gf-payment-methods { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.gf-payment-option { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px;
                    border: 1px solid #e5e5ea; cursor: pointer; margin-bottom: 8px; min-width: 120px; }
.gf-payment-option.selected { background-color: #f2f2f7; border-color: #007aff; }
.gf-payment-option span { font-weight: 600; font-size: 14px; }
.gf-payment-paypal span { color: #0070ba; }
.gf-payment-bank span { color: #0066b3; }
.gf-payment-paytm span { color: #20336b; }

/* Share Popup */
.gf-share-btn { padding: 8px 15px; font-size: 10px; border: none; border-radius: 999px; background: #f5f5f7;
               cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.12); animation: pulse 2s infinite;
               max-width: 95%; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0,0,0,0.15); }
                   70% { box-shadow: 0 0 0 7px rgba(0,0,0,0); } 100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); } }

.gf-share-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.40); z-index: 9999; }
.gf-share-popup { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); background: #fff;
                 padding: 18px 16px; border-radius: 22px; width: min(320px, 92%); text-align: center;
                 box-shadow: 0 14px 35px rgba(0,0,0,0.25); }
.gf-share-title { font-size: 14px; color: #1d1d1f; line-height: 1.4; }
.gf-code-box { margin-top: 16px; background: #f5f5f7; padding: 10px 12px; border-radius: 16px;
              display: flex; align-items: center; justify-content: space-between; gap: 8px; overflow: hidden; }
.gf-code-text { flex: 1; text-align: left; color: #111; font-size: 14px; font-weight: 700; letter-spacing: 1px;
               white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-code-copy { border: none; background: #007aff; color: #fff; padding: 6px 10px; border-radius: 12px;
               font-size: 12px; font-weight: 600; cursor: pointer; width: 62px; flex-shrink: 0; }
.gf-copy-msg { margin-top: 8px; font-size: 12px; color: #34c759; font-weight: 600; display: none; }
.gf-share-options { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.gf-share-wa { padding: 10px; border-radius: 14px; background: #25D366; color: #fff; cursor: pointer; }
.gf-share-tg { padding: 10px; border-radius: 14px; background: #0088cc; color: #fff; cursor: pointer; }
.gf-share-fb { padding: 10px; border-radius: 14px; background: #1877f2; color: #fff; cursor: pointer; }
.gf-share-cancel { background: none; border: none; font-size: 13px; color: #007aff; cursor: pointer;
                  margin-top: 6px; font-weight: 600; }

/* Reset Modal */
.gf-reset-modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center;
                 background: rgba(0,0,0,0.45); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
                 z-index: 999999; }
.gf-reset-box { width: 340px; background: #fff; border-radius: 22px; padding: 24px 22px; text-align: center;
               box-shadow: 0 12px 45px rgba(0,0,0,0.25); animation: gfPop 0.25s ease; }
.gf-reset-info { background: #f2f2f7; border-radius: 12px; padding: 12px 16px; display: inline-block;
                max-width: 100%; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.gf-reset-info p { margin: 0; font-size: 14px; font-weight: 600; color: #1c1c1e; line-height: 1.4; }
.gf-reset-prompt { margin-top: 10px; font-size: 16px; font-weight: 600; color: #1c1c1e; line-height: 1.4; }
.gf-reset-input { width: 100%; margin-top: 14px; padding: 12px; font-size: 16px; border-radius: 14px;
                 border: 1px solid #d1d1d6; outline: none; text-align: center; background: #f9f9fb;
                 box-sizing: border-box; }
.gf-reset-actions { display: flex; gap: 10px; margin-top: 18px; }
.gf-reset-cancel { flex: 1; padding: 12px; border-radius: 16px; font-size: 15px; font-weight: 600;
                  cursor: pointer; background: #f2f2f7; border: 1px solid #d1d1d6; color: #1c1c1e; }
.gf-reset-confirm { flex: 1; padding: 12px; border-radius: 16px; font-size: 15px; font-weight: 700;
                   cursor: pointer; background: #ff3b30; border: none; color: #fff; }
.gf-reset-status { margin-top: 16px; font-size: 14px; font-weight: 600; color: #555; display: none; }

/* Utilities */
.gf-hidden { display: none !important; }
.gf-text-center { text-align: center; }
.gf-mb-2 { margin-bottom: 8px; }
.gf-mb-3 { margin-bottom: 12px; }
.gf-mt-3 { margin-top: 12px; }
.gf-d-flex { 
    display: flex; 
    align-items: center; 
    gap: 8px;
    justify-content: center;
}

/* Responsive */
@media (max-width: 420px) { .gf-container { max-width: 95%; padding: 20px; } }
@media (max-height: 600px) { #gf-overlay { align-items: flex-start; padding-top: 30px; overflow-y: auto;
                              scrollbar-width: thin; } }
                              
/* IOS Body CSS */
*{margin:0;padding:0;box-sizing:border-box}
body,html{height:100%;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;background:#ECECEC;color:#1D1D1F;overflow:hidden;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.container{position:fixed;top:0;left:0;width:100vw;height:100vh;padding:32px;box-sizing:border-box;overflow-y:auto;z-index:1;background:rgba(255,255,255,.88);backdrop-filter:saturate(220%) blur(28px);-webkit-backdrop-filter:saturate(220%) blur(28px);box-shadow:0 20px 60px rgba(0,0,0,.12),inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 0 rgba(255,255,255,.65)}
.card{background:linear-gradient(180deg,rgba(255,255,255,.99),rgba(250,250,252,.97));backdrop-filter:saturate(220%) blur(28px);-webkit-backdrop-filter:saturate(220%) blur(28px);border-radius:80px;padding:26px;margin:20px 0 28px;border:1px solid rgba(255,255,255,.98);box-shadow:inset 0 3px 0 rgba(255,255,255,.98),inset 0 1px 20px rgba(255,255,255,.85),0 -4px 12px rgba(255,255,255,.75),0 25px 50px rgba(0,0,0,.12),0 45px 90px rgba(0,0,0,.1),-12px 12px 24px rgba(0,0,0,.06),12px 12px 24px rgba(0,0,0,.06),0 80px 120px rgba(0,0,0,.08);position:relative;overflow:hidden}nav{width:100%;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0;padding:0}
.section-title{width:fit-content;margin:14px auto 20px;font:700 1.75rem/1 -apple-system,BlinkMacSystemFont,'SF Pro Display','SF Pro Text',sans-serif;color:#1c1c1e;letter-spacing:-.03em;text-align:center;-webkit-font-smoothing:antialiased;position:relative}.section-title:after{content:"";position:absolute;left:50%;bottom:-8px;width:32px;height:2px;border-radius:99px;background:#1c1c1e;transform:translateX(-50%);animation:iosline 2.5s ease-in-out infinite}@keyframes iosline{0%,100%{width:24px;opacity:.45}50%{width:55px;opacity:1}}nav a{display:inline-block;padding:6px 14px;border-radius:10px;font-size:.75rem;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text','Helvetica Neue',sans-serif;text-decoration:none;color:#000;background:linear-gradient(180deg,#f2f2f2 0,#dcdcdc 100%);border:1px solid rgba(0,0,0,.12);box-shadow:0 4px 8px rgba(0,0,0,.25),0 2px 4px rgba(0,0,0,.15),inset 0 1px 0 rgba(255,255,255,.85);transition:all .12s ease;position:relative}
nav a:hover{background:rgba(255,255,255,.75);box-shadow:0 8px 24px rgba(0,0,0,.12),inset 0 1px 1px rgba(255,255,255,.9);transform:translateY(-1px)}
nav a:active,nav a.active{background:rgba(0,0,0,.08);box-shadow:inset 0 2px 8px rgba(0,0,0,.16);transform:scale(.98)}
nav a.active::after{content:'';position:absolute;inset:0;border-radius:inherit;background:linear-gradient(120deg,rgba(255,255,255,.35),transparent,rgba(255,255,255,.15));pointer-events:none}
main{width:100%;padding:32px 24px;min-height:400px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;color:#1c1c1e;background:0 0;user-select:text;box-sizing:border-box}
section{display:none}
section.active-player{display:block}
body{background:#f5f5f7}

/* Search */
/* Search */
#search-container{position:relative;width:70%;max-width:300px;margin:0 auto 20px;border-radius:18px}
#search-container::before{content:"";position:absolute;bottom:-26px;left:8%;width:84%;height:42px;background:radial-gradient(ellipse at center,rgba(20,20,22,.95) 0%,rgba(40,40,44,.82) 40%,rgba(70,70,74,.45) 70%,transparent 100%);filter:blur(20px);border-radius:50%;z-index:-2}
#search-container::after{content:"";position:absolute;inset:-8px;border-radius:24px;background:radial-gradient(circle at 50% -20%,rgba(255,255,255,1) 0%,rgba(255,255,255,.9) 20%,rgba(255,255,255,.45) 45%,rgba(255,255,255,.15) 65%,transparent 80%);filter:blur(14px);z-index:-1;pointer-events:none}
#search-bar{display:block;width:100%;padding:13px 18px;box-sizing:border-box;border-radius:18px;font-size:15px;font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text','SF Pro Display',sans-serif;color:#1c1c1e;background:linear-gradient(180deg,#fff 0%,#fafafa 45%,#f1f1f3 100%);border:1px solid rgba(255,255,255,.95);box-shadow:0 2px 0 rgba(255,255,255,.98) inset,0 -1px 0 rgba(0,0,0,.05) inset,0 10px 0 rgba(60,60,65,.16),0 22px 45px rgba(35,35,38,.38),0 40px 80px rgba(35,35,38,.28),0 0 20px rgba(255,255,255,.45);transition:all .25s ease;outline:none}
#search-bar::placeholder{color:#8e8e93}
#search-bar:hover{transform:translateY(-2px);box-shadow:0 1px 0 #fff inset,0 8px 0 rgba(0,0,0,.1),0 20px 40px rgba(0,0,0,.25)}
#search-bar:focus{transform:translateY(-4px) scale(1.01);border-color:#007aff;box-shadow:0 1px 0 #fff inset,0 10px 0 rgba(0,0,0,.12),0 28px 60px rgba(0,0,0,.28),0 8px 20px rgba(0,122,255,.18)}
#suggestions{position:absolute;top:100%;left:0;right:0;width:100%;margin-top:10px;background:#fff;border:1px solid #e5e5ea;border-radius:14px;max-height:260px;overflow-y:auto;z-index:1000;box-sizing:border-box;box-shadow:0 30px 60px rgba(0,0,0,.2),0 10px 25px rgba(0,0,0,.1)}
.search-suggestion{display:flex;align-items:center;padding:10px 12px;cursor:pointer;border-bottom:1px solid #f2f2f7;transition:.15s ease}
.search-suggestion:hover,.search-suggestion.selected{background:#f5f5f7;transform:translateX(2px)}
.suggestion-icon{font-size:16px;margin-right:10px;opacity:.85}
.suggestion-title{font-size:14px;color:#1c1c1e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.suggestion-meta{font-size:12px;color:#8e8e93;margin-top:2px;display:flex;gap:6px}
.suggestion-category{font-size:10px;padding:2px 6px;border-radius:6px;background:#f2f2f7;color:#6e6e73}
.suggestion-category.live-tv{background:#eaf2ff;color:#007aff}
.suggestion-category.movies{background:#f3f0ff;color:#5856d6}
.suggestion-category.sports{background:#eafaf0;color:#34c759}
.suggestion-category.webseries{background:#fff3e6;color:#ff9500}
.category-header{padding:8px 16px;font-size:13px;font-weight:600;color:#8e8e93;background:#f8f8f8;border-bottom:1px solid #e5e5ea;text-transform:uppercase;letter-spacing:.5px}
.category-header:first-child{border-radius:10px 10px 0 0}
.no-results{padding:24px;text-align:center;color:#8e8e93;font-size:15px}
.no-results-icon{font-size:32px;margin-bottom:8px;opacity:.5}
.loading-indicator{padding:16px;text-align:center;color:#8e8e93;font-size:14px}
.spinner{display:inline-block;width:12px;height:12px;border:2px solid #f3f3f3;border-top-color:#07f;border-radius:50%;animation:spin 1s linear infinite;margin-right:8px}
@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}

select{display:block;width:80%;max-width:400px;margin:0 auto;padding:14px 50px 14px 20px;font-size:1rem;font-weight:500;color:#1c1c1e;font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text',sans-serif;background:linear-gradient(180deg,#fdfdfd,#ececec);border:1px solid rgba(0,0,0,.15);border-radius:14px;box-sizing:border-box;appearance:none;cursor:pointer;box-shadow:0 4px 10px rgba(0,0,0,.15),inset 0 1px 0 rgba(255,255,255,.9);background-image:url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:12px 7px;transition:all .22s ease}
select:hover{background:linear-gradient(180deg,#fff,#f0f0f0);box-shadow:0 5px 12px rgba(0,0,0,.18),inset 0 1px 0 #fff;border-color:rgba(0,0,0,.2);transform:translateY(-1px)}
select:focus{outline:none;border-color:#07f;background:linear-gradient(180deg,#fff,#f5f5f5);box-shadow:0 5px 14px rgba(0,122,255,.25),inset 0 1px 0 #fff;transform:translateY(-1px)}

#live-tv-player,#webseries-player,#mainPlayer,#movie-player,#sportsPlayer{width:100%;max-width:960px;height:500px;display:block;margin:24px auto;border-radius:24px;overflow:hidden;position:relative;cursor:pointer;background:linear-gradient(180deg,#1b1b1d 0%,#0f0f10 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,0.12),inset 0 -8px 18px rgba(0,0,0,0.45),0 10px 20px rgba(0,0,0,0.25),0 30px 60px rgba(0,0,0,0.30),0 80px 140px rgba(0,0,0,0.25);transition:none;transform:none;will-change:auto}/* Responsive */
@media (max-width:768px){.container{padding:24px 20px}#live-tv-player,#webseries-player,#mainPlayer,#movie-player{height:400px;border-radius:16px}select,#search-bar{width:90%}}
@media (max-width:428px){.container{padding:20px 16px}.card{border-radius:40px;padding:20px}#live-tv-player,#webseries-player,#mainPlayer,#movie-player{height:280px;border-radius:12px}nav{flex-direction:column;gap:12px}nav a{width:100%;text-align:center}select,#search-bar{width:95%;font-size:1.05rem}}
@media (max-width:420px){nav{display:flex!important;flex-direction:row!important;align-items:center!important;padding:2px 4px!important;gap:3px!important;flex-wrap:nowrap!important;overflow-x:auto!important;background:#fff!important;border-bottom:1px solid #ccc!important;height:auto!important;min-height:unset!important}nav a{all:unset!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:2px 6px!important;font-size:11px!important;font-weight:500!important;border-radius:6px!important;background:#f1f1f1!important;color:#111!important;cursor:pointer!important;flex:0 0 auto!important}nav a.active{background:#07f!important;color:#fff!important}nav::-webkit-scrollbar{display:none!important}}
@media (max-width:360px){nav{gap:6px;margin:6px 0}nav a{padding:5px 10px;font-size:.68rem;border-radius:8px;box-shadow:0 1.5px 4px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.85)}}
