:root {
  --glass-bg: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.8);
  --accent-color: #ff00cc;
  --gradient-1: #333399;
  --gradient-2: #ff00cc;
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
  background: linear-gradient(45deg, var(--gradient-1), var(--gradient-2));
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-family);
  min-height: 100vh;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Glass Component */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  padding: 30px;
  margin-bottom: 30px;
}

/* Header */
.header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(5px);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.brand img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.5); }

/* Hero */
.hero {
  padding: 60px 0;
  text-align: center;
}
.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  border-radius: 50px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  font-weight: bold;
  backdrop-filter: blur(5px);
  transition: all 0.3s;
  margin: 5px;
}
.btn-glass:hover {
  background: rgba(255,255,255,0.4);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.btn-glass img { width: 20px; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.feature-item {
  text-align: center;
  transition: transform 0.3s;
}
.feature-item:hover { transform: scale(1.03); }
.feature-title { font-size: 1.3rem; margin-bottom: 10px; font-weight: bold; }

/* Gallery */
.gallery-wrapper {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px;
}
.gallery-wrapper::-webkit-scrollbar { height: 8px; }
.gallery-wrapper::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 4px; }
.gallery-img {
  flex: 0 0 280px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}
.gallery-img:hover { transform: rotate(2deg) scale(1.05); }

/* Posts */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.post-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-radius: 15px;
  background: rgba(255,255,255,0.1);
  transition: background 0.3s;
}
.post-card:hover { background: rgba(255,255,255,0.2); }
.post-title { font-weight: bold; font-size: 1.1rem; }
.post-date { font-size: 0.9rem; opacity: 0.7; }

/* Friends */
.friend-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}
.friend-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 30px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  transition: 0.3s;
}
.friend-chip:hover { background: rgba(255,255,255,0.2); }
.friend-chip img { width: 24px; height: 24px; border-radius: 50%; }

/* Comments */
.comments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.comment-card {
  border-left: 4px solid rgba(255,255,255,0.5);
}
.comment-user { font-weight: bold; margin-bottom: 5px; }
.comment-text { font-style: italic; opacity: 0.9; }

/* Footer */
.footer {
  text-align: center;
  padding: 40px 0;
  opacity: 0.7;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
}
