﻿.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 oran */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  border-radius: 6px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

/* Dış kapsayıcı: sayfa genişliği kadar esner ve içeriği ortalar */
.TableFlex {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    background: #0e1320;
    overflow: hidden;
    padding: 0 6%;
  border-radius: 10px;
}

/* Video her zaman önde */
.TableFlex > * {
    position: relative;
    z-index: 5;
}

/* iframe temizliği */
.TableFlex iframe {
    border: 0;
    outline: 0;
    box-shadow: none;
}

.TableFlex iframe:focus {
    outline: none;
}

/* Sol desen */
.TableFlex::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 18%;
    height: 100%;
    z-index: 1;
    background:
        radial-gradient(circle at right center, rgba(255,255,255,0.08), transparent 70%),
        repeating-linear-gradient(
            135deg,
            rgba(255,255,255,0.05),
            rgba(255,255,255,0.05) 2px,
            transparent 2px,
            transparent 14px
        );
    pointer-events: none;
}

/* Sağ desen */
.TableFlex::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 18%;
    height: 100%;
    z-index: 1;
    background:
        radial-gradient(circle at left center, rgba(255,255,255,0.08), transparent 70%),
        repeating-linear-gradient(
            -135deg,
            rgba(255,255,255,0.05),
            rgba(255,255,255,0.05) 2px,
            transparent 2px,
            transparent 14px
        );
    pointer-events: none;
}

.TableFlex h1,
.TableFlex h2,
.TableFlex h3 {
    color: rgba(255,255,255,0.9);
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.CellFlex800 h1 {
    font-size: 20px;
    line-height: 1.25;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1px;   /* ihtiyaca göre 4–10px arası oynarsın */
}

/* İç kapsayıcı: maksimum 800px olur ve responsive şekilde daralabilir */
.CellFlex800 {
  max-width: 800px;
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}