body{
  margin:0;
  font-family:Segoe UI;
  background:linear-gradient(135deg,#537a81,#000000,#44b2e0);
  color:white;
  min-height:100vh;
  padding-top:  0px;
  }

body{
    overflow-x: hidden;
}


#L1, #L2, #L3, #L4{
    scroll-margin-top: 80px;
}

#L1 {
    background: rgba(33, 56, 82, 0.72) !important;
    border: 1px solid rgba(136, 207, 235, 0.25);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
    padding: 1rem !important;
}

#L1 > section {
    margin-bottom: 0.85rem;
}

#L1 h1 {
    color: #f3fbff;
    letter-spacing: 0.1px;
}

#L2 img {
    border-radius: 10px;
    border: 1px solid rgba(148, 220, 247, 0.28);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

#L4Expired h4,
#L1 section h4,
#L1 section h5 {
    color: #e8f7ff;
}

#L4Expired .wp-block-list.is-style-inline-divider-list {
    gap: 0.25rem;
}

#L1 .list-group-numbered {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}

#L1 .list-group-numbered .list-group-item {
    background: rgba(240, 251, 255, 0.96);
    color: #133347;
    border-color: rgba(130, 201, 230, 0.45);
}

.related-games-shell {
    background: rgba(8, 20, 31, 0.26);
    border: 0.75px solid rgba(129, 206, 236, 0.2);
    border-radius: 12px;
    padding: 0.8rem;
    margin-bottom: 0.3rem;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    margin-left: auto;
    position: static;
    top: auto;
    right: auto;
    z-index: auto;
}

.related-slot {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.related-games-shell h4 {
    color: #ecf9ff;
    margin-bottom: 0.6rem;
}

.related-games-links {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 0.45rem;
}

.related-game-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: min(100%, 260px);
    gap: 0.5rem;
    text-decoration: none;
    color: #eaf8ff;
    border: 0.75px solid rgba(131, 210, 240, 0.24);
    border-radius: 10px;
    background: rgba(28, 58, 83, 0.62);
    font-weight: 600;
    overflow: hidden;
}

.related-game-card:hover {
    color: #ffffff;
    border-color: rgba(170, 231, 255, 0.85);
    background: rgba(44, 89, 118, 0.7);
}

.related-game-thumb {
    width: 78px;
    height: 78px;
    flex-shrink: 0;
    object-fit: cover;
    display: block;
}

.related-game-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding-right: 0.35rem;
}

.related-game-name {
    display: block;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1.2;
}

.related-game-summary {
    margin-top: 0.25rem;
    font-size: 0.78rem;
    line-height: 1.25;
    color: rgba(217, 241, 250, 0.82);
}

@media (max-width: 991.98px) {
    .related-slot {
        display: block;
    }

    .related-games-shell {
        position: static;
        top: auto;
        right: auto;
        z-index: auto;
        width: min(100%, 280px);
        min-width: 0;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .related-games-links {
        justify-items: center;
    }

    .related-game-card {
        width: 100%;
    }
}

.navbar-brand:hover{
    transform: scale(1.1);
    transition: 0.5s;
}


.card:hover{
    transform: scale(1.1);
    transition: 0.2s;
}

.back:hover{
    transform: scale(1.1);
    transition: 0.2s;
    background-color: rgb(168, 120, 65);
}

.szöveg{
    font-weight: bold;
    font-size: larger;
}

h2{
    font-weight: bolder
}

.navbar-brand img {
    height: clamp(78px, 10vw, 150px);      
    width: auto;        
    display: inline-block;
    vertical-align: middle;
    margin-top: -30px; 
    margin-bottom: -30px;
}

.navbar-brand {
    position: relative;
    margin-left: calc((100vw - 100%) / -2 - (var(--bs-gutter-x, 1.5rem) * 0.5));
}

.navbar-toggler {
    border: 1px solid rgba(155, 224, 250, 0.7);
    border-radius: 10px;
    padding: 0.38rem 0.5rem;
    background: linear-gradient(135deg, rgba(22, 43, 61, 0.9), rgba(45, 93, 121, 0.85));
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28), 0 0 12px rgba(68, 178, 224, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.navbar-toggler:hover {
    border-color: rgba(188, 239, 255, 0.95);
    background: linear-gradient(135deg, rgba(34, 66, 90, 0.95), rgba(63, 126, 157, 0.9));
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 14px rgba(68, 178, 224, 0.3);
}

.navbar-toggler:focus,
.navbar-toggler:focus-visible {
    box-shadow: 0 0 0 0.18rem rgba(68, 178, 224, 0.32), 0 0 14px rgba(68, 178, 224, 0.34);
    outline: none;
}

.navbar-toggler[aria-expanded="true"] {
    border-color: rgba(199, 243, 255, 0.98);
    background: linear-gradient(135deg, rgba(38, 74, 101, 0.96), rgba(79, 145, 176, 0.94));
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.35em;
    height: 1.35em;
}

#navbarNav {
    width: 100%;
    align-items: center;
}

#navbarNav .navbar-nav.me-auto {
    margin-right: auto;
}

