/* Critical dark theme styles */
:root {
  color-scheme: dark;
}

html {
  background-color: #0F172A;
}

body {
  background-color: #0F172A;
  color: #f3f4f6;
  min-height: 100vh;
}

article h1 {
  font-size: 2em;         /* 32px if base font is 16px */
  margin-top: 0.67em;
  margin-bottom: 0.67em;
  font-weight: bold;
}

article h2 {
  font-size: 1.5em;       /* 24px if base font is 16px */
  margin-top: 0.83em;
  margin-bottom: 0.83em;
  font-weight: bold;
}

article h3 {
  font-size: 1.17em;      /* 18.72px if base font is 16px */
  margin-top: 1em;
  margin-bottom: 1em;
  font-weight: bold;
}

article h4 {
  font-size: 1em;         /* 16px if base font is 16px */
  margin-top: 1.33em;
  margin-bottom: 1.33em;
  font-weight: bold;
}

article h5 {
  font-size: 0.83em;      /* 13.28px if base font is 16px */
  margin-top: 1.67em;
  margin-bottom: 1.67em;
  font-weight: bold;
}

/* Note: Tailwind's defaults don't perfectly match browser defaults */
/* You'd typically combine these with other utilities like font-bold, mb-4, etc. */

/* Smooth page load transition */
.hide-content {
  display: none;
}

.show-content {
  display: block;
  animation: fadeIn 0.2s ease-in forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.dropdown-submenu>a::after {
  content: '>';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.parent_child::after {
  content: '›';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6B7280;
}

.btn-game-action {
  @apply p-3 rounded-xl bg-[#2A364F] hover:bg-violet-600 transition-colors text-lg;
}

.btn-game-primary {
  @apply px-4 py-2 rounded-xl bg-violet-600 text-white hover:bg-violet-700 transition-colors flex items-center gap-2 text-sm font-medium;
}

.widget {
  margin-bottom: 22px;
}

.widget-title {
  font-weight: bold;
  margin-bottom: 12px;
  font-size: 20px;
}

.game-content {
  overflow: hidden;
}

.game-iframe-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 700px;
}

.game-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

/* Comments */

.comment-user-avatar {
  position: absolute;
  width: 50px;
  height: 50px;
}

.comment-user-avatar img {
  border-radius: 50%;
}

.comment-avatar {
  float: left;
  width: 50px;
  height: 50px;
}

.comment-avatar img {
  border-radius: 50%;
}

.comment-input {
  margin-left: 65px;
}

.comment-btn-post {
  text-align: right;
}

.comment-p {
  margin-top: 23px;
}

.comment-p .comment-date {
  float: right;
  color: #666;
  font-size: 0.8em;
}

.comment-username {
  font-weight: bold;
}

.comment-details {
  margin-left: 65px;
}

.comment-text {
  white-space: pre-line;
}

.color-red {
  color: #bb4d4d;
}

i.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* NEW COMMENT SYSTEM */

#tpl-comment-section {
  margin-top: 30px;
  margin-bottom: 20px;
}

#comment-form {
  display: flex;
  margin-bottom: 30px;
  border-bottom: 1px solid #414D7D;
}

.comment-profile-avatar {
  margin-right: 20px;
}

.comment-profile-avatar img {
  border-radius: 50%;
  float: left;
  width: 3.6rem;
  height: 3.6rem;
  max-width: 50px;
  max-height: 50px;
}

.comment-form-wrapper {
  background: #131d33;
  margin-bottom: 30px;
  box-shadow: 0px 4px 8px 0px rgba(50, 50, 50, 0.1);
  border: 1px solid #314166;
  border-radius: 12px;
  padding: 15px;
  width: 100%;
}

.comment-form-wrapper textarea {
  padding: 0;
  border: 0;
}

.post-comment-btn-wrapper {
  float: right;
  margin-top: 15px;
}

textarea#comment-input {
  height: 100px;
}

.user-comment-wrapper {
  display: flex;
}

.tpl-user-comment {
  border-bottom: 1px solid #414D7D;
  margin-bottom: 30px;
}

.tpl-comment-children .tpl-user-comment:last-child {
  border-bottom: none;
}

img.tpl-user-comment-avatar {
  border-radius: 50%;
  float: left;
  width: 3.6rem;
  height: 3.6rem;
  max-width: 50px;
  max-height: 50px;
  margin-right: 20px;
}

.tpl-comment-children img.tpl-user-comment-avatar {
  max-width: 40px;
  max-height: 40px;
}

