@import url('https://fonts.googleapis.com/css2?family=Tilt+Prism&display=swap');

body {
  margin: 0;
  padding: 0;
  background-color: #0d0d0d;
  color: #fff;
  height: 100vh;
}

/* Header */
header {
  width: 100%;
  padding: 20px;
  background-color: #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #333;
  position: fixed;
  top: 0;
  z-index: 10;
}

/* Yin Yang Styled Symbol */
.yin-yang-symbol {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(to bottom, #aaa 50%, #fff 50%);
  border: 2px solid #fff;
  cursor: pointer;
  position: relative;
}

.yin-yang-symbol::before,
.yin-yang-symbol::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
}

.yin-yang-symbol::before {
  top: 10%;
  background: #fff;
}

.yin-yang-symbol::after {
  bottom: 10%;
  background: #aaa;
}

/* Main Title */
.main-title {
  font-family: 'Tilt Prism', sans-serif;
  font-size: 54px; /* 3x bigger */
  text-align: center;
  flex: 1;
  color: #fff;
  pointer-events: none;
  transform: translateX(-20px); /* adjust for layout next to ☯ */
  line-height: 1;
}

/* Dropdown Menu */
.menu-toggle {
  position: relative;
  display: inline-block;
}

/* Yin-yang stays as-is, but keep this block if not already styled */
.yin-yang-symbol {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(to bottom, #aaa 50%, #fff 50%);
  border: 2px solid #fff;
  cursor: pointer;
  position: relative;
}

.yin-yang-symbol::before,
.yin-yang-symbol::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
}

.yin-yang-symbol::before {
  top: 10%;
  background: #fff;
}

.yin-yang-symbol::after {
  bottom: 10%;
  background: #aaa;
}

/* Read button styles */
.read-link {
  position: absolute;
  top: 50%;
  left: calc(100% + 8px);
  transform: translateY(-50%);
  display: none;
  background: #333;
  color: #fff;
  text-decoration: none;
  padding: 0.4em 0.6em;
  border-radius: 4px;
  font-size: 0.9em;
  z-index: 999;
}

.read-link.show {
  display: block;
}



/* Hidden dropdown */
.dropdown-hidden {
  transform: translateY(-100%);
}
/* Home Grid Section */
.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  padding: 120px 20px 40px; /* top padding accounts for fixed header */
  max-width: 800px;
  margin: auto;
}

.home-tile {
  background-color: #1a1a1a;
  color: #fff;
  font-family: 'Tilt Prism', sans-serif;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 40px 20px;
  border: 2px solid #333;
  transition: all 0.3s ease;
  text-align: center;
}

.home-tile:hover {
  background-color: #333;
  transform: scale(1.05);
  border-color: #fff;
  box-shadow: 0 0 12px #aaa;
}
.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 120px 20px 40px;
  max-width: 1000px;
  margin: auto;
}

.home-tile {
  position: relative;
  height: 200px;
  color: #fff;
  font-family: 'Tilt Prism', sans-serif;
  font-size: 24px;
  text-align: center;
  text-decoration: none;
  border: 2px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-tile::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.home-tile:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px #aaa;
  border-color: #fff;
}

.home-tile.recent {
  background-image: url('https://imgur.com/iEXTG3J.jpg');
}

.home-tile.read {
  background-image: url('https://i.imgur.com/wdVcnof.gif');
}

.home-tile.about {
  background-image: url('https://imgur.com/Fe4UuEg.jpg');
}

.home-tile.music {
  background-image: url('https://imgur.com/kBlCLLG.jpg');
}

@media (max-width: 600px) {
  .home-tile {
    height: 150px;
    font-size: 18px;
  }
}
.menu-toggle {
  position: relative;
  display: inline-block;
}

.yin-yang-toggle {
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  padding: 0.25em;
  line-height: 1;
}

.read-link {
  position: absolute;
  top: 50%;
  left: calc(100% + 8px);
  transform: translateY(-50%);
  display: none;
  background: #333;
  color: #fff;
  text-decoration: none;
  padding: 0.4em 0.6em;
  border-radius: 4px;
  font-size: 0.9em;
}

.read-link.show {
  display: block;
}