.navbar .nav-link {
    color: rgba(237, 248, 255, 0.9) !important;
    font-weight: 600;
    letter-spacing: 0.2px;
    border-radius: 999px;
    padding: 0.4rem 0.78rem !important;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.16s ease;
}

.navbar .nav-link i {
    color: rgba(169, 225, 246, 0.95);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #ffffff !important;
    background-color: rgba(83, 150, 180, 0.35);
    transform: translateY(-1px);
}

#userNav {
    margin-left: auto;
    position: static;
    transform: none;
}

@media (min-width: 992px) {
    .navbar .container {
        position: relative;
        container-type: inline-size;
    }

    #navbarNav > #userNav {
        margin-left: auto !important;
        margin-right: calc((100vw - 100cqw) / -2) !important;
        padding-right: 0.35rem;
    }

    .sticky-aside {
        display: block !important;
    }

    main.container {
        width: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
    }
}

@media (min-width: 1711px) and (min-height: 1001px) {
    .sticky-aside {
        position: fixed !important;
        right: 20px !important;
        top: 200px !important;
        width: 200px !important;
        margin: 0 !important;
        display: block !important;
    }
}

@media (max-width: 1710px), (max-height: 1000px) {
    .sticky-aside {
        position: static !important;
        right: auto !important;
        top: auto !important;
        width: 100% !important;
        margin: 1.5rem 0 0 0 !important;
        padding: 1.5rem 0 !important;
        background: transparent !important;
        border: none !important;
        border-top: none !important;
        box-shadow: none !important;
    }

    .sticky-aside h4 {
        color: #eef8fc !important;
        font-weight: 650 !important;
        margin-bottom: 0.55rem !important;
        font-size: 0.95rem !important;
    }

    .sticky-aside ul {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .sticky-aside a {
        color: rgba(220, 241, 249, 0.84) !important;
        transition: color 0.2s ease;
    }
}

@media (max-width: 991.98px) {
    #navbarNav > #userNav {
        margin-right: 0 !important;
        padding-right: 0;
    }
}

#userDropdownToggle {
    color: #f4fbff;
    font-weight: 600;
    border: 1px solid rgba(120, 197, 226, 0.4);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(29, 48, 69, 0.92), rgba(46, 93, 120, 0.92));
    padding: 0.35rem 0.8rem;
    box-shadow: 0 0 10px rgba(68, 178, 224, 0.25);
    transition: all 0.2s ease;
}

.nav-user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(159, 230, 255, 0.75);
    vertical-align: middle;
}

#userDropdownToggle:hover {
    color: #ffffff;
    border-color: rgba(150, 224, 255, 0.7);
    box-shadow: 0 0 14px rgba(68, 178, 224, 0.45);
}

#userDropdownMenu {
    min-width: 180px;
    margin-top: 0.5rem;
    border: 1px solid rgba(84, 170, 207, 0.5);
    border-radius: 12px;
    background: linear-gradient(160deg, rgba(18, 30, 45, 0.97), rgba(32, 58, 80, 0.97));
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 12px rgba(68, 178, 224, 0.2);
    backdrop-filter: blur(6px);
    z-index: 1200;
}

#userDropdownMenu .dropdown-item {
    color: #e8f7ff;
    font-weight: 500;
}

#userDropdownMenu .dropdown-item:hover {
    color: #ffffff;
    background-color: rgba(68, 178, 224, 0.2);
}

#userDropdownMenu .dropdown-divider {
    border-top-color: rgba(141, 214, 243, 0.35);
}

#userDropdownMenu .dropdown-item.text-danger {
    color: #ff9da1 !important;
}

#userDropdownMenu .dropdown-item.text-danger:hover {
    color: #ffd6d8 !important;
    background-color: rgba(255, 107, 107, 0.18);
}

