@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg:           #111118;
    --sidebar:      #0d0d14;
    --card:         #1c1c28;
    --card-border:  #2c2c3e;
    --accent:       #281e1e;
    --orange:       #f5842a;
    --red:          #ff4444;
    --text:         #ececf4;
    --muted:        #7777aa;
    --summary-bg:   #16161f;
}


@font-face {
  font-family: 'Poppins-Black';
  src: url('Poppins-Black.ttf') format('ttf');
}
@font-face {
    font-family: 'Greenscr';
    src: url('Greenscr.ttf');
}

@font-face {
    font-family: 'PixelSplitter';
    src: url('PixelSplitter-Bold.ttf');
}

@font-face {
    font-family: 'Hardpixel';
    src: url('Hardpixel.OTF');
}

body {
    background:linear-gradient(to bottom, #503a53, #4b2a47);
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 15px;
    font-family: 'Poppins-Black', sans-serif;
    margin-left: 260px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 28px;
    color: black;
}

.logo img {
  width: 50px;
  height: auto;
}

.buton_menu {
    font-weight: bold;
    color : black;
    display: block;
    margin-top: 10px;
    margin-left: 25px;
}

.butonuse {
    font-weight: bold;
    color : black;
    display: flex;
    gap: 10px;
    margin-left: 10px;
    margin-top: 10px;
    padding : 5px 20px;
    border: 1px solid #c6421d;
    background-color: #d62727;
    border-radius: 40px;
    width: 130px;
    text-align: center;
}

.buton_connect {
    justify-content: center;
    align-items: center;
    display: flex;
    gap: 10px;
    color: white;
    padding : 10px 35px;
    border: 2px solid #c6421d;
    border-radius: 40px;
    background-color: #d62727;
    cursor: pointer;
    margin-bottom: 40px;
    margin-top: 60px;
    width: 150px;
}   

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  padding: 20px;
  background:linear-gradient(to bottom, #FF9545, #FF753A);
  color: #ffffff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}


.menu-top {
    margin-top: 30px;
  
}


.menu-botom {
    margin-top: 40px; 
}

main {
  margin-left: 260px;   
  padding: 20px;
  box-sizing: border-box;
}

.sidebar a {
    text-decoration: none;
}

.page {
    width: 240px;
    align-items: center;
}

.container {
  display: flex;
  justify-content: center;   
  gap: 15px;
  margin-top: 130px;
}

.container img {
  width: 350px;              
  height: auto;
  border-radius: 10px;
}


.main {
    margin-left: 45px;
    flex: 1;
    padding: 30px 36px;
    max-width: 1200px;
}

.page-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 22px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}


.summary {
    background: var(--summary-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 20px 28px 22px;
    margin-bottom: 26px;
    width: 100%;
}

.sum-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
}

.sum-label {
    color: var(--muted);
    font-size: 14px;
    font-weight: 400;
}

.sum-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
}

.sum-value.neg {
    color: var(--red);
}

.sum-divider {
    height: 1px;
    background: var(--card-border);
    margin: 4px 0;
}

.sum-total-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
}

.sum-total-value {
    font-family: 'Rajdhani', sans-serif;
    font-size: 22px;
    font-weight: 700;
}



.games {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: 'PixelSplitter', monospace;
}

.game-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
    font-family: 'Greenscr', monospace;
     height: 120px;
}
.game-card:hover {
    border-color: rgba(124,77,255,.35);
    box-shadow: 0 2px 18px rgba(124,77,255,.1);
    font-family: 'Greenscr', monospace;
}

.game-thumb {
    width: 450px;
    flex-shrink: 0;
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
    
}
.game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.game-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    gap: 16px;
}

.game-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 6px;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'PixelSplitter', monospace;
}

.price {
    font-family: 'Rajdhani', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.disc-badge {
    background: rgba(255,68,68,.15);
    border: 1px solid rgba(255,68,68,.3);
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 5px;
    font-family: 'PixelSplitter', monospace;
}

.game-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    font-family: 'PixelSplitter', monospace;
}

.qty-sel {
    background: #0e0e18;
    border: 1px solid var(--card-border);
    color: var(--text);
    border-radius: 7px;
    padding: 7px 10px;
    font-size: 13px;
    cursor: pointer;
    outline: none;
    transition: border-color .2s;
    appearance: auto;
}
.qty-sel:focus { border-color: var(--accent); }
.qty-sel option { background: #1a1a2a; }

.del-btn {
    width: 34px;
    height: 34px;
    background: rgba(255,68,68,.08);
    border: 1px solid rgba(255,68,68,.2);
    color: #ff6060;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    transition: .18s;
}
.del-btn:hover {
    background: rgba(255,68,68,.18);
    border-color: rgba(255,68,68,.4);
    color: var(--red);
}


.empty-cart {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
}
.empty-cart i {
    font-size: 52px;
    margin-bottom: 16px;
    display: block;
}
.empty-cart p {
    font-size: 16px;
    margin-bottom: 6px;
}