body {
  background: linear-gradient(135deg, #f3e9dc 0%, #c9b29b 100%);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.album-container {
  background: #f8f5f0;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(120, 90, 60, 0.13);
  padding: 2rem 2.5rem 2.5rem 2.5rem;
  max-width: 900px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  border: 2px solid #e2c9a0;
}

h1 {
  font-family: 'Cooper Black', 'Arial Black', cursive, sans-serif;
  color: #a67c52;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  letter-spacing: 2px;
  text-shadow: 1px 2px 0 #f3e9dc;
}

.album {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

button {
  background: #e07a5f;
  border: none;
  color: #fffbe6;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(160, 82, 45, 0.12);
}
button:hover {
  background: #f7d488;
  color: #a0522d;
}

.photo-frame {
  background: #f3e9dc;
  border: 4px solid #b48a5a;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(180, 138, 90, 0.10);
  padding: 0.5rem;
  width: 480px;
  height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s;
  max-width: 90vw;
  max-height: 70vw;
  perspective: 1200px;
}

.photo-frame::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    #e2c9a0 0 6px,
    transparent 6px 18px
  );
  border-right: 2px dashed #b48a5a;
  z-index: 2;
  opacity: 0.4;
}

.photo-frame img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(120, 90, 60, 0.10);
  transition: transform 0.7s cubic-bezier(.68,-0.55,.27,1.55), box-shadow 0.4s;
  transform-origin: left center;
  background: #f8f5f0;
}

.album.turning-next .photo-frame img {
  transform: rotateY(-100deg) scale(0.97);
  box-shadow: -40px 0 40px -20px #b48a5a44;
}

.album.turning-prev .photo-frame img {
  transform: rotateY(100deg) scale(0.97);
  box-shadow: 40px 0 40px -20px #b48a5a44;
}

.caption {
  margin-top: 1rem;
  color: #a67c52;
  font-size: 1.1rem;
  min-height: 1.5em;
  font-style: italic;
  letter-spacing: 1px;
}

.slider {
  width: 100%;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.slider input[type="range"] { display: none !important; }

.photo-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 1.2rem;
  color: #b48a5a;
  text-shadow: 2px 2px 0 #f3e9dc, 0 2px 8px #a67c5233;
  letter-spacing: 2px;
  text-align: center;
}

.big-arrows {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 1.5rem;
}

.arrow-btn {
  background: #b48a5a;
  color: #fffbe6;
  font-size: 3rem;
  font-weight: bold;
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(120, 90, 60, 0.18);
  transition: background 0.2s, color 0.2s, transform 0.1s;
  outline: 3px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.arrow-btn:focus, .arrow-btn:hover {
  background: #e2c9a0;
  color: #a67c52;
  outline: 3px solid #a67c52;
  transform: scale(1.08);
}

@media (max-width: 600px) {
  .album-container {
    padding: 1rem 0.5rem 1.5rem 0.5rem;
    max-width: 100vw;
  }
  .photo-frame {
    width: 98vw;
    height: 60vw;
    max-width: 98vw;
    max-height: 70vw;
  }
  h1 {
    font-size: 1.2rem;
  }
  .caption {
    font-size: 1rem;
  }
  .slider {
    gap: 0.5rem;
  }
  input[type="range"] {
    width: 80%;
  }
  .photo-title {
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
  }
  .big-arrows {
    gap: 1.2rem;
    margin-top: 0.7rem;
  }
  .arrow-btn {
    font-size: 2rem;
    width: 54px;
    height: 54px;
  }
} 