.regtitle{
    text-align: center;
    border: 2px, solid, black;
    font-size: 32px;
}

.logtitle{
    text-align: center;
    border: 2px, solid, black;
    font-size: 32px;
}

.login{
    text-align: center;
}

.register{
    text-align: center;
}

#gomb{
    /* ezt igazitsd feljebb */
    width: 99px;
    border: 1px, solid, black;
    margin-left: 30%;
}


/* form conatiner formazas  */
.form-container {
    width: 100%;
    max-width: 320px;
    background-color: rgba(26, 26, 26, 0.95) !important;
    padding: 2rem;
    color: rgba(243, 244, 246, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.form-container .form-label {
    color: rgba(156, 163, 175, 1);
}

.form-container .form-control {
    border: 1px solid rgba(60, 60, 60, 1);
    background-color: rgba(18, 18, 18, 1);
    color: rgba(243, 244, 246, 1);
}

.form-container .form-control:focus {
    border-color: rgba(167, 139, 250);
    background-color: rgba(30, 30, 30, 1);
    box-shadow: none;
    color: rgba(243, 244, 246, 1);
}

.form-container .btn-primary {
    background-color: rgba(167, 139, 250, 1);
    border: none;
    color: rgba(17, 24, 39, 1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.form-container .btn-primary:hover {
    background-color: rgba(147, 119, 230, 1);
    transform: translateY(-2px);
    color: rgba(17, 24, 39, 1);
}

.form-container .btn-primary:active {
    transform: translateY(0);
}

.form-container .text-muted {
    color: rgba(156, 163, 175, 1) !important;
}

.form-container .text-muted:hover {
    text-decoration: underline rgba(167, 139, 250, 1) !important;
}
  
  
  .line {
    height: 1px;
    flex: 1 1 0%;
    background-color: rgba(55, 65, 81, 1);
  }

/* From Uiverse.io by jeremyssocial */ 
.background {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  
    /*megcsinaltam a szineket mostmar nez is ki valahogy*/
    background: #121212;
    background: linear-gradient(
      135deg,
      #121212 25%,
      #1a1a1a 25%,
      #1a1a1a 50%,
      #121212 50%,
      #121212 75%,
      #1a1a1a 75%,
      #1a1a1a
    );
    background-size: 40px 40px;
    animation: move 8s linear infinite;
  }
  
  @keyframes move {
    0% {
      background-position: 0 0;
    }
    100% {
      background-position: 40px 40px;
    }
  }
  

/* Felso vonal */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    display: flex;
    align-items: center;
}

.top-bar .logo-container {
    display: flex;
    align-items: center;
}

.top-bar .logo {
    height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.top-bar .logo:hover {
    transform: scale(1.1);
}

.ad-container {
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98), rgba(40, 40, 40, 0.98));
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 320px;
    margin: 0 auto;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    border: none;
}
.ad-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgba(167, 139, 250, 0.3), rgba(147, 119, 230, 0.3), rgba(100, 180, 255, 0.3));
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.ad-container:hover::before {
    opacity: 0;
}
.ad-container:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}
.ad-container .close-btn {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 8px;
    right: 8px;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    filter: brightness(0) invert(1);
    z-index: 10;
}
.ad-container .close-btn:hover {
    opacity: 1;
}
.ad-container img:not(.close-btn) {
    width: 100%;
    max-width: 280px;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: none;
    outline: none;
}
.ad-container:hover img:not(.close-btn) {
    transform: scale(1.05);
}
.ad-container a {
    text-decoration: none;
    color: inherit;
    display: block;
}
.ad-container p {
    color: rgba(243, 244, 246, 1);
    font-weight: 600;
    font-size: 15px;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ad-bottom-right {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}


/* reszponziv geci szar fos utalom a htmlt */
@media (max-width: 768px) {
    .form-container {
        padding: 1.5rem;
        max-width: 90%;
        margin: 0 1rem;
    }

    .top-bar {
        padding: 0.5rem 0.75rem;
    }

    .top-bar .logo {
        height: 40px;
        max-width: 120px;
    }

    .ad-container {
        max-width: 280px;
        padding: 15px;
    }

    .ad-bottom-right,
    .ad-bottom-left,
    .ad-top-right,
    .ad-top-left {
        bottom: 10px;
        right: 10px;
        left: 10px;
        top: auto;
    }

    .ad-container img:not(.close-btn) {
        max-width: 100%;
        height: 140px;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 1rem;
        max-width: 95%;
    }

    .ad-container {
        max-width: 90%;
        padding: 12px;
    }

    .ad-container img:not(.close-btn) {
        height: 120px;
    }

    .ad-container p {
        font-size: 13px;
    }

    .regtitle,
    .logtitle {
        font-size: 24px;
    }

    #gomb {
        margin-left: 0;
        width: 100%;
        max-width: 200px;
    }
}

/* main-oldal templatebol szedtem fingom sincs hogy mi mikor mit csinal :) de atszineztem a palett alapjan igy legalabb jol nez ki */
.stream-page {
    margin: 0;
    min-height: 100vh;
    background: #0f0f10;
    color: rgba(243, 244, 246, 1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.stream-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.2rem;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0.35));
    backdrop-filter: blur(8px);
}

.stream-nav-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.stream-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.stream-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.stream-links a {
    color: rgba(229, 231, 235, 0.95);
    text-decoration: none;
    font-size: 0.94rem;
    transition: color 0.2s ease;
}

.stream-links a:hover {
    color: rgba(167, 139, 250, 1);
}

.stream-nav-right {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.stream-nav-btn {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(243, 244, 246, 1);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    padding: 0.38rem 0.8rem;
    font-size: 0.8rem;
}

.stream-profile{
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-weight: 700;
    background-image: url(https://www.think.cz/images/stories/jimmy-zambo.jpg);
    background-size: 150%;
    background-position:center;
}

.szepkep{
    position: ;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.hero {
    position: relative;
    min-height: 70vh;
    padding-top: 5.2rem;
    display: flex;
    align-items: end;
    background-image: url('imgs/');
    background-size: cover;
    background-position: center;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(12, 12, 12, 0.95) 20%, rgba(12, 12, 12, 0.2) 75%),
        linear-gradient(to top, rgba(15, 15, 16, 1) 5%, rgba(15, 15, 16, 0.3) 55%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-bottom: 3rem;
}

.hero-tag {
    letter-spacing: 0.08em;
    color: rgba(167, 139, 250, 1);
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.hero-description {
    max-width: 560px;
    color: rgba(209, 213, 219, 1);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
}

.hero-play,
.hero-more {
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

.hero-play {
    background: rgba(243, 244, 246, 1);
    color: rgba(10, 10, 10, 1);
}

.hero-more {
    background: rgba(75, 85, 99, 0.7);
    color: rgba(243, 244, 246, 1);
}

.content-rail {
    margin-top: 1.5rem;
    margin-bottom: 1.2rem;
}

.content-rail h2 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: rgba(243, 244, 246, 1);
}

.poster-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(140px, 1fr));
    gap: 0.8rem;
}

.poster-card {
    position: relative;
    background: rgba(31, 31, 31, 0.9);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.poster-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(167, 139, 250, 0.6);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.poster-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.poster-card span {
    display: block;
    padding: 0.55rem 0.65rem 0.7rem;
    font-size: 0.9rem;
    color: rgba(243, 244, 246, 1);
}

.poster-card.wide img {
    height: 160px;
}

.stream-footer {
    margin-top: 2rem;
    padding: 2rem 1rem 2.5rem;
    color: rgba(156, 163, 175, 1);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 992px) {
    .poster-row {
        grid-template-columns: repeat(3, minmax(140px, 1fr));
    }

    .stream-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .stream-nav {
        padding: 0.7rem 0.75rem;
    }

    .stream-logo {
        height: 36px;
    }

    .hero {
        min-height: 62vh;
        background-position: 55% center;
    }

    .hero-content {
        padding-bottom: 2rem;
    }

    .hero-actions {
        flex-wrap: wrap;
    }

    .poster-row {
        grid-template-columns: repeat(2, minmax(130px, 1fr));
    }

    .poster-card img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .stream-nav-right {
        gap: 0.4rem;
    }

    .stream-nav-btn {
        padding: 0.3rem 0.55rem;
        font-size: 0.75rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 0.92rem;
    }

    .poster-card img,
    .poster-card.wide img {
        height: 132px;
    }
}