/* ==============================
   RESET
============================== */
*{margin:0;padding:0;box-sizing:border-box;font-family:Segoe UI,sans-serif;}
body{background:#000;color:#fff;overflow-x:hidden}

/* ==============================
   BACKGROUND
============================== */
#background{
    position:fixed;
    inset:0;
    background-size:cover;
    background-position:center;
    z-index:-2;
}
.overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.65);
    z-index:-1;
}
.page{max-width:1300px;margin:auto}

/* ==============================
   HEADER
============================== */
.main-header{
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    padding:16px 60px;
    background:rgba(0,0,0,.7);
    backdrop-filter:blur(10px);
    position:sticky;
    top:0;
    z-index:100;
}
.header-left{display:flex;align-items:center;gap:32px}

.logo{height:40px;display:flex;align-items:center}
.logo img{height:100%;width:auto}

/* NAV */
.main-nav{display:flex;align-items:center}
.main-nav>a,.main-nav>.dropdown{margin-right:20px}
.main-nav>a:last-child{margin-right:0}

.main-nav a,.dropbtn{
    display:flex;align-items:center;gap:8px;
    color:#fff;text-decoration:none;font-size:15px;
    background:none;border:none;cursor:pointer;padding:6px 0
}

/* DROPDOWN */
.dropdown{position:relative}
.dropdown input{display:none}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;

    background: #111;
    border-radius: 8px;
    min-width: 200px;
    padding: 6px 0;
    box-shadow: 0 16px 40px rgba(0,0,0,.6);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease;
}

/* =========================
   DESKTOP – HOVER (KUN MUS)
========================= */
@media (hover: hover) and (pointer: fine) {
    .dropdown:hover .dropdown-content {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}

/* =========================
   MOBIL – KLIK (CHECKBOX)
========================= */
@media (max-width: 768px) {
    #pc-toggle:checked + .dropbtn + .dropdown-content,
    #genre-toggle:checked + .dropbtn + .dropdown-content,
    #contact-toggle:checked + .dropbtn + .dropdown-content {
        display: block;
    }
}
.dropdown-content a{
    display:flex;align-items:center;gap:8px;
    padding:8px 14px;color:#ccc;font-size:14px
}
.dropdown-content a:hover{background:#1b1b1b;color:#00e5ff}
.dropdown-content i{width:16px;text-align:center}

/* SEARCH */
.header-center{display:flex;justify-content:center}
.search-form{
    display:flex;background:#111;border-radius:30px;
    overflow:hidden;max-width:260px
}
.search-form input{
    background:none;border:none;color:#fff;
    padding:10px 14px;width:200px;outline:none
}
.search-form button{
    background:#00e5ff;border:none;padding:0 16px;cursor:pointer
}

/* RIGHT */
.header-right{display:flex;align-items:center;gap:22px}
.login-link {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
}

.login-link i {
    font-size: 15px;
}
.register-btn{
    background:#00e5ff;color:#000;
    padding:8px 16px;border-radius:20px;
    font-weight:600;text-decoration:none
}

/* BURGER */
#nav-toggle{display:none}
.burger{
    display:none;width:44px;height:44px;
    border-radius:10px;background:#111;
    align-items:center;justify-content:center;cursor:pointer
}
.burger i{font-size:20px}

/* ==============================
   SLIDER
============================== */
/* ==============================
   HOMEPAGE SLIDER – GAMES2YOU
============================== */

.slider {
    position: relative;
    height: 460px;
    overflow: hidden;
    z-index: 1;
}

.slide {
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;

    opacity: 0;
    transition: opacity 1.2s ease;


}


.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.25)
    );
    z-index: 1;
    pointer-events: none;
}
.slide-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    z-index: 2;
    max-width: 620px;
    width: 100%;
    padding: 0 60px;

    text-align: center;
}
.slide-content h1 {
    min-height: 84px;
}

.slide-content p {
    min-height: 52px;
}
.slide-content h1 {
    font-size: 38px;
    line-height: 1.1;
    margin-bottom: 14px;
}

.slide-content p {
    font-size: 17px;
    color: #e0e0e0;
    margin-bottom: 26px;
}
.slide-content h1,
.slide-content p {
    text-shadow:
        0 2px 8px rgba(0,0,0,0.85),
        0 0 2px rgba(0,0,0,0.9);
}
.slide-prices {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 30px;
}