.nav-auth-link {
    font-weight: 650;
    letter-spacing: 0.2px;
    border-radius: 999px;
    padding: 0.34rem 0.82rem !important;
}

.nav-auth-login {
    color: #eaf8ff !important;
    border: 1px solid rgba(126, 203, 233, 0.45);
    background: linear-gradient(135deg, rgba(26, 47, 67, 0.78), rgba(37, 82, 110, 0.72));
}

.nav-auth-register {
    color: #0f2a3d !important;
    border: 1px solid rgba(170, 231, 255, 0.78);
    background: linear-gradient(135deg, #7fd6f3, #a2e8ff);
}

#L4 .col-12 {
    background: rgba(8, 20, 31, 0.26);
    border: 1px solid rgba(129, 206, 236, 0.26);
    border-radius: 12px;
    padding: 0.3rem 0.75rem 0.8rem;
}

#L4 h4 {
    color: #ecf9ff;
    font-weight: 700;
    letter-spacing: 0.2px;
}

#L4 .list-group {
    border-radius: 12px;
    overflow: hidden;
}

#L4 .list-group-item {
    background: rgba(237, 249, 255, 0.97);
    color: #133246;
    border-color: rgba(127, 197, 226, 0.55);
    font-weight: 500;
}

#L4 .list-group-item strong {
    color: #0c5e84;
}

#L4 .list-group-item + .list-group-item {
    border-top-width: 1px;
}

#L4 .copy-icon {
    color: #0f6d97;
    font-size: 1.05rem;
    transition: color 0.2s ease, transform 0.15s ease;
}

#L4 .copy-icon:hover {
    color: #0095d3;
    transform: scale(1.1);
}

.wp-block-list.is-style-inline-divider-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.wp-block-list.is-style-inline-divider-list li {
    display: inline;
}

.wp-block-list.is-style-inline-divider-list li::after {
    content: " |";
}

.wp-block-list.is-style-inline-divider-list li:last-child::after {
    content: "";
}


.sticky-aside {
    position: fixed;
    right: 20px;
    top: 200px;
    width: 200px;
    background-color: transparent;
    box-shadow: none;
    border: 1px solid rgba(149, 214, 240, 0.2);
    border-radius: 10px;
    padding: 0;
    z-index: 10;
}

.sticky-aside h4 {
    color: #eef8fc;
    font-weight: 650;
    margin-bottom: 0.55rem;
    font-size: 0.95rem;
}

.sticky-aside a {
    color: rgba(220, 241, 249, 0.84);
    text-decoration: none;
    transition: color 0.2s ease;
}

.sticky-aside a:hover {
    color: #44b2e0 !important;
    text-decoration: none;
}

#commentForm {
    background: linear-gradient(160deg, rgba(18, 30, 45, 0.9), rgba(32, 58, 80, 0.9));
    border: 1px solid rgba(84, 170, 207, 0.35);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 12px rgba(68, 178, 224, 0.18);
}

#commentForm h5 {
    color: #dff5ff;
    font-weight: 700;
}

#commentText {
    background: rgba(8, 15, 24, 0.75);
    color: #eef9ff;
    border: 1px solid rgba(121, 201, 235, 0.45);
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(86, 173, 212, 0.12);
}

#commentText::placeholder {
    color: rgba(213, 239, 250, 0.7);
}

#commentText:focus {
    background: rgba(8, 15, 24, 0.85);
    color: #ffffff;
    border-color: rgba(150, 224, 255, 0.85);
    box-shadow: 0 0 0 0.18rem rgba(68, 178, 224, 0.25), 0 0 16px rgba(68, 178, 224, 0.28);
}

#addCommentForm .btn-primary {
    border: 1px solid rgba(150, 224, 255, 0.6);
    border-radius: 999px;
    background: linear-gradient(135deg, #2b6786, #3da2cc);
    color: #f2fbff;
    font-weight: 700;
    padding: 0.5rem 1.2rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3), 0 0 10px rgba(68, 178, 224, 0.25);
}

#addCommentForm .btn-primary:hover {
    background: linear-gradient(135deg, #347b9f, #57bae3);
    border-color: rgba(196, 239, 255, 0.85);
}

