* {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  body {
    background-color: #121212;
    color: #f5f5f5;
    padding-top: 70px;
  }

  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  }

  .logo { font-size:26px; font-weight:bold; color:#00ffff; text-decoration:none; }
  nav { display:flex; }
  nav a { margin-left:20px; color:white; text-decoration:none; font-size:18px; transition:color 0.3s ease; }
  nav a:hover { color:#00ffff; }
  .menu-toggle { display:none; font-size:28px; cursor:pointer; color:white; }

  .sidebar {
    position: fixed;
    top:0;
    right:-250px;
    width:250px;
    height:100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    display:flex;
    flex-direction: column;
    padding-top:80px;
    transition:right 0.3s ease;
    z-index:999;
  }
  .sidebar a { color:white; padding:15px 20px; text-decoration:none; border-bottom:1px solid #333; transition: background 0.3s; }
  .sidebar a:hover { background-color: rgba(255,255,255,0.1); }
  .sidebar.active { right:0; }

  @media(max-width:768px){ nav{display:none;} .menu-toggle{display:block;} }

  section {
    padding:40px;
    min-height:100vh;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
  }

  .image-wrapper { width:100%; max-width:1280px; }
  .image-wrapper img {
    width:100%;
    height:auto;
    border-radius:12px;
    opacity:0;
    transition: opacity 1s ease;
  }
  .image-wrapper img.loaded { opacity:1; }

  .countdown { font-size:30px; margin:20px 0; color:#00ffff; transition:all 0.3s ease-in-out; }

  .download-section { display:none; flex-direction:column; align-items:center; justify-content:center; animation:fadeIn 1s ease forwards; margin-top:20px; }
  .download-btn img { width:200px; cursor:pointer; }
  .remaining-clicks { margin-top:10px; font-size:18px; color:#ffcc00; }

  @keyframes fadeIn { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