.slide-prices .normal {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.slide-prices .premium {
    font-size: 15px;
    color: #7CFF9B;
}

.slide-prices .premium strong {
    color: #00e5ff;
    margin-right: 6px;
}

.slide-btn {
    display: inline-block;
    background: linear-gradient(135deg, #00e5ff, #00bcd4);
    color: #000;
    padding: 14px 26px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: .25s ease;
}

.slide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(0,229,255,.45);
}

/* MOBILE */
@media(max-width:900px) {
    .slider {
        height: 360px;
    }

    .slide-content {
        padding: 0 24px;
        text-align: center;
    }

    .slide-prices {
        align-items: center;
    }
}



/* ==============================
   CONTENT (UÃ†NDRET)
============================== */
.content{background:#1a1a1a;padding:70px 60px}

/* PRODUCTS */
.products{display:grid;grid-template-columns:1fr 1fr;gap:50px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:30px}
.product{height:340px;display:flex;flex-direction:column;gap:6px}
.cover{
    height:220px;     flex-shrink: 0;
    background:url('../assets/images/pc-dvd-placeholder.png') center/contain no-repeat;
    transition:.25s ease
}
.cover svg{width:100%;height:100%; display:block;}
.product:hover .cover {
    transform: scale(1.03);
}
.product-info h3{font-size:15px}
.price{color:#00e5ff;font-weight:700}
.vip-price{color:#7CFF9B;font-size:13px}

/* RELEASES */
.release-calendar{margin-top:90px}
.release-calendar h2{margin-bottom:30px;border-left:4px solid #00e5ff;padding-left:15px}
.release-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:30px}
.release-card{
    background:#222;border-radius:10px;padding:20px;
    display:flex;gap:18px;transition:.25s ease
}
.release-card:hover{transform:translateY(-6px);box-shadow:0 14px 30px rgba(0,0,0,.5)}
.release-cover{
    width:90px;flex-shrink:0;
    background:url('../assets/images/pc-dvd-placeholder.png') center/contain no-repeat
}
.release-info{display:flex;flex-direction:column;justify-content:center;gap:6px}
.release-date{font-size:13px;font-weight:700;color:#00e5ff}
.release-info h3{font-size:15px;line-height:1.2}
.release-label{font-size:12px;color:#aaa}

/* ==============================
   FOOTER
============================== */
footer{background:#111;margin-top:80px;padding:60px 60px 30px;font-size:14px}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:40px}
.footer h4{margin-bottom:15px;font-size:15px;color:#00e5ff}
.footer ul{list-style:none}
.footer ul li{margin-bottom:8px}
.footer a{color:#ccc;text-decoration:none}
.footer a:hover{color:#00e5ff}
.footer-bottom{
    border-top:1px solid #333;margin-top:40px;padding-top:20px;
    display:flex;justify-content:space-between;flex-wrap:wrap;gap:20px;color:#777
}

/* ==============================
   MOBILE
============================== */
.mobile-search{display:none}

@media(max-width:900px){
    .products{grid-template-columns:1fr}
    .content{padding:40px 20px}

    .main-header{
        display:flex;
        justify-content:space-between;
        padding:12px 16px;
    }

    .burger{display:flex}

    .main-nav{
        position:fixed;
        top:56px;left:0;right:0;
        background:#000;
        padding:24px 20px;
        display:none;
        flex-direction:column;
        z-index:999;
    }
    #nav-toggle:checked ~ .header-left .main-nav{display:flex}

    .main-nav>a,.main-nav>.dropdown{
        margin-bottom:18px;
        font-size:16px;
    }


    /* SEARCH */
    .desktop-search{display:none}
 .mobile-search{
    display:block;
    padding:10px 16px;
    background:transparent;
}
    .mobile-search .search-form{max-width:none;width:100%}
    .mobile-search .search-form input{width:100%}

    .header-right{
    display:flex;
    align-items:center;
    gap:22px
}
}

/* ==============================
   AUTH FORMS (REGISTER / LOGIN)
============================== */

.auth-card{
    max-width:700px;
    margin:0 auto;
    background:#111;
    padding:40px;
    border-radius:16px;
    box-shadow:0 20px 50px rgba(0,0,0,.6);
}

.auth-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.form-group{
    display:flex;
    flex-direction:column;
}

.form-group.full{
    grid-column:1 / -1;
}

.form-group label{
    font-size:13px;
    margin-bottom:6px;
    color:#aaa;
}

.form-group input{
    background:#000;
    border:1px solid #333;
    padding:12px;
    border-radius:8px;
    color:#fff;
}

.form-group input:focus{
    border-color:#00e5ff;
    outline:none;
}

.form-footer{
    margin-top:30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
}

.checkbox{
    font-size:14px;
    color:#ccc;
}

.btn-primary{
    background:#00e5ff;
    color:#000;
    padding:12px 28px;
    border:none;
    border-radius:30px;
    font-weight:700;
    cursor:pointer;
}

.btn-primary:hover{
    opacity:.9;
}

/* MOBILE */
@media(max-width:700px){
    .auth-grid{
        grid-template-columns:1fr;
    }
}
/* ==============================
   AUTH FORMS (REGISTER / LOGIN)
============================== */

.auth-card{
    max-width:700px;
    margin:0 auto;
    background:#111;
    padding:40px;
    border-radius:16px;
    box-shadow:0 20px 50px rgba(0,0,0,.6);
}

.auth-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.form-group{
    display:flex;
    flex-direction:column;
}

.form-group.full{
    grid-column:1 / -1;
}

.form-group label{
    font-size:13px;
    margin-bottom:6px;
    color:#aaa;
}

.form-group input{
    background:#000;
    border:1px solid #333;
    padding:12px;
    border-radius:8px;
    color:#fff;
}

.form-group input:focus{
    border-color:#00e5ff;
    outline:none;
}

.form-footer{
    margin-top:30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
}

.checkbox{
    font-size:14px;
    color:#ccc;
}

.btn-primary{
    background:#00e5ff;
    color:#000;
    padding:12px 28px;
    border:none;
    border-radius:30px;
    font-weight:700;
    cursor:pointer;
}

.btn-primary:hover{
    opacity:.9;
}

/* MOBILE */
@media(max-width:700px){
    .auth-grid{
        grid-template-columns:1fr;
    }
}



.password-form {
    max-width:420px;
    margin-top:20px;
}
.admin-table-wrap {
    overflow-x:auto;
}

.admin-table {
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
    font-size:14px;
}

.admin-table th,
.admin-table td {
    padding:10px 12px;
    border-bottom:1px solid #333;
    text-align:left;
}

.admin-table th {
    background:#111;
    color:#00e5ff;
}

.btn-small {
    padding:6px 10px;
    background:#00e5ff;
    color:#000;
    border-radius:6px;
    text-decoration:none;
    font-size:13px;
}

/* ==============================
   USER MENU
============================== */
.user-menu {
    position: relative;
}

.user-btn {
    display:flex;
    align-items:center;
    gap:8px;
    background:#111;
    color:#fff;
    border:none;
    padding:8px 14px;
    border-radius:20px;
    cursor:pointer;
    font-size:14px;
}

.user-btn i {
    font-size:14px;
}

.user-dropdown {
    position:absolute;
    right:0;
    top:calc(100% + 8px);
    background:#111;
    border-radius:10px;
    min-width:180px;
    box-shadow:0 16px 40px rgba(0,0,0,.6);
    opacity:0;
    visibility:hidden;
    transform:translateY(8px);
    transition:.2s ease;
    z-index:200;
}

.user-dropdown a {
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px 14px;
    color:#ccc;
    text-decoration:none;
    font-size:14px;
}

.user-dropdown a:hover {
    background:#1b1b1b;
    color:#00e5ff;
}

.user-dropdown .logout {
    border-top:1px solid #222;
}

.user-menu:hover .user-dropdown {
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}
/* ==============================
   MOBILE USER MENU
============================== */
.mobile-user-menu {
    display:none;
    border-top:1px solid #222;
    margin-top:20px;
    padding-top:16px;
}

.mobile-user-menu a {
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px 0;
    color:#fff;
    text-decoration:none;
    font-size:16px;
}

/* MOBILE ONLY */
@media(max-width:900px){
    .mobile-user-menu {
        display:block;
    }

    .header-right {
        display:none;
    }
}
/* ==============================
   AUTH FORMS (LOGIN / REGISTER)
============================== */
.auth-card {
    max-width:420px;
    margin:40px auto;
    padding:30px;
    background:#111;
    border-radius:14px;
    box-shadow:0 20px 40px rgba(0,0,0,.6);
}

.auth-card h2 {
    text-align:center;
    margin-bottom:20px;
}

/* Inputs */
.auth-card .form-group {
    margin-bottom:16px;
}

.auth-card input {
    width:100%;
    padding:12px 14px;
    border-radius:8px;
    border:none;
    background:#1b1b1b;
    color:#fff;
}

/* Button */
.auth-card .btn-primary {
    width:100%;
    margin-top:10px;
    padding:12px;
    font-size:15px;
}

/* Footer links */
.auth-footer {
    margin-top:18px;
    text-align:center;
}

.forgot-link {
    font-size:14px;
    color:#aaa;
    text-decoration:none;
}

.forgot-link:hover {
    color:#00e5ff;
}

/* ==============================
   MOBILE IMPROVEMENTS
============================== */
@media (max-width:600px) {

    .auth-card {
        margin:20px 12px;
        padding:24px;
    }

    .auth-card h2 {
        font-size:20px;
    }

    .auth-card input {
        padding:14px;
        font-size:16px; /* vigtigt for iOS zoom */
    }

    .auth-card .btn-primary {
        padding:14px;
        font-size:16px;
    }
}
/* ==============================
   FORGOT PASSWORD LINK
============================== */
.forgot-wrapper {
    text-align:right;
    margin-top:-6px;
    margin-bottom:18px;
}

.forgot-link {
    font-size:13px;
    color:#aaa;
    text-decoration:none;
}

.forgot-link:hover {
    color:#00e5ff;
    text-decoration:underline;
}
/* ==============================
   NEWSLETTER CHECKBOX (REGISTER)
============================== */
.newsletter-box {
    background:#141414;
    border:1px solid #222;
    border-radius:12px;
    padding:14px 16px;
    margin-bottom:22px;
}

.newsletter-label {
    display:flex;
    align-items:flex-start;
    gap:12px;
    cursor:pointer;
}

.newsletter-label input {
    display:none;
}

/* Custom checkbox */
.newsletter-label .checkmark {
    width:18px;
    height:18px;
    border-radius:4px;
    border:2px solid #444;
    background:#000;
    margin-top:3px;
    position:relative;
    flex-shrink:0;
}

.newsletter-label input:checked + .checkmark {
    background:#00e5ff;
    border-color:#00e5ff;
}

.newsletter-label input:checked + .checkmark::after {
    content:"";
    position:absolute;
    left:5px;
    top:2px;
    width:4px;
    height:8px;
    border:solid #000;
    border-width:0 2px 2px 0;
    transform:rotate(45deg);
}

.newsletter-text {
    display:flex;
    flex-direction:column;
    font-size:14px;
    color:#eee;
}

.newsletter-text small {
    font-size:12px;
    color:#aaa;
    margin-top:2px;
}

/* CTA */
.btn-block {
    width:100%;
}
@media (max-width:600px) {
    .newsletter-box {
        padding:14px;
    }

    .newsletter-text {
        font-size:15px;
    }

    .newsletter-text small {
        font-size:13px;
    }
}
.logout-form button {
    background:none;
    border:none;
    color:#ff6b6b;
    cursor:pointer;
    padding:0;
    font-size:14px;
}
/* ==============================
   DROPDOWN LOGOUT BUTTON
============================== */
.user-dropdown .logout-form {
    margin:0;
}

.user-dropdown .logout-btn {
    width:100%;
    background:none;
    border:none;
    display:flex;
    align-items:center;
    gap:8px;
    padding:8px 14px;
    font-size:14px;
    color:#ff6b6b;
    cursor:pointer;
    text-align:left;
}

.user-dropdown .logout-btn:hover {
    background:#1b1b1b;
    color:#ff4b4b;
}

.user-dropdown .logout-btn i {
    width:16px;
    text-align:center;
}
/* ==============================
   PROFILE POLISH
============================== */

.profile-card {
    max-width: 520px; /* default (mobil / tablet) */
    margin: 0 auto;
}

/* DESKTOP */
@media (min-width: 1024px) {
    .profile-card {
        max-width: 880px;
        padding: 50px 60px;
    }
    
}

/* Sektioner */
.profile-card hr {
    border:0;
    height:1px;
    background:linear-gradient(to right, transparent, #333, transparent);
    margin:28px 0;
}

/* Section titles */
.profile-card h3 {
    margin:20px 0 12px;
    font-size:18px;
    color:#fff;
}

/* Newsletter */
.profile-card .checkbox {
    display:flex;
    align-items:center;
    gap:10px;
    font-size:14px;
    color:#ccc;
}

.profile-card .checkbox input {
    width:18px;
    height:18px;
    accent-color:#00e5ff;
    cursor:pointer;
}

/* Buttons spacing */
.profile-card .btn-primary,
.profile-card .btn-secondary {
    width:100%;
    margin-top:16px;
}

/* Password form */
.password-form .form-group {
    margin-bottom:14px;
}

/* Success / error */
.profile-card .success {
    background:#0f2e2e;
    border-left:4px solid #00e5ff;
    padding:10px 14px;
    margin-bottom:14px;
    border-radius:6px;
}

.profile-card .error {
    background:#2a1212;
    border-left:4px solid #ff6b6b;
    padding:10px 14px;
    margin-bottom:10px;
    border-radius:6px;
}

/* Orders */
.profile-card .muted {
    color:#999;
    font-size:14px;
}

/* Admin button */
.profile-card .btn-admin {
    display:inline-block;
    margin-top:12px;
    background:#222;
    color:#00e5ff;
    padding:10px 16px;
    border-radius:20px;
    text-decoration:none;
    font-weight:600;
    transition:.2s;
}

.profile-card .btn-admin:hover {
    background:#00e5ff;
    color:#000;
}

/* ==============================
   BUTTON FIX
============================== */

.btn-full {
    width:100%;
}

.btn-secondary {
    background:#222;
    color:#00e5ff;
    border:none;
    padding:14px 20px;
    border-radius:30px;
    font-weight:600;
    font-size:15px;
    cursor:pointer;
    transition:.2s ease;
}

.btn-secondary:hover {
    background:#00e5ff;
    color:#000;
}
/* ==============================
   ADMIN ACTION BUTTONS
============================== */
.admin-actions {
    display: flex;
    gap: 16px;
    margin: 30px 0 40px;
    flex-wrap: wrap;
}

.btn-admin-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    background: linear-gradient(135deg, #00e5ff, #00bcd4);
    color: #000;
    padding: 14px 22px;
    border-radius: 14px;

    font-size: 15px;
    font-weight: 700;
    text-decoration: none;

    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.35);
    transition: all 0.25s ease;
}

.btn-admin-primary i {
    font-size: 18px;
}

.btn-admin-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 229, 255, 0.45);
    background: linear-gradient(135deg, #1ff0ff, #00d4e8);
}

.btn-admin-primary:active {
    transform: translateY(0);
    box-shadow: 0 8px 20px rgba(0, 229, 255, 0.35);
}
/* ==============================
   ADMIN DRAFT BADGE
============================== */
.draft-badge {
    margin-left: 10px;
    padding: 4px 10px;

    background: rgba(0, 0, 0, 0.2);
    color: #000;

    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;

    line-height: 1;
}
/* ==============================
   PRODUCT PAGE
============================== */
.product-page {
    max-width: 1300px;
    margin: auto;
}

.product-top {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
}

.product-image img {
    width: 100%;
    border-radius: 12px;
}

.product-info h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.product-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #aaa;
}

.product-price {
    margin: 20px 0;
    font-size: 24px;
    font-weight: 700;
    color: #00e5ff;
}

.in-stock { color: #7CFF9B; font-size: 14px; }
.out-stock { color: #ff6b6b; font-size: 14px; }

.plus-box {
    background: linear-gradient(135deg,#00e5ff,#00bcd4);
    color: #000;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.plus-box span {
    font-weight: 800;
}

.points-box {
    margin-bottom: 20px;
    font-size: 14px;
}

.btn-buy {
    background: #00e5ff;
    color: #000;
    border: none;
    padding: 14px;
    width: 100%;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.btn-buy:disabled {
    background: #555;
    cursor: not-allowed;
}

.product-description {
    margin-top: 60px;
}

.product-description h2 {
    margin-bottom: 15px;
}
.price-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-normal {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-decoration: none !important; /* ðŸ”¥ vigtig */
}

.price-plus {
    font-size: 14px;
    color: #7CFF9B;
}

.price-plus strong {
    color: #00e5ff;
    margin-right: 4px;
}
.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-link:hover .product {
    transform: scale(1.03);
}
/* ==============================
   PRODUCT â€“ MOBILE POLISH
============================== */
@media (max-width: 900px) {

    .product-top {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-image {
        max-width: 260px;
        margin: 0 auto;
    }

    .product-info h1 {
        font-size: 22px;
        text-align: center;
    }

    .product-meta {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .product-price {
        text-align: center;
        font-size: 22px;
    }

    .in-stock,
    .out-stock,
    .points-box {
        text-align: center;
    }

    .plus-box {
        text-align: center;
    }

    .btn-buy {
        position: sticky;
        bottom: 14px;
        z-index: 10;
    }
}
/* ==============================
   RELATED PRODUCTS FIX
============================== */
.related-products {
    display: block; /* override grid */
}

.related-products h2 {
    margin-bottom: 30px;
}
.product-trailer {
    margin-top: 60px;
}

.trailer-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
    border-radius: 14px;
    overflow: hidden;
}

.trailer-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
/* ==============================
   SORT BY PANEL
============================== */
.sort-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 30px;
}

.sort-label {
    font-size: 14px;
    font-weight: 700;
    color: #aaa;
}

.sort-btn {
    background: #111;
    color: #fff;
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid #333;
    transition: .2s ease;
}

.sort-btn:hover {
    background: #00e5ff;
    color: #000;
}

.sort-btn.active {
    background: #00e5ff;
    color: #000;
    border-color: #00e5ff;
}

/* DROPDOWN */
.sort-dropdown {
    position: relative;
    display: inline-block;
}

.sort-dropdown-content {
    display: none;
    position: absolute;
    background: #111;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,.4);
    border-radius: 8px;
    z-index: 10;
}

.sort-dropdown:hover .sort-dropdown-content {
    display: block;
}

.sort-dropdown-content a {
    color: #ccc;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

.sort-dropdown-content a:hover,
.sort-dropdown-content a.active {
    background: #00e5ff;
    color: #000;
}

/* ==============================
   PLATFORM / LISTING GRID
============================== */

.platform-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

/* Tablet */
@media (max-width: 1200px) {
    .platform-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile */
@media (max-width: 700px) {
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ==============================
   FILTER PANEL
============================== */

.filter-panel {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:30px 0;
    flex-wrap:wrap;
    gap:20px;
}

.price-filter {
    background:#111;
    padding:14px 18px;
    border-radius:14px;
}

.price-filter input[type=range] {
    width:240px;
}

/* ==============================
   CART PAGE
============================== */

.cart-page {
    max-width: 1300px;
    margin: 0 auto;
}

.cart-page h1 {
    margin-bottom: 30px;
}

/* CART ITEM */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    background: #111;
    border-radius: 14px;
    margin-bottom: 16px;
}

.cart-item-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item-title {
    font-weight: 600;
}

.cart-item-price {
    font-size: 14px;
    color: #aaa;
}

/* REMOVE */
.remove-btn {
    background: none;
    border: 1px solid #333;
    color: #aaa;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
}

.remove-btn:hover {
    background: #ff4b4b;
    border-color: #ff4b4b;
    color: #000;
}

/* ==============================
   PREMIUM BOX
============================== */

.premium-box {
    background: linear-gradient(135deg, #f3edff, #ffffff);
    color: #000;
    padding: 24px 28px;
    border-radius: 18px;
    margin: 30px 0;
}

.premium-box h3 {
    margin-bottom: 6px;
}

.premium-box ul {
    margin: 14px 0;
    padding-left: 18px;
}


/* ==============================
   SUMMARY
============================== */

.cart-summary {
    background: #111;
    padding: 22px 26px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
}

.summary-row.highlight {
    color: #7CFF9B;
}

.summary-row.total {
    font-size: 20px;
    font-weight: 700;
}

/* BUTTON */
.cart-summary .btn-buy {
    margin-top: 20px;
    width: 100%;
    text-align: center;
}

/* ==============================
   PREMIUM TOGGLE – FINAL FIX (NO SLIDER COLLISION)
============================== */

.premium-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    gap: 16px;
    font-size: 15px;
    font-weight: 600;
}

/* SWITCH */
.switch {
    position: relative;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

/* HIDE INPUT */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

/* TOGGLE TRACK */
.switch .toggle-slider {
    position: absolute;
    inset: 0;
    background: #cfcfcf;
    border-radius: 999px;
    cursor: pointer;
    transition: background .25s ease;
}

/* TOGGLE KNOB */
.switch .toggle-slider::before {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform .25s ease;
}

/* ACTIVE */
.switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, #00e5ff, #00bcd4);
    box-shadow: 0 0 10px rgba(0,229,255,.6);
}

.switch input:checked + .toggle-slider::before {
    transform: translateX(24px);
}

/* ==============================
   DISCOUNT CODE BOX
============================== */

.discount-box {
    background: #111;
    border-radius: 16px;
    padding: 18px 22px;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.discount-box label {
    font-size: 14px;
    font-weight: 600;
    color: #aaa;
}

.discount-row {
    display: flex;
    gap: 12px;
}

.discount-row input {
    flex: 1;
    background: #000;
    border: 1px solid #333;
    padding: 12px 14px;
    border-radius: 10px;
    color: #fff;
}

.discount-row input:focus {
    border-color: #00e5ff;
    outline: none;
}

.discount-row button {
    background: #00e5ff;
    color: #000;
    border: none;
    padding: 12px 18px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
}

.discount-row button:hover {
    opacity: .9;
}

.discount-error {
    color: #ff6b6b;
    font-size: 13px;
}

.discount-success {
    color: #7CFF9B;
    font-size: 13px;
}

/* ==============================
   CHECKOUT PAGE
============================== */

.checkout-page {
    max-width: 1300px;
    margin: 0 auto;
}

/* STEPS */
.checkout-steps {
    display: flex;
    gap: 14px;
    margin-bottom: 40px;
}

.step {
    padding: 10px 16px;
    border-radius: 20px;
    background: #111;
    color: #777;
    font-size: 14px;
}

.step.done {
    background: #1f1f1f;
    color: #00e5ff;
}

.step.active {
    background: #00e5ff;
    color: #000;
    font-weight: 700;
}

/* GRID */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
}

/* CARDS */
.checkout-card {
    background: #111;
    padding: 26px;
    border-radius: 18px;
    margin-bottom: 30px;
}

.checkout-card h3 {
    margin-bottom: 16px;
}

/* SUMMARY */
.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 15px;
}

.summary-item.highlight {
    color: #7CFF9B;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 700;
    margin-top: 16px;
}

.points-earned {
    margin-top: 10px;
    font-size: 14px;
    color: #aaa;
}

/* PAYMENT */
.checkout-right .sticky {
    position: sticky;
    top: 120px;
}
.checkout-right .checkout-card {
    align-self: flex-start; padding: 28px;
}

.payment-placeholder {
    height: 52px;
    border-radius: 10px;
    background: #1b1b1b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    margin-bottom: 20px;
}

.trust {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 20px;
}

/* BUTTON */
.btn-buy.large {
    padding: 18px;
    font-size: 18px;
    border-radius: 40px;
}

/* POINTS */
.points-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.profile-tabs {
    display:flex;
    gap:12px;
    margin:20px 0 30px;
    flex-wrap:wrap;
    justify-content: center;
}

.profile-tabs a {
    padding:10px 18px;
    background:#1b1b1b;
    border-radius:20px;
    text-decoration:none;
    color:#ccc;
    font-size:14px;
    font-weight:600;
}

.profile-tabs a.active {
    background:#00e5ff;
    color:#000;
}
/* Subscription box */
.subscription-box {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 18px 20px;
    max-width: 420px;
     box-shadow: 0 12px 40px rgba(0,0,0,.4);
}

/* Status line */
.status-line {
    margin: 0 0 12px;
    font-size: 15px;
}

.status-line.active strong {
    color: #22c55e;
}

/* Cancelled info */
.subscription-alert.cancelled {
    background: #1f2937;
    border: 1px solid #374151;
    color: #e5e7eb;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
}

/* Cancel button */
.btn-cancel-premium {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.btn-cancel-premium:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.35);
}

.btn-cancel-premium:active {
    transform: translateY(0);
    box-shadow: none;
}

.profile-header {
    text-align: center;
    margin-bottom: 30px;
}

.profile-subtitle {
    color: #999;
    font-size: 14px;
    margin-top: 6px;
}
.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #111, #1b1b1b);
    border-radius: 14px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.4);
}

.stat-card span {
    display: block;
    font-size: 13px;
    color: #aaa;
    margin-bottom: 6px;
}

.stat-card strong {
    font-size: 22px;
    color: #00e5ff;
}

.stat-card.active strong {
    color: #7CFF9B;
}
.admin-table tr:hover {
    background: #1b1b1b;
}
.order-status {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
}

.status-payment {
    background: rgba(234, 179, 8, 0.15);
    color: #facc15;
}

.status-pending {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.status-done {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}
/* ==============================
   HEADER CART
============================== */

.cart-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #111;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    text-decoration: none;
    transition: background .2s ease, transform .15s ease;
}

.cart-btn:hover {
    background: #1b1b1b;
    transform: translateY(-1px);
}

.cart-btn i {
    font-size: 16px;
}

/* Badge */
.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;

    min-width: 18px;
    height: 18px;
    padding: 0 5px;

    background: #00e5ff;
    color: #000;

    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==============================
   LIVE SEARCH
============================== */

.search-wrapper {
    position: relative;
    width: 260px;
}

.search-wrapper input {
    width: 100%;
    background: #111;
    border: 1px solid #222;
    border-radius: 999px;
    padding: 10px 36px 10px 14px;
    color: #fff;
}

.search-wrapper i {
    position: absolute;
    right: 14px;
    top: 0;
    bottom: 0;

    display: flex;
    align-items: center;

    color: #00e5ff;
    pointer-events: none;
}


/* Results box */
.search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;

    background: #111;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,.7);
    overflow: hidden;
    display: none;
    z-index: 999;
}

/* ==============================
   LIVE SEARCH RESULTS
============================== */

.search-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    text-decoration: none;
    color: #fff;
    border-bottom: 1px solid #222;
    transition: background .15s ease;
}

.search-item:last-child {
    border-bottom: none;
}

.search-item:hover {
    background: #1b1b1b;
}

.search-item-left {
    flex: 1;
}

.search-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.search-item-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.search-price {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.search-price-plus {
    font-size: 12px;
    color: #7CFF9B;
}

.search-price-plus strong {
    color: #00e5ff;
    margin-right: 4px;
}
/* ==============================
   LIVE SEARCH – MOBILE FIX
============================== */

@media (max-width: 900px) {
.mobile-search {
    padding: 0 16px;
}

.mobile-search .search-wrapper {
    position: relative;
    width: 100%;
}

    .mobile-search input {
        width: 100%;
        padding: 14px 44px 14px 16px;
        border-radius: 999px;
        background: #111;
        border: 1px solid #222;
        color: #fff;
        font-size: 16px;
    }

    .mobile-search .search-results {
        left: 16px;
        right: 16px;
        max-height: 60vh;
        overflow-y: auto;
    }
}
.search-wrapper input {
    height: 40px;
}

@media (max-width: 900px) {
    .mobile-search input {
        height: 48px;
    }
}
@media (max-width: 900px) {
    .mobile-search .search-wrapper i {
        right: 16px; /* matcher input padding */
    }@media (max-width: 900px) {
    .mobile-search input {
        padding-right: 48px;
    }
}}

/* ==============================
   TERMS ACCEPT – MATCH FORM LAYOUT
============================== */

.terms-group {
    margin-top: 16px;
}

/* Brug samme label struktur som nyhedsbrev,
   men tilpas til register-formens grid */
.terms-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
    cursor: pointer;
    padding-top: 4px;
}

/* Checkbox */
.terms-label input[type="checkbox"] {
    display: none;
}

.terms-label .checkmark {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid #444;
    background: #000;
    position: relative;
    flex-shrink: 0;
}

.terms-label input:checked + .checkmark {
    background: #00e5ff;
    border-color: #00e5ff;
}

.terms-label input:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Terms tekst i samme linje-layout som input felter */
.terms-text {
    display: inline;
    font-size: 15px;
    color: #eee;
    line-height: 1.6;
}

/* Links */
.terms-text a,
.terms-text a:visited {
    color: #00e5ff;
    text-decoration: none;
    font-weight: 600;
}

.terms-text a:hover {
    text-decoration: underline;
}
/* ==============================
   TERMS ERROR STATE
============================== */

.terms-group.has-error {
    border: 1px solid #ff6b6b;
    border-radius: 12px;
    padding: 14px;
    background: rgba(255, 107, 107, 0.05);
}

.terms-group.has-error .terms-text {
    color: #ffb3b3;
}

.login-link,
.register-btn {
    height: 40px;
    display: flex;
    align-items: center;
}
.login-link:hover {
    color: #00e5ff;
}

.register-btn:hover {
    background: #00c4dc;
}
body.guest .search-wrapper {
    width: 210px;
}

.product {
   height: auto; /* VIGTIG */
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
} 
.product-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 0;
}
.product-info h3 {
    font-size: 15px;
    line-height: 1.3;
    min-height: 2.6em;
    overflow: hidden;
}
.price-box {
    margin-top: 8px;
}
@media (max-width: 900px) {
    body.guest .mobile-search .search-wrapper {
        width: 100%;
    }
}/* MOBIL: korrekt stacking uden at åbne dropdown */
@media (max-width: 900px) {

    .dropdown {
        position: relative;
        z-index: 1000;
    }

    .dropdown-content {
        position: absolute;
        left: 0;
        right: auto;
    }
}/* MOBIL: luk dropdowns når burger-menu er lukket */
@media (max-width: 900px) {
    #nav-toggle:not(:checked)
    ~ .header-left
    .dropdown-content {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(6px);
    }
}/* =========================
   MOBIL – DROPDOWNS SOM ACCORDION
========================= */
@media (max-width: 900px) {

    .dropdown-content {
        position: static;     /* VIGTIG */
        transform: none;
        box-shadow: none;
        margin-top: 6px;
        display: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    #pc-toggle:checked + .dropbtn + .dropdown-content,
    #genre-toggle:checked + .dropbtn + .dropdown-content {
        display: block;
    }
}

/* ==============================
   PRODUCT OFFER BADGE
============================== */

.product {
    position: relative;
}

.product-offer-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;

    padding: 6px 10px;
    border-radius: 999px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .6px;

    background: #111;
    border: 1px solid rgba(255,255,255,0.15);
}

/* INTRO */
.product-offer-badge.intro {
    color: #ffd764;
    border-color: rgba(255,215,100,0.5);
}

/* PREMIUM */
.product-offer-badge.premium {
    color: #00e5ff;
    border-color: rgba(0,229,255,0.5);
}
