* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    background: linear-gradient(135deg, #0a1f44, #1e3c72);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 140, 0, 0.9);
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    border-bottom: 3px solid #ffb347;
}
header h1 { font-weight: 700; font-size: 1.8rem; text-shadow: 2px 2px 6px rgba(0,0,0,0.5); }
header h1 a { text-decoration: none; color: #fff; }

/* Profil dropdown */
.profile-dropdown { position: relative; display: inline-block; }
.profile-button {
    background: #fff; color: #ff8c00; font-weight: 600;
    padding: 0.5rem 1rem; border-radius: 10px; text-decoration: none;
    cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.3); transition: all 0.3s ease;
}
.profile-button:hover { background: #ffd27f; color: #000; transform: translateY(-1px) scale(1.05); }
.dropdown-content { display: none; position: absolute; right: 0; background-color: rgba(0,0,0,0.9);
    min-width: 200px; border-radius: 8px; box-shadow: 0 8px 16px rgba(0,0,0,0.3); z-index: 1; }
.dropdown-content a, .dropdown-content div { color: #fff; padding: 10px 16px; text-decoration: none; display: block;
    transition: background 0.3s, box-shadow 0.3s; border-radius: 6px; }
.dropdown-content a:hover { background-color: rgba(255,255,255,0.1); box-shadow: 0 0 10px rgba(255,165,0,0.5); }
.profile-dropdown:hover .dropdown-content { display: block; }

/* Steam button */
header .steam-login {
    background: #fff; color: #ff8c00; font-weight: 600; padding: 0.5rem 1rem;
    border-radius: 10px; text-decoration: none; transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
header .steam-login:hover { background: #ffd27f; color: #000; transform: translateY(-1px) scale(1.05); }

/* SLIDER */
.slider-container {
    width: 70%;
    height: 35vh;
    max-width: 1200px;
    margin: 2rem auto;
    position: relative;
    border: 3px solid rgba(255,140,0,0.5);
    border-radius: 15px;
    background: rgba(0,0,0,0.2);
    overflow: hidden;
}

.slider { width: 100%; height: 100%; position: relative; }
.slider img {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; object-fit: cover;
    display: none; opacity: 0.35;
    transition: opacity 1s ease-in-out; border-radius: 15px;
}
.slider img.active { display: block; opacity: 0.35; }

/* Bubbles */
.slider-bubbles {
    position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 10;
}
.slider-bubbles span {
    width: 12px; height: 12px; background: rgba(255,140,0,0.5);
    border-radius: 50%; cursor: pointer;
    transition: transform 0.3s, background 0.3s;
}
.slider-bubbles span.active { background: #ff8c00; transform: scale(1.4); }

/* Bloc d’action */
.action-box {
    background: #1e3c72;
    border: 3px solid #ff8c00;
    border-radius: 12px;
    padding: 20px;
    margin: 20px auto 40px auto;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
    box-shadow: 0 0 20px rgba(255,140,0,0.4);
    max-width: 600px;
}
.action-btn {
    background: #ff8c00;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.action-btn:hover { background: #ffd27f; color: #000; transform: translateY(-2px) scale(1.05); }

/* Main container */
main {
    flex: 1;
    margin: 2.5rem auto;
    padding: 0 1rem 3rem 1rem;
    max-width: 80vw;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

/* Article */
article {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #ff8c00;
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    max-width: 600px;
    position: relative;
    padding-bottom: 2.5rem;
}
article small {
    position: absolute; bottom: 1rem; right: 1rem;
    font-size: 0.85rem; color: #ccc;
}
article:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 15px 25px rgba(0,0,0,0.5); }
article h2 { font-size: 1.5rem; color: #ffb347; margin-bottom: 0.5rem; }
article div { margin-top: 0.5rem; line-height: 1.5; color: #f0f0f0; }

/* Container */
.container { flex: 1; max-width: 1200px; margin: 3rem auto; padding: 0 1rem 3rem 1rem; }

/* Notice */
.notice { text-align: center; background: rgba(0,0,0,0.7); padding: 20px; border-radius: 12px; margin-bottom: 30px; }

/* Tabs */
.tabs { display:flex; justify-content:center; margin-bottom:20px; gap:10px; }
.tabs button {
  padding:10px 20px; border:none; border-radius:8px;
  cursor:pointer; font-weight:bold;
  background:#00aaff; color:#fff;
  transition:0.3s;
}
.tabs button.active { background:#ff6600; }

/* Offers */
.tab-content { display:none; }
.tab-content.active { display:block; }
.offer-list { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.offer-card { background: rgba(0,0,0,0.7); padding: 20px; border-radius: 12px; width: 280px; box-shadow: 0 0 15px rgba(255,165,0,0.5); transition: 0.3s; text-align:center; }
.offer-card:hover { background: rgba(255,165,0,0.1); box-shadow: 0 0 25px rgba(255,165,0,0.7); }
.offer-card h2 { color: #ff6600; margin-top: 0; text-align:center; }
.offer-card img { display:block; margin: 0 auto 10px auto; max-width: 100%; border-radius: 8px; }
.offer-card p { font-size: 14px; line-height: 1.4; text-align:center; }
button, select { margin-top: 10px; padding: 8px 12px; border-radius: 8px; border: none; font-weight: bold; cursor: pointer; transition: 0.3s; }
button { background: #00aaff; color: #fff; }
button:hover { background: #ff6600; box-shadow: 0 0 15px rgba(255,165,0,0.6); }
select { background: #fff; color: #000; margin-right: 10px; }

/* Nav links */
.nav-links {
    display: flex;
    gap: 1rem;
}
.nav-links a {
    background: #fff;
    color: #ff8c00;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}
.nav-links a:hover { background: #ffd27f; color: #000; }

/* Footer */
footer { text-align: center; padding: 1.5rem 0; background: rgba(0,0,0,0.6); color: #fff; border-top: 3px solid #ff8c00; font-weight: 500; }
.footer-links { font-size: 0.7rem; margin-top: 8px; }
.footer-links a { color: #fff; text-decoration: none; margin: 0 6px; transition: 0.3s; }
.footer-links a:hover { color: #ff8c00; }