/* ═══════════════════════════════════════════════════════════════
   RENK PALETİ
   ═══════════════════════════════════════════════════════════════ */
   :root {
    --petrol-950: #0d2929;
    --petrol-900: #1a4a4a;
    --petrol-700: #2d6b6b;
    --petrol-600: #3a8080;
    --petrol-200: #a0c0c0;
    
    --bej-100: #fdf5e6;
    --bej-300: #e8ddd0;
    
    --gold-300: #e8cc82;
    --gold-400: #d9be6e;
    --gold-500: #c9a84c;
    
    --white: #ffffff;
    --black: #000000;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,.16);
    
    --ease-out: cubic-bezier(.34,1.56,.64,1);
    --ease-smooth: cubic-bezier(.4,0,.2,1);
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    background: var(--bej-100);
    color: var(--petrol-900);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
  }
  
  /* ═══════════════════════════════════════════════════════════════
     AUTH MODAL
     ═══════════════════════════════════════════════════════════════ */
  .auth-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13,41,41,.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
  }
  
  .auth-modal-overlay.hidden {
    display: none;
  }
  
  .auth-modal-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 420px;
    width: 100%;
    padding: 32px;
    position: relative;
  }
  
  .auth-modal-header {
    text-align: center;
    margin-bottom: 24px;
  }
  
  .auth-modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 500;
    color: var(--petrol-900);
    margin-bottom: 8px;
  }
  
  .auth-modal-subtitle {
    font-size: 14px;
    color: var(--petrol-600);
    opacity: .8;
  }
  
  .auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--bej-300);
  }
  
  .auth-tab {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    color: var(--petrol-600);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all .2s;
  }
  
  .auth-tab:hover {
    color: var(--petrol-900);
  }
  
  .auth-tab.active {
    color: var(--petrol-900);
    border-bottom-color: var(--gold-500);
  }
  
  .auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .auth-form.hidden {
    display: none;
  }
  
  .auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .auth-form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--petrol-700);
  }
  
  .auth-form-group input {
    padding: 12px 16px;
    border: 1.5px solid var(--bej-300);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-family: inherit;
    background: var(--white);
    color: var(--petrol-900);
    transition: border-color .2s;
  }
  
  .auth-form-group input:focus {
    outline: none;
    border-color: var(--gold-500);
  }
  
  .auth-submit-btn {
    padding: 14px 24px;
    background: var(--petrol-900);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s, transform .1s;
    margin-top: 8px;
  }
  
  .auth-submit-btn:hover {
    background: var(--petrol-700);
    transform: translateY(-1px);
  }
  
  .auth-submit-btn:active {
    transform: translateY(0);
  }
  
  .auth-status {
    font-size: 13px;
    padding: 10px;
    border-radius: var(--radius-sm);
    text-align: center;
    min-height: 20px;
  }
  
  .auth-status.error {
    background: #fee;
    color: #c33;
  }
  
  .auth-status.success {
    background: #efe;
    color: #3c3;
  }
  
  /* ═══════════════════════════════════════════════════════════════
     HEADER
     ═══════════════════════════════════════════════════════════════ */
  .site-header {
    position: relative;
    background: linear-gradient(135deg, var(--petrol-950) 0%, var(--petrol-900) 100%);
    padding: 0;                /* ← DÜZELTME: padding header-inner'a taşındı */
    overflow: hidden;
    z-index: 20;
  }
  
  .header-bg-lines {
    position: absolute;
    inset: 0;
    opacity: .08;
  }
  
  .header-bg-lines span {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--white);
  }
  
  .header-bg-lines span:nth-child(1) { top: 25%; transform: rotate(-4deg); }
  .header-bg-lines span:nth-child(2) { top: 52%; transform: rotate(-4deg); opacity: .6; }
  .header-bg-lines span:nth-child(3) { top: 75%; transform: rotate(-4deg); opacity: .4; }
  .header-bg-lines span:nth-child(4) { top: 90%; transform: rotate(-4deg); opacity: .2; }
  
  .header-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 52px 40px 44px;   /* ← DÜZELTME: üst padding buraya taşındı */
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: end;
    position: relative;
    z-index: 1;
  }
  
  .header-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    letter-spacing: .45em;
    text-transform: uppercase;
    color: var(--gold-300);
    opacity: .7;
    margin-bottom: 16px;
    font-weight: 400;
  }
  
  .eyebrow-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold-400);
    display: inline-block;
    opacity: .6;
  }
  
  .site-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
    font-size: clamp(36px, 6vw, 62px);
    line-height: 1.0;
    color: var(--bej-100);
    letter-spacing: -.025em;
  }
  
  .site-title em {
    font-style: italic;
    color: var(--gold-300);
    display: block;
  }
  
  .site-subtitle {
    margin-top: 14px;
    font-size: 14px;
    font-weight: 300;
    color: var(--petrol-200);
    opacity: .7;
    letter-spacing: .04em;
  }
  
  .hero-hadith {
    max-width: 280px;
    border-left: 2px solid var(--gold-500);
    padding-left: 20px;
  }
  
  .hero-hadith p {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 15px;
    font-weight: 300;
    color: var(--bej-300);
    line-height: 1.65;
  }
  
  .hero-hadith cite {
    display: block;
    margin-top: 10px;
    font-size: 11px;
    font-style: normal;
    letter-spacing: .08em;
    color: var(--gold-400);
    opacity: .8;
    font-family: 'DM Sans', sans-serif;
  }
  
  /* ── STAT BAR ── */
  .stat-bar {
    background: rgba(0,0,0,.25);
    border-top: 1px solid rgba(255,255,255,.06);
    backdrop-filter: blur(8px);
    width: 100%;
  }
  
  .stat-bar-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
  }
  
  .stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .stat-icon {
    font-size: 24px;
    opacity: .9;
  }
  
  .stat-body {
    display: flex;
    flex-direction: column;
  }
  
  .stat-num {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
  }
  
  .stat-label {
    font-size: 11px;
    color: var(--bej-300);
    opacity: .8;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  
  .stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,.15);
  }
  
  /* ═══════════════════════════════════════════════════════════════
     MAIN GRID
     ═══════════════════════════════════════════════════════════════ */
  .site-main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 56px 40px 72px;
    position: relative;
    z-index: 20;
  }
  
  .main-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
  }
  
  .col-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 10px;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--petrol-600);
    margin-bottom: 24px;
    font-weight: 400;
  }
  
  .eyebrow-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--bej-300), transparent);
  }
  
  /* ═══════════════════════════════════════════════════════════════
     CAMERA
     ═══════════════════════════════════════════════════════════════ */
  .camera-frame {
    position: relative;
    background: var(--petrol-950);
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.04);
  }
  
  #videoEl {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
    opacity: 0;
    transition: opacity .5s var(--ease-smooth);
  }
  
  #videoEl.active {
    opacity: 1;
  }
  
  #canvasEl {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
  }
  
  .camera-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--petrol-950), var(--petrol-800));
  }
  
  .placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--petrol-200);
    opacity: .5;
  }
  
  .placeholder-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    animation: pulseRing 3s ease-in-out infinite;
  }
  
  @keyframes pulseRing {
    0%, 100% { opacity: .5; transform: scale(1); }
    50% { opacity: .8; transform: scale(1.06); }
  }
  
  .placeholder-inner p {
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-family: 'DM Sans', sans-serif;
  }
  
  .corner-guide {
    position: absolute;
    width: 28px;
    height: 28px;
    border-color: rgba(245,239,230,.35);
    border-style: solid;
    pointer-events: none;
    z-index: 5;
    transition: border-color .3s;
  }
  
  .camera-frame:hover .corner-guide {
    border-color: rgba(201,168,76,.5);
  }
  
  .corner-guide.tl { top: 14px; left: 14px; border-width: 2px 0 0 2px; border-radius: 5px 0 0 0; }
  .corner-guide.tr { top: 14px; right: 14px; border-width: 2px 2px 0 0; border-radius: 0 5px 0 0; }
  .corner-guide.bl { bottom: 14px; left: 14px; border-width: 0 0 2px 2px; border-radius: 0 0 0 5px; }
  .corner-guide.br { bottom: 14px; right: 14px; border-width: 0 2px 2px 0; border-radius: 0 0 5px 0; }
  
  .live-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(26,74,74,.75);
    color: var(--bej-100);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .12em;
    padding: 4px 10px 4px 8px;
    border-radius: 20px;
    display: none;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.1);
    z-index: 10;
  }
  
  .live-badge.show {
    display: flex;
  }
  
  .live-dot {
    width: 6px;
    height: 6px;
    background: #4cca6c;
    border-radius: 50%;
    animation: blink 1.4s ease-in-out infinite;
  }
  
  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: .3; }
  }
  
  .countdown-overlay {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(13,41,41,.6);
    backdrop-filter: blur(3px);
    z-index: 20;
  }
  
  .countdown-overlay.active {
    display: flex;
  }
  
  .countdown-ring {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 2px solid rgba(201,168,76,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(201,168,76,.15), inset 0 0 30px rgba(201,168,76,.05);
    animation: cdRing 1s var(--ease-out);
  }
  
  @keyframes cdRing {
    from { transform: scale(1.3); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }
  
  .countdown-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 80px;
    font-weight: 300;
    color: var(--bej-100);
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0,0,0,.4);
    animation: cdNum 1s var(--ease-out);
  }
  
  @keyframes cdNum {
    from { transform: scale(1.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }
  
  .flash-overlay {
    position: absolute;
    inset: 0;
    background: white;
    opacity: 0;
    pointer-events: none;
    z-index: 30;
    transition: opacity .06s;
  }
  
  .flash-overlay.active {
    opacity: 1;
  }
  
  .camera-controls {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
  }
  
  .btn {
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
  }
  
  .btn-primary {
    background: var(--petrol-900);
    color: var(--white);
  }
  
  .btn-primary:hover {
    background: var(--petrol-700);
    transform: translateY(-1px);
  }
  
  .btn-wide {
    width: 100%;
    justify-content: center;
  }
  
  .btn-ghost {
    background: transparent;
    color: var(--petrol-700);
    border: 1px solid var(--bej-300);
  }
  
  .btn-ghost:hover {
    background: var(--bej-100);
  }
  
  .btn-danger {
    background: #dc3545;
    color: var(--white);
  }
  
  .btn-danger:hover {
    background: #c82333;
  }
  
  .btn-sm {
    padding: 8px 14px;
    font-size: 12px;
  }
  
  .btn:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none !important;
  }
  
  .photo-preview {
    margin-top: 24px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
  }
  
  .preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--petrol-900);
  }
  
  .preview-label {
    font-size: 10px;
    letter-spacing: .2em;
    color: var(--gold-300);
    opacity: .8;
    font-weight: 500;
  }
  
  .preview-img-wrap {
    position: relative;
    background: var(--petrol-950);
  }
  
  .preview-img-wrap img {
    width: 100%;
    display: block;
  }
  
  .status-msg {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
  }
  
  .status-msg.error {
    background: #fee;
    color: #c33;
  }
  
  .status-msg.success {
    background: #efe;
    color: #3c3;
  }
  
  .hidden {
    display: none !important;
  }
  
  /* ═══════════════════════════════════════════════════════════════
     PANEL CARDS
     ═══════════════════════════════════════════════════════════════ */
  .panel-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
  }
  
  .card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
  }
  
  .card-icon-wrap {
    font-size: 20px;
  }
  
  .card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--petrol-900);
    flex: 1;
  }
  
  .consent-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
    cursor: pointer;
  }
  
  .checkbox-wrap {
    position: relative;
    flex-shrink: 0;
  }
  
  .consent-check {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .checkbox-custom {
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--bej-300);
    border-radius: 4px;
    background: var(--white);
    transition: all .2s;
  }
  
  .consent-check:checked + .checkbox-custom {
    background: var(--petrol-900);
    border-color: var(--petrol-900);
    color: var(--white);
  }
  
  .checkbox-empty {
    border: none;
    background: transparent;
  }
  
  .consent-text {
    flex: 1;
    font-size: 13px;
    line-height: 1.5;
    color: var(--petrol-700);
  }
  
  .consent-link {
    color: var(--petrol-900);
    text-decoration: underline;
    font-weight: 500;
  }
  
  .consent-link:hover {
    color: var(--petrol-700);
  }
  
  .btn-upload {
    width: 100%;
    padding: 16px 24px;
    background: var(--petrol-900);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all .2s;
  }
  
  .btn-upload:hover:not(:disabled) {
    background: var(--petrol-700);
    transform: translateY(-1px);
  }
  
  .btn-upload:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
  }
  
  .progress-track {
    margin-top: 12px;
    height: 6px;
    background: var(--bej-300);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
  }
  
  .progress-fill {
    height: 100%;
    background: var(--gold-500);
    border-radius: 3px;
    transition: width .3s;
    width: 0%;
  }
  
  .progress-pct {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    font-weight: 600;
    color: var(--petrol-900);
  }
  
  .upload-note {
    margin-top: 12px;
    font-size: 12px;
    color: var(--petrol-600);
    text-align: center;
    opacity: .7;
  }
  
  /* ── PAYLAŞIM KARTI ── */
  .share-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-style: italic;
    margin-bottom: 8px;
  }
  
  .share-sub {
    font-size: 13px;
    margin-bottom: 16px;
  }
  
  /* Paylaşım kartı arka planı petrol yeşili */
  #shareCard {
    background: var(--petrol-900);
    border: none;
    box-shadow: var(--shadow-md);
  }
  
  #shareCard .share-quote {
    color: var(--bej-100);
  }
  
  #shareCard .share-sub {
    color: var(--petrol-200);
    opacity: .8;
  }
  
  #shareCard .btn-share {
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius-md);
    font-size: 14px;
    cursor: pointer;
    color: var(--bej-100);
    font-family: inherit;
    transition: all .2s;
  }
  
  #shareCard .btn-share:hover {
    background: rgba(255,255,255,.18);
    border-color: var(--gold-500);
  }
  
  /* ═══════════════════════════════════════════════════════════════
     SUCCESS MODAL
     ═══════════════════════════════════════════════════════════════ */
  .modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(13,41,41,.75);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 20px;
  }
  
  .modal-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-lg);
  }
  
  .modal-icon-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
  }
  
  .modal-icon {
    font-size: 64px;
    line-height: 1;
  }
  
  .modal-icon-ring {
    position: absolute;
    inset: -10px;
    border: 2px solid var(--gold-500);
    border-radius: 50%;
    opacity: .3;
    animation: pulseRing 2s ease-in-out infinite;
  }
  
  .modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 500;
    color: var(--petrol-900);
    margin-bottom: 12px;
  }
  
  .modal-body {
    font-size: 14px;
    color: var(--petrol-600);
    margin-bottom: 24px;
    line-height: 1.6;
  }
  
  .modal-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bej-100);
    border-radius: var(--radius-md);
  }
  
  .modal-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .modal-stat-num {
    font-size: 24px;
    font-weight: 600;
    color: var(--petrol-900);
  }
  
  .modal-stat-label {
    font-size: 11px;
    color: var(--petrol-600);
    text-transform: uppercase;
    letter-spacing: .1em;
  }
  
  .modal-stat-div {
    width: 1px;
    height: 30px;
    background: var(--bej-300);
  }
  
  /* ═══════════════════════════════════════════════════════════════
     FOOTER
     ═══════════════════════════════════════════════════════════════ */
  .site-footer {
    background: var(--petrol-950);
    color: var(--bej-300);
    padding: 40px 20px;
    margin-top: 80px;
    position: relative;
    z-index: 20;
  }
  
  .footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
  }
  
  .footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
  }
  
  .footer-ornament {
    color: var(--gold-400);
    font-size: 14px;
  }
  
  .footer-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--bej-100);
  }
  
  .footer-hadith {
    font-size: 14px;
    font-style: italic;
    color: var(--bej-300);
    opacity: .8;
    margin-bottom: 12px;
    line-height: 1.6;
  }
  
  .footer-copy {
    font-size: 12px;
    color: var(--petrol-200);
    opacity: .6;
  }
  
  /* ═══════════════════════════════════════════════════════════════
     RESPONSIVE
     ═══════════════════════════════════════════════════════════════ */
  @media (max-width: 780px) {
    .site-main {
      padding: 36px 20px 56px;
    }
  
    .main-grid {
      grid-template-columns: 1fr;
      gap: 32px;
    }
  
    .header-inner {
      grid-template-columns: 1fr;
      padding: 36px 20px 28px;
      gap: 20px;
    }
  
    .header-right {
      display: block;
    }
  
    .hero-hadith {
      max-width: 100%;
      border-left: none;
      border-top: 2px solid var(--gold-500);
      padding-left: 0;
      padding-top: 16px;
      margin-top: 16px;
    }
  
    .stat-bar-inner {
      padding: 14px 20px;
      flex-wrap: nowrap;
      gap: 16px;
    }
  
    .auth-modal-card {
      padding: 24px;
    }
  }
  
  @media (max-width: 480px) {
    /* Stat bar: yan yana */
    .stat-bar-inner {
      flex-direction: row;
      justify-content: center;
      gap: 12px;
      padding: 14px 16px;
    }
  
    .stat-item {
      width: auto;
      flex: 1;
      justify-content: flex-start;
    }
  
    .stat-divider {
      display: block;
      width: 1px;
      height: 32px;
      background: rgba(255,255,255,.15);
      flex-shrink: 0;
    }
  
    .stat-num   { font-size: 20px; }
    .stat-icon  { font-size: 20px; }
    .stat-label { font-size: 10px; }
  }
  
  /* ═══════════════════════════════════════════════════════════════
     RAMAZAN SÜSLEMELERİ
     ═══════════════════════════════════════════════════════════════ */
  .ramadan-rope-line {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
      transparent 0%,
      var(--gold-400) 20%,
      var(--gold-500) 50%,
      var(--gold-400) 80%,
      transparent 100%
    );
    z-index: 300;
    opacity: 0.5;
    pointer-events: none;
  }
  
  .ramadan-deco {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    overflow: visible;
    pointer-events: none;
    z-index: 300;
  }
  
  .deco-item {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .deco-item::before {
    content: '';
    display: block;
    width: 1.5px;
    flex-shrink: 0;
    background: linear-gradient(
      to bottom,
      rgba(201,168,76,0)   0%,
      rgba(201,168,76,.55) 30%,
      rgba(201,168,76,.85) 100%
    );
  }
  
  .deco-item.rope-short::before  { height: 60px; }
  .deco-item.rope-medium::before { height: 90px; }
  .deco-item.rope-long::before   { height: 130px; }
  .deco-item.rope-xlong::before  { height: 170px; }
  
  @keyframes decoDropIn {
    from { opacity: 0; transform: translateY(-80px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  
  .deco-item:nth-child(1) { animation: decoDropIn .9s .00s cubic-bezier(.34,1.4,.64,1) both; }
  .deco-item:nth-child(2) { animation: decoDropIn .9s .10s cubic-bezier(.34,1.4,.64,1) both; }
  .deco-item:nth-child(3) { animation: decoDropIn .9s .20s cubic-bezier(.34,1.4,.64,1) both; }
  .deco-item:nth-child(4) { animation: decoDropIn .9s .30s cubic-bezier(.34,1.4,.64,1) both; }
  .deco-item:nth-child(5) { animation: decoDropIn .9s .40s cubic-bezier(.34,1.4,.64,1) both; }
  .deco-item:nth-child(6) { animation: decoDropIn .9s .50s cubic-bezier(.34,1.4,.64,1) both; }
  .deco-item:nth-child(7) { animation: decoDropIn .9s .60s cubic-bezier(.34,1.4,.64,1) both; }
  .deco-item:nth-child(8) { animation: decoDropIn .9s .70s cubic-bezier(.34,1.4,.64,1) both; }
  
  .deco-swing {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-origin: top center;
  }
  
  @keyframes decoSwing1 { 0%,100% { transform: rotate(-8deg);  } 50% { transform: rotate( 8deg);  } }
  @keyframes decoSwing2 { 0%,100% { transform: rotate( 9deg);  } 50% { transform: rotate(-9deg);  } }
  @keyframes decoSwing3 { 0%,100% { transform: rotate(-7deg);  } 50% { transform: rotate(11deg);  } }
  @keyframes decoSwing4 { 0%,100% { transform: rotate( 6deg);  } 50% { transform: rotate(-11deg); } }
  @keyframes decoSwing5 { 0%,100% { transform: rotate(-10deg); } 50% { transform: rotate( 7deg);  } }
  
  .deco-item:nth-child(1) .deco-swing { animation: decoSwing1 4.2s ease-in-out infinite; }
  .deco-item:nth-child(2) .deco-swing { animation: decoSwing2 5.0s ease-in-out infinite; }
  .deco-item:nth-child(3) .deco-swing { animation: decoSwing3 3.8s ease-in-out infinite; }
  .deco-item:nth-child(4) .deco-swing { animation: decoSwing4 4.6s ease-in-out infinite; }
  .deco-item:nth-child(5) .deco-swing { animation: decoSwing5 5.2s ease-in-out infinite; }
  .deco-item:nth-child(6) .deco-swing { animation: decoSwing1 4.8s ease-in-out infinite; }
  .deco-item:nth-child(7) .deco-swing { animation: decoSwing3 3.6s ease-in-out infinite; }
  .deco-item:nth-child(8) .deco-swing { animation: decoSwing2 4.4s ease-in-out infinite; }
  
  .deco-swing svg {
    display: block;
    flex-shrink: 0;
    filter: drop-shadow(0 3px 8px rgba(201,168,76,.4))
            drop-shadow(0 1px 2px rgba(0,0,0,.5));
  }
  
  @keyframes lanternGlow {
    0%,100% {
      filter: drop-shadow(0 3px 10px rgba(201,168,76,.4))
              drop-shadow(0 0  6px rgba(255,200,50,.2));
    }
    50% {
      filter: drop-shadow(0 3px 18px rgba(201,168,76,.8))
              drop-shadow(0 0 14px rgba(255,200,50,.6));
    }
  }
  
  .deco-item.is-lantern .deco-swing svg {
    animation: lanternGlow 2.5s ease-in-out infinite;
  }
  
  /* Mobilde küçült, 8'ini de göster */
  @media (max-width: 780px) {
    .ramadan-deco,
    .ramadan-rope-line {
      display: block;
    }
  
    .deco-swing svg {
      transform: scale(0.55);
      transform-origin: top center;
    }
  
    .deco-item::before { width: 1px; }
    .deco-item.rope-xlong::before { height: 80px; }
    .deco-item.rope-long::before  { height: 60px; }
    .deco-item.rope-medium::before{ height: 44px; }
    .deco-item.rope-short::before { height: 28px; }
  
    /* 8 öğeyi eşit aralıklı diz */
    .deco-item:nth-child(1) { left: 2% !important;  right: auto !important; }
    .deco-item:nth-child(2) { left: 16% !important; right: auto !important; }
    .deco-item:nth-child(3) { left: 30% !important; right: auto !important; }
    .deco-item:nth-child(4) { left: 44% !important; right: auto !important; }
    .deco-item:nth-child(5) { left: 58% !important; right: auto !important; }
    .deco-item:nth-child(6) { left: 72% !important; right: auto !important; }
    .deco-item:nth-child(7) { left: 83% !important; right: auto !important; }
    .deco-item:nth-child(8) { left: 93% !important; right: auto !important; }
  }

.checkbox-custom {
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-custom svg,
.checkbox-custom::after {
  display: none;
}

.consent-check:checked + .checkbox-custom svg {
  display: block;
  width: 12px;
  height: 12px;
  stroke: var(--white);
  fill: none;
}


/* ── 2. "Detaylı bilgi" satırı eğik ────────────────────────────── */
.consent-link-row {
  font-style: italic;
  color: var(--petrol-600);
  font-size: 13px;
  line-height: 1.5;
  margin-top: 4px;
}

.consent-link-row .consent-link {
  font-style: italic;
}

/* ── MOBİL STAT BAR DÜZELTMESİ ─────────────────────────────────
   site.css'de @media (max-width: 480px) bloğunu
   TAMAMEN bununla değiştir
   ─────────────────────────────────────────────────────────────── */
   @media (max-width: 480px) {
    .stat-bar-inner {
      flex-direction: row;
      justify-content: center;
      align-items: center;
      gap: 0;
      padding: 16px 20px;
    }
  
    /* Her stat-item: emoji+sayı yan yana, yazı altında */
    .stat-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5px;
      flex: 1;
      width: auto;
      justify-content: center;
    }
  
    /* Emoji + sayı aynı satırda */
    .stat-top {
      display: flex;
      align-items: center;
      gap: 6px;
    }
  
    .stat-icon {
      font-size: 20px;
      opacity: .9;
      line-height: 1;
    }
  
    .stat-num {
      font-size: 22px;
      font-weight: 600;
      color: var(--white);
      line-height: 1;
    }
  
    /* Yazı ikisinin altında */
    .stat-label {
      font-size: 9px;
      letter-spacing: .08em;
      text-align: center;
      opacity: .7;
      line-height: 1.3;
      color: var(--bej-300);
    }
  
    /* stat-body şeffaf — içeriği direkt stat-item'e yansıt */
    .stat-body {
      display: contents;
    }
  
    .stat-divider {
      display: block;
      width: 1px;
      height: 36px;
      background: rgba(255,255,255,.15);
      flex-shrink: 0;
      margin: 0 8px;
    }
  }

  /* ═══════════════════════════════════════════════════════════════
   YENİ CSS — site.css EN ALTINA ekle
   Limit modal, streak kartı, puan rozetleri
   ═══════════════════════════════════════════════════════════════ */

/* ── LİMİT MODAL özel stili ─────────────────────────────────── */
.limit-modal-card {
  text-align: center;
}

.limit-streak-info {
  margin: 12px 0 8px;
}

.limit-streak-badge {
  display: inline-block;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.35);
  color: var(--gold-300);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: .03em;
}

/* ── STREAK + PUAN KARTI (sağ panel) ────────────────────────── */
.streak-card {
  background: linear-gradient(135deg, var(--petrol-950), var(--petrol-900));
  border: 1px solid rgba(201,168,76,.2);
}

.streak-card-inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.streak-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.streak-fire {
  font-size: 28px;
  line-height: 1;
}

.streak-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--gold-300);
  line-height: 1;
}

.streak-label {
  font-size: 11px;
  color: var(--petrol-200);
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .7;
}

.streak-divider {
  width: 1px;
  height: 40px;
  background: rgba(201,168,76,.2);
  margin: 0 20px;
  flex-shrink: 0;
}

.points-info {
  flex: 1;
  text-align: right;
}

.points-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--gold-300);
  line-height: 1;
}

