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

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #0f0f1a;
  color: #eee;
  padding: 40px 20px;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

h1 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  text-align: center;
  color: #888;
  margin-bottom: 50px;
}

/* Section styling */
.section {
  margin-bottom: 60px;
}

.section-title {
  font-size: 24px;
  margin-bottom: 25px;
  padding-left: 15px;
  border-left: 4px solid #667eea;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

/* ===================================
           EFFECT 1: SCALE (GROW ON HOVER)
           =================================== */
.effect-scale {
  background: linear-gradient(135deg, #667eea, #764ba2);
  padding: 50px;
  border-radius: 16px;
  text-align: center;
  width: 220px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.effect-scale:hover {
  transform: scale(1.1);
}

/* ===================================
           EFFECT 2: ROTATE
           =================================== */
.effect-rotate {
  background: linear-gradient(135deg, #f093fb, #f5576c);
  padding: 50px;
  border-radius: 16px;
  text-align: center;
  width: 220px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.effect-rotate:hover {
  transform: rotate(10deg);
}

/* ===================================
           EFFECT 3: TRANSLATE (LIFT UP)
           =================================== */
.effect-lift {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  padding: 50px;
  border-radius: 16px;
  text-align: center;
  width: 220px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.effect-lift:hover {
  transform: translateY(-15px);
}

/* ===================================
           EFFECT 4: SKEW
           =================================== */
.effect-skew {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
  padding: 50px;
  border-radius: 16px;
  text-align: center;
  width: 220px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.effect-skew:hover {
  transform: skew(-5deg);
}

/* ===================================
           EFFECT 5: BOX-SHADOW (GLOW)
           =================================== */
.effect-glow {
  background: linear-gradient(135deg, #fa709a, #fee140);
  padding: 50px;
  border-radius: 16px;
  text-align: center;
  width: 220px;
  transition: box-shadow 0.3s ease;
  cursor: pointer;
}

.effect-glow:hover {
  box-shadow: 0 0 30px rgba(250, 112, 154, 0.6);
}

/* ===================================
           EFFECT 6: SCALE + SHADOW (CARD POP)
           =================================== */
.effect-card-pop {
  background: linear-gradient(135deg, #a18cd1, #fbc2eb);
  padding: 50px;
  border-radius: 16px;
  text-align: center;
  width: 220px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.effect-card-pop:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ===================================
           EFFECT 7: BACKGROUND CHANGE
           =================================== */
.effect-bg {
  background: #2c3e50;
  padding: 50px;
  border-radius: 16px;
  text-align: center;
  width: 220px;
  transition: background 0.3s ease;
  cursor: pointer;
}

.effect-bg:hover {
  background: #e74c3c;
}

/* ===================================
           EFFECT 8: BORDER RADIUS CHANGE
           =================================== */
.effect-radius {
  background: linear-gradient(135deg, #ff9a9e, #fecfef);
  padding: 50px;
  border-radius: 16px;
  text-align: center;
  width: 220px;
  transition: border-radius 0.3s ease;
  cursor: pointer;
  color: #333;
}

.effect-radius:hover {
  border-radius: 50px;
}

/* ===================================
           CARD EXAMPLES (Real use cases)
           =================================== */
.card-demo {
  background-color: #1a1a2e;
  border-radius: 16px;
  overflow: hidden;
  width: 280px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.card-demo:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-img {
  height: 160px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  margin-bottom: 10px;
}

.card-content p {
  color: #888;
  font-size: 14px;
}

/* Image zoom effect */
.img-zoom-container {
  width: 280px;
  overflow: hidden;
  border-radius: 16px;
}

.zoom-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  transition: transform 0.4s ease;
}

.img-zoom-container:hover .zoom-img {
  transform: scale(1.1);
}

/* Button hover effects */
.btn-demo {
  display: inline-block;
  padding: 12px 25px;
  background: #4a90e2;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-demo:hover {
  background: #357abd;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

/* Link hover effects */
.link-demo {
  color: #4a90e2;
  text-decoration: none;
  transition: all 0.3s ease;
}

.link-demo:hover {
  color: #e94560;
  padding-left: 5px;
}

/* Reference section */
.reference {
  background-color: #1a1a2e;
  border-radius: 16px;
  padding: 30px;
  margin-top: 60px;
}

.code {
  background-color: #0a0a1a;
  padding: 15px;
  border-radius: 8px;
  font-family: "Courier New", monospace;
  font-size: 13px;
  color: #82b1ff;
  overflow-x: auto;
}

footer {
  text-align: center;
  padding: 40px;
  color: #666;
}