.comment-node {
    border: 1px solid rgba(84, 170, 207, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

.comment-time {
    color: #bde7fb;
    font-weight: 600;
    letter-spacing: 0.01em;
    display: block;
    text-align: left;
    margin-top: 0.1rem;
}

.comment-user-link {
    color: #e8f7ff;
    text-decoration: underline;
    text-decoration-color: rgba(150, 224, 255, 0.45);
    text-underline-offset: 2px;
}

.comment-user-link:hover {
    color: #9de6ff;
}

.comment-reply-level {
    margin-left: 2rem;
    border-left: 3px solid rgba(84, 170, 207, 0.45);
}

.comment-actions .btn {
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    font-size: 0.78rem;
}

#commentsList textarea.form-control {
    background-color: rgba(255, 255, 255, 0.92);
}

.comment-pagination {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    flex-wrap: wrap;
}

.comment-pagination-ellipsis {
    color: #c8efff;
    padding: 0 0.2rem;
}


@media (max-width: 768px) {
    .navbar-brand {
        margin-left: 0;
    }

    .navbar-brand img {
        height: 92px;
        margin-top: -14px;
        margin-bottom: -14px;
    }

    #L4 .col-12 {
        padding: 0.2rem 0.5rem 0.65rem;
    }

    #L1 {
        border-radius: 12px;
        padding: 0.75rem 0.65rem 0.85rem !important;
    }

    #L1 > section {
        margin-bottom: 0.7rem;
    }

    #navbarNav {
        width: 100%;
        align-items: flex-start;
    }

    #navbarNav .navbar-nav {
        width: 100%;
    }

    #userNav {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-right: 0 !important;
        margin-top: 0.35rem;
    }

    #userDropdownToggle {
        width: 100%;
        display: inline-flex;
        justify-content: center;
    }

    #userDropdownMenu {
        position: static !important;
        width: 100%;
        min-width: 0;
        margin-top: 0.45rem;
        transform: none !important;
    }

    main.container {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    #L1, #L2, #L3, #L4, #L4Expired {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .szöveg {
        font-size: 1rem;
    }

    h1 {
        font-size: clamp(1.5rem, 7.2vw, 2.2rem);
    }

    h2 {
        font-size: clamp(1.2rem, 5.5vw, 1.6rem);
    }

    .list-group-item {
        font-size: 0.95rem;
    }

    .sticky-aside {
        position: static !important;
        right: auto !important;
        top: auto !important;
        width: 100% !important;
        margin: 1.5rem 0 0 0 !important;
        padding: 1.5rem 0 !important;
        background: transparent !important;
        border: none !important;
        border-top: none !important;
        box-shadow: none !important;
    }

    .sticky-aside h4 {
        text-align: center;
        font-size: 0.95rem !important;
        margin-bottom: 0.55rem !important;
        color: #eef8fc !important;
    }

    .sticky-aside ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
        list-style: none !important;
    }

    .sticky-aside li {
        margin-bottom: 0 !important;
    }

    .sticky-aside a {
        color: rgba(220, 241, 249, 0.84) !important;
        text-decoration: none;
        transition: color 0.2s ease;
        font-size: 0.95rem;
    }

    .comment-reply-level {
        margin-left: 1rem;
    }

    /* Tighten stacked layout spacing between image and following content on phones */
    #L2 {
        row-gap: 0 !important;
        margin-bottom: 0 !important;
    }

    #L2 > [class*="col-"] {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    #L2 .my-auto,
    #L3 .my-auto {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    #L2 img.img-fluid {
        display: block;
        margin-top: 0 !important;
        margin-bottom: 0.05rem !important;
    }

    #L2 .related-slot {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    #L2 .related-games-shell {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    #L3 {
        margin-top: 0 !important;
    }

    #L3 .col-12 {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #L3 h2.my-4 {
        margin-top: 0.35rem !important;
        margin-bottom: 0.8rem !important;
    }
}

.wp-block-list.is-style-inline-divider-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.wp-block-list.is-style-inline-divider-list li {
    display: inline;
}

.wp-block-list.is-style-inline-divider-list li::after {
    content: " |";
}

.wp-block-list.is-style-inline-divider-list li:last-child::after {
    content: "";
}

.comment-user-meta {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.comment-user-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(150, 224, 255, 0.65);
    background: rgba(7, 15, 24, 0.8);
}

.footer-bottom {
    margin-top: 0;
    padding: 0.9rem 1.25rem 1.05rem;
    border-top: 1px solid rgba(149, 214, 240, 0.18);
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    color: rgba(206, 234, 245, 0.74);
    font-size: 0.88rem;
}

.site-footer {
    margin-top: auto;
    padding-top: 1.8rem;
    background: rgba(8, 18, 28, 0.82);
    border-top: 1px solid rgba(149, 214, 240, 0.22);
}