.points-label {
  font-size: 11px;
  color: var(--petrol-200);
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .7;
}

.streak-multiplier {
  margin-top: 10px;
  font-size: 12px;
  color: var(--gold-400);
  letter-spacing: .04em;
  text-align: center;
  opacity: .85;
}

/* ── SUCCESS MODAL: puan & streak alanları ──────────────────── */
.modal-points-earned {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: var(--radius-md);
  padding: 10px 20px;
  margin-bottom: 12px;
}

.modal-points-icon { font-size: 20px; }

.modal-points-earned #modalPointsEarnedNum {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--gold-300);
}

.modal-points-earned-label {
  font-size: 13px;
  color: var(--petrol-200);
  opacity: .8;
}

.modal-streak {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold-400);
  letter-spacing: .03em;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════
   BEKLEME MODAL — geri sayım
   ═══════════════════════════════════════════════════════ */
   .wait-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 8px 0;
  }
  
  .wait-time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(201,168,76,0.12);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 10px;
    padding: 12px 18px;
    min-width: 64px;
  }
  
  .wait-time-num {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    letter-spacing: 1px;
  }
  
  .wait-time-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--petrol-200);
    margin-top: 4px;
    opacity: .75;
  }
  
  .wait-time-sep {
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
    opacity: .5;
    margin-bottom: 14px;
  }