:root {
  --primary-blue: #00BFFF;
  --secondary-blue: #009ACD;
  --accent-green: #32CD32;
  --accent-orange: #FFA500;
  --bg-color: #FFF8E7;
  --content-bg: #FFFFFF;
  --border-color: #FFD580;
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --highlight: rgba(255, 215, 0, 0.15);
}

body {
  font-family: 'Trebuchet MS', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #87CEFA, #FFF8E7 60%, #FFE4B5) fixed;
  background-size: cover, 400px;
  background-repeat: no-repeat, repeat;
  color: var(--text-dark);
  line-height: 1.5;
}

#header {
  background: linear-gradient(to bottom, var(--primary-blue), var(--secondary-blue));
  color: white;
  padding: 10px 0;
  border-bottom: 1px solid var(--secondary-blue);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  position: relative;
  z-index: 100;
}

.header-content {
  width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
}

.logo img {
  margin-right: 10px;
}

.nav-tabs {
  display: flex;
  background: linear-gradient(to bottom, #FFF5CC, #FFE4B5);
  border-bottom: 1px solid var(--border-color);
  padding-left: 10px;
}

.nav-tab {
  padding: 8px 20px;
  margin-right: 5px;
  background: linear-gradient(to bottom, #FFF5CC, #FFE4B5);
  border: 1px solid var(--border-color);
  border-bottom: none;
  border-radius: 5px 5px 0 0;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: bold;
  position: relative;
  top: 1px;
}

.nav-tab:hover {
  background: linear-gradient(to bottom, #FFFFFF, #FFF8DC);
}

.nav-tab.active {
  background: white;
  border-bottom: 1px solid white;
  color: var(--accent-orange);
}

#container {
  width: 1035px;
  margin: 40px auto;
  background: white;
  border: 1px solid var(--border-color);
  border-top: none;
  box-shadow: 0 0 10px rgba(255, 165, 0, 0.15);
  padding: 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.content-block {
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  overflow: hidden;
}

.block-header {
  background: linear-gradient(to bottom, #FFF5CC, #FFE4B5);
  padding: 8px 15px;
  border-bottom: 1px solid var(--border-color);
  font-weight: bold;
  color: var(--accent-orange);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.block-content {
  padding: 15px;
}

.user-item {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dotted #FFD580;
}

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

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 0px;
  margin-right: 10px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 1px 3px rgba(255, 165, 0, 0.2);
}

.btn {
  display: inline-block;
  padding: 5px 12px;
  background: linear-gradient(to bottom, #FFF5CC, #FFE4B5);
  border: 1px solid var(--border-color);
  border-radius: 3px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 12px;
  cursor: pointer;
}

.btn:hover {
  background: linear-gradient(to bottom, #FFFFFF, #FFF8DC);
}

.btn-primary {
  background: linear-gradient(to bottom, var(--accent-orange), #FF8C00);
  color: white;
  border-color: #FF8C00;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.2);
}

.btn-primary:hover {
  background: linear-gradient(to bottom, #FFB347, #FF8C00);
}

.aero-highlight {
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 20px;
}

#footer {
  width: 960px;
  margin: 20px auto;
  padding: 10px 0;
  text-align: center;
  color: #666;
  font-size: 12px;
  border-top: 1px solid var(--border-color);
}

@media (max-width: 1000px) {
.header-content, #container {
  width: auto;
  margin: 0 10px;
}

#container {
  grid-template-columns: 1fr;
}
}

.nav-tab.active {
    background: #FFD580;
    border-radius: 5px;
    font-weight: bold;
    color: #000;
}

.footer-ad-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0 10px;
    height: 90px;
}

.footer-ad-container img {
    width: 728px;
    height: 90px;
    object-fit: cover;
}

.game-card {
    width: 180px;
    background: white;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s ease;
    margin: 10px;
    position: relative;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 5px;
    overflow: hidden;
}

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

.dropdown-content a {
    color: var(--text-dark);
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: background-color 0.2s;
}

.dropdown-content a:hover {
    background-color: #FFF8DC;
}

.dropdown-content a i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.dropdown-divider {
    height: 1px;
    background-color: #FFD580;
    margin: 0;
}