.tpl-comment-author {
  font-weight: bold;
}

.tpl-user-comment .comment-content {
  margin-bottom: 20px;
  width: 100%;
}

.tpl-comment-timestamp {
  margin-top: 3px;
  font-size: 15px;
  color: #797979;
}

.tpl-comment-text {
  margin-top: 13px;
  white-space: unset;
}

.comment-actions {
  margin-top: 15px;
}

.comment-action-right {
  float: right;
}

.comment-action-left {
  float: left;
}

.tpl-comment-children {
  display: block;
  margin-left: 70px;
}

.tpl-reply-form {
  display: flex;
}

.comment-reply-wrapper {
  margin-left: 70px;
  background: #fff;
  margin-bottom: 30px;
  box-shadow: 0px 4px 8px 0px rgba(50, 50, 50, 0.1);
  border: 1px solid #414D7D;
  border-radius: 12px;
  padding: 15px;
  width: 100%;
}

.comment-reply-wrapper textarea {
  padding: 0;
  border: 0;
}

.reply-action-buttons {
  float: right;
  margin-top: 15px;
}

.tpl-btn-cancel-reply {
  color: #797979;
}

#tpl-btn-load-more-comments {
  color: #797979;
}

.comment-require-login-wrapper {
  display: flex;
  margin-bottom: 40px;
}

.comment-require-login-wrapper .comment-alert {
  padding: 10px;
  background-color: #EDEDED;
  text-align: center;
  width: 100%;
  border-radius: 8px;
}

/* END COMMENT */

/* USER */

/* Grid System */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
   .md\:inline-flex {
    display: inline-flex !important;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-md-4 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-md-8 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 768px) {
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
}

/* Forms */
.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-check {
  position: relative;
  display: block;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
}

.form-check-input {
  position: absolute;
  margin-top: 0.3rem;
  margin-left: -1.25rem;
}

.form-check-label {
  margin-bottom: 0;
}

/* User Profile Styles */
.user-page {
  padding: 2rem 0;
  padding-top: 100px;
}

.single-title {
  font-size: 23px;
  font-weight: bold;
  margin-bottom: 17px;
}

.section {
  background-color: #1E2A45;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1rem;
}

.profile-photo img {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  margin: 0 auto;
}

.profile-username {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin: 1rem 0;
}

.profile-join {
  color: #9CA3AF;
  margin-bottom: 0.5rem;
}

.profile-bio {
  font-style: italic;
  color: #9CA3AF;
}

.login-body {
  background-color: unset;
}

/* Game Lists */
.profile-gamelist-horizontal {
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
}

.profile-gamelist-horizontal ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.profile-game-item {
  flex: 0 0 auto;
  margin-right: 1rem;
}

.list-thumbnail img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary {
  color: #fff;
  background-color: #8B5CF6;
  border-color: #8B5CF6;
}

.btn-primary:hover {
  background-color: #7C3AED;
  border-color: #7C3AED;
}

.btn-danger {
  color: #fff;
  background-color: #EF4444;
  border-color: #EF4444;
}

.btn-danger:hover {
  background-color: #DC2626;
  border-color: #DC2626;
}

.btn-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  background-color: rgba(139, 92, 246, 0.2);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-left {
  left: 0;
}

.btn-right {
  right: 0;
}

/* Progress Bar */
.progress {
  display: flex;
  height: 1rem;
  overflow: hidden;
  font-size: .75rem;
  background-color: #2A364F;
  border-radius: 0.25rem;
}

.progress-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  background-color: #8B5CF6;
  transition: width .6s ease;
}

/* Comments */
.profile-comment-item {
  background-color: #2A364F;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.comment-text {
  color: white;
  margin-bottom: 0.5rem;
}

.comment-date {
  font-size: 0.875rem;
  color: #9CA3AF;
}

