/* Reset minimal */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, #1d1d2c, #0b0b17);
  color: #f0f0f0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background: rgba(11, 95, 255, 0.9);
  color: white;
  padding: 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

header h1 {
  font-size: 2.5em;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.lang-switch {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #ffbb00;
  color: #222;
  padding: 8px 12px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.lang-switch:hover {
  background: #ffaa00;
}

main {
  flex: 1;
  padding: 40px 20px;
  text-align: center;
}

main p {
  margin-bottom: 20px;
  font-size: 1.2em;
}

.btn-container {
  margin-top: 20px;
}

.btn {
  display: inline-block;
  margin: 10px;
  padding: 12px 24px;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1em;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-rgb-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; 
  gap: 10px;
  max-width: 60vw;
  margin: 0 auto;
}

.btn-rgb-container .btn-rgb {
  flex: 1 1 auto;
  min-width: 120px;
}

.btn-rgb {
  background: linear-gradient(
    270deg,
    #ff0000,
    #ff9900,
    #33cc33,
    #00ccff,
    #9933ff,
    #ff0000
  );
  background-size: 1200% 1200%;
  animation: rgb 6s ease infinite;
  box-shadow: 0 0 10px rgba(255,255,255,0.4);
}

.btn-rgb:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255,255,255,0.8);
}

@keyframes rgb {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.btn-index { background-color: #0b5fff; }
.btn-index:hover { background-color: #0846c1; }

.btn-files { background-color: #0b5fff; }
.btn-files:hover { background-color: #0846c1; }

.btn-specs { background-color: #00c853; }
.btn-specs:hover { background-color: #009e3c; }

.btn-mirrors { background-color: #ffbb00; color: #222; }
.btn-mirrors:hover { background-color: #ffaa00; }

.btn-more { background-color: #ff0000; color: #222; }
.btn-more:hover { background-color: #ff0505; }

footer {
  background: rgba(255,255,255,0.05);
  text-align: center;
  padding: 15px;
  font-size: 14px;
  color: #aaa;
  border-top: 1px solid rgba(255,255,255,0.1);
}

footer span {
  color: #0b5fff;
  font-weight: 600;
}