.delete-comment {
  color: #EF4444;
  cursor: pointer;
  margin-top: 0.5rem;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-secondary {
  color: #9CA3AF;
}

.text-danger {
  color: #EF4444;
}

.mb-3 {
  margin-bottom: 1rem;
}

/* Avatar Chooser */
.avatar-chooser {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.input-hidden {
  position: absolute;
  left: -9999px;
}

.input-hidden+label img {
  width: 100%;
  height: auto;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  cursor: pointer;
}

.input-hidden:checked+label img {
  border-color: #8B5CF6;
}

/* END USER */

/* Mobile Header Fixes */
@media (max-width: 768px) {
    #record-button,
    #recording-timer {
      display: none;
    }
    

  /* Fix logo and menu alignment */
  .mobile-logo-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  /* Search bar full width on mobile */
  .mobile-search {
    width: 100%;
    margin: 1rem 0;
  }

  .mobile-search input {
    width: 100%;
  }

  /* Mobile dropdown styles */
  .mobile-nav {
    padding: 1rem;
  }

  .mobile-nav ul {
    background: #1E293B;
    width: 100%;
  }

  .mobile-nav li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-nav li:last-child {
    border-bottom: none;
  }

  /* Fix submenu positioning */
  .mobile-nav .submenu {
    position: relative;
    padding-left: 1rem;
    margin-top: 0.5rem;
  }
  .game-iframe-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 80vh; /* 保留按钮空间 */
  }
.bottom-content-wrapper { 
    display: none ; 
  }
}

.login-body {
  color: #0f172a;
}
nav {
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
  will-change: transform; /* 添加硬件加速 */
}
nav.hide-header { /* 提高优先级 */
  transform: translate3d(0, -100%, 0) ; /* 使用3D加速 */
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.simulated-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: #000;
}

body.simulated-fullscreen {
    overflow: hidden ;
    position: fixed ;
    width: 100% ;
    height: 100% ;
}
@media (min-width: 768px) {
  .debug-md-show {
    display: inline-flex ;
    border: 2px solid red ;
  }
}   
.video-container {
  margin-bottom: 10px;  /* 根据需求调整数值 */
  /* 可选添加以下属性防止外边距合并 */
  display: flow-root;
  position: relative;
  width: 100%;
  padding-top: 75.43%; /* 16:9 比例计算公式 (9/16=0.5625) */
  background: #000; /* 添加黑色背景避免视频未加载时留白 */
  overflow: hidden;
}
.video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%); /* 居中定位 */
  object-fit: cover; /* 保持视频比例填充容器 */
}
.video-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 2;
    border-radius: 5px;
    font-size: 18px;
}

.video-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

#prevBtn {
    left: 10px;
}

#nextBtn {
    right: 10px;
}
empty-tip {
    display: none; /* 默认隐藏 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #666;
    font-size: 18px;
    z-index: 1;
}
.container1 {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  max-width: 1000px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 40px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.rect-box {
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 200px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.rect-box:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.rect-box h3 {
  margin-bottom: 0;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  z-index: 10;
  font-size: 26px;
  letter-spacing: 1px;
  position: relative;
}

 /* Kid游戏效果 */
        .kid-block {
            background: linear-gradient(135deg, 
                rgba(100, 170, 255, 0.5), 
                rgba(135, 206, 250, 0.4), 
                rgba(173, 216, 230, 0.3));
            border: 1px solid rgba(180, 230, 255, 0.35);
            position: relative;
            box-shadow: 
                inset 0 0 25px rgba(100, 170, 255, 0.4),
                0 8px 25px rgba(0, 0, 0, 0.3),
                0 0 15px rgba(100, 180, 255, 0.2);
        }
        
        .kid-icon {
            position: absolute;
            font-size: 70px;
            z-index: 2;
            opacity: 0;
            transform: scale(0.8) translateY(20px);
            transition: all 0.5s ease;
            text-shadow: 0 5px 15px rgba(0, 100, 255, 0.5);
        }
        
        /* 悬浮时显示kid图标 */
        .kid-block:hover .kid-icon {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
        
        /* 跳动动画 */
        .kid-block:hover .kid-icon {
            animation: bounce 1s infinite ease-in-out;
        }
        
        @keyframes bounce {
            0%, 100% { transform: translateY(0) scale(1); }
            50% { transform: translateY(-20px) scale(1.05); }
        }
        
        /* Car游戏效果 */
        .car-block {
            background: linear-gradient(135deg, 
                rgba(255, 50, 50, 0.8), 
                rgba(255, 140, 0, 0.7), 
                rgba(255, 215, 0, 0.6));
            border: 1px solid rgba(255, 165, 0, 0.5);
            position: relative;
            overflow: hidden;
        }
        
        /* 汽车元素 */
        .car-icon {
            position: absolute;
            font-size: 80px;
            opacity: 0;
            transform: scale(0.8);
            transition: all 0.5s ease;
            z-index: 2;
            filter: drop-shadow(0 5px 10px rgba(0,0,0,0.3));
        }
        
        /* 汽车车轮动画 */
        .wheel {
            position: absolute;
            width: 18px;
            height: 18px;
            background: #333;
            border-radius: 50%;
            opacity: 0;
        }
        
        /* 悬浮时显示汽车 */
        .car-block:hover .car-icon,
        .car-block:hover .wheel {
            opacity: 1;
            transform: scale(1);
        }
        
        /* 行驶动画 */
        .car-block:hover .car-icon {
            animation: drive 3s infinite linear;
        }
        
        @keyframes drive {
            0% { transform: translateX(-80px) scale(1); }
            50% { transform: translateX(80px) scale(1); }
            100% { transform: translateX(-80px) scale(1); }
        }
        
        /* 车轮旋转 */
        .car-block:hover .wheel {
            animation: spin 1s infinite linear;
        }
        
        @keyframes spin {
            100% { transform: rotate(360deg); }
        }
/* 街机效果 */
.arcade-block {
  background: linear-gradient(135deg, 
    rgba(50, 15, 100, 0.9), 
    rgba(80, 20, 120, 0.8), 
    rgba(30, 5, 70, 0.9));
  border: 2px solid #ff00ff;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 0 15px rgba(255, 0, 255, 0.6),
    inset 0 0 20px rgba(0, 0, 0, 0.7);
}

/* 老虎机 */
.slot-machine {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 80px;
  background: rgba(0, 0, 0, 0.8);
  border: 3px solid #ff00ff;
  border-radius: 10px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
  box-shadow: 
    inset 0 0 10px rgba(255, 0, 255, 0.7),
    0 0 15px rgba(0, 255, 255, 0.6);
}

.slot-reel {
  width: 50px;
  height: 60px;
  background: #222;
  border: 2px solid #00ffff;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  font-weight: bold;
  color: #ff00ff;
  overflow: hidden;
  position: relative;
}

.slot-reel span {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slotSpin 3s infinite linear;
}

.slot-reel span:nth-child(1) { top: -100%; }
.slot-reel span:nth-child(2) { top: 0; }
.slot-reel span:nth-child(3) { top: 100%; }

@keyframes slotSpin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-200%); }
}

/* 摇杆 */
.joystick {
  position: absolute;
  bottom: 20px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #444;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
  box-shadow: 
    inset 0 0 10px rgba(0,0,0,0.7),
    0 0 10px rgba(255,0,255,0.6);
}

.joystick-stick {
  width: 20px;
  height: 40px;
  background: #ff00ff;
  border-radius: 10px;
  position: relative;
  animation: joystickMove 2s infinite alternate;
}

@keyframes joystickMove {
  0% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(-10px) translateY(-10px); }
  50% { transform: translateX(0) translateY(0); }
  75% { transform: translateX(10px) translateY(10px); }
  100% { transform: translateX(0) translateY(0); }
}

/* 悬浮时显示老虎机和摇杆 */
.arcade-block:hover .slot-machine,
.arcade-block:hover .joystick {
  opacity: 1;
}

/* 三消游戏效果 */
.match3-block {
  background: linear-gradient(135deg, 
    rgba(255, 105, 180, 0.8), 
    rgba(147, 112, 219, 0.8), 
    rgba(30, 144, 255, 0.8));
  border: 2px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
  box-shadow: 
    inset 0 0 30px rgba(255, 255, 255, 0.4),
    0 0 20px rgba(255, 105, 180, 0.6),
    0 0 30px rgba(147, 112, 219, 0.5),
    0 0 40px rgba(30, 144, 255, 0.4);
}

/* 糖果元素 */
.candies {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.candy {
  font-size: 48px;
  margin: 0 10px;
  animation: candyFloat 3s infinite ease-in-out;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

.candy:nth-child(1) { animation-delay: 0s; }
.candy:nth-child(2) { animation-delay: 0.5s; }
.candy:nth-child(3) { animation-delay: 1s; }

/* 糖果浮动动画 */
@keyframes candyFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(10deg);
  }
}

/* 悬浮时显示糖果 */
.match3-block:hover .candies {
  opacity: 1;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 20px;
  }
  
  .rect-box {
    min-height: 160px;
  }
  
  .rect-box h3 {
    font-size: 22px;
  }
  
  .ice-cube {
    width: 60px;
    height: 60px;
    font-size: 30px;
  }
  
  .slot-machine {
    width: 160px;
    height: 60px;
  }
  
  .slot-reel {
    width: 40px;
    height: 50px;
    font-size: 24px;
  }
}