:root {
  --primary-color: #0066cc;
  --secondary-color: #ddd;
  --text-color: white;
  --background-color: #1a1a2e;
  --card-bg: rgba(42, 42, 74, 0.85);
  --accent-color: #8a2be2;
  --footer-bg: #16213e;
}

* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0 auto;
  text-align: center;
  max-width: 1200px;
  line-height: 1.6;
  background-image: url('./image/background.png');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 0 15px;
  background-color: var(--background-color);
}

.container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}

.content-block {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  margin: 15px 0;
  border: 1px solid rgba(138, 43, 226, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.split-container {
  display: flex;
  align-items: center;
  gap: 30px;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  margin: 15px 0;
  border: 1px solid rgba(138, 43, 226, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.split-text {
  flex: 1;
  text-align: left;
}

.split-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.split-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(138, 43, 226, 0.3);
}

h1, h2 {
  color: var(--text-color);
  margin: 20px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

h1 {
  font-size: clamp(28px, 5vw, 42px);
  background: linear-gradient(135deg, #a8c0ff 0%, #c2e9fb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(22px, 4vw, 32px);
  color: #a78bfa;
}

p, p1 {
  font-size: clamp(16px, 2.5vw, 24px);
  color: var(--text-color);
  margin: 15px 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

p2 {
  font-size: clamp(14px, 2vw, 18px);
  color: #e2e8f0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

a {
  color: #93c5fd;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #bfdbfe;
  text-decoration: underline;
}

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  flex-wrap: wrap;
  width: 100%;
}

button {
  padding: 10px 20px;
  margin: 0;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  min-height: 44px;
  min-width: 140px;
  width: auto;
  flex-shrink: 0;
  font-weight: bold;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
}

.btn-secondary {
  background: var(--secondary-color);
  color: #333;
}

.btn-secondary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(221, 221, 221, 0.4);
}

.details-content {
  display: none;
  padding: 15px;
  border: 1px solid rgba(138, 43, 226, 0.3);
  margin-top: 5px;
  background: rgba(30, 30, 60, 0.9);
  border-radius: 0 0 8px 8px;
  text-align: left;
  backdrop-filter: blur(5px);
}

.details-title {
  cursor: pointer;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 15px 20px;
  border: none;
  border-radius: 8px;
  font-size: clamp(14px, 2vw, 16px);
  width: 100%;
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
  color: white;
  min-height: 50px;
  display: flex;
  align-items: center;
  font-weight: bold;
}

.details-title:after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
}

.details-title.active:after {
  content: '-';
}

.details-title:hover,
.details-title.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transform: translateY(-2px);
}

div {
  margin-top: 10px;
}

ol, ul {
  color: white;
  text-align: left;
  padding-left: 20px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

ol li, ul li {
  margin-bottom: 8px;
  font-size: clamp(14px, 2vw, 18px);
  padding: 5px 0;
}

footer {
  background-color: var(--footer-bg);
  color: white;
  padding: 40px 0 30px;
  margin-top: 80px;
  font-family: Arial, sans-serif;
  border-top: 3px solid rgba(138, 43, 226, 0.3);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 20px;
  gap: 30px;
}

.footer-column {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}

.footer-spacer {
  height: 80px;
  background: transparent;
}

.footer-column h3 {
  font-size: clamp(16px, 2.5vw, 18px);
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(138, 43, 226, 0.5);
  padding-bottom: 8px;
  color: #a78bfa;
}

.footer-column a {
  color: #cbd5e1;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s;
  font-size: clamp(14px, 2vw, 16px);
}

.footer-column a:hover {
  color: white;
  text-decoration: underline;
}

.copyright-section {
  width: 100%;
  text-align: center;
  margin-top: 40px;
  padding-top: 80px;
  position: relative;
  border-top: 1px solid rgba(138, 43, 226, 0.3);
}

.footer-logo {
  margin-right: auto;
  margin-left: 50%;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: center;
}

.footer-logo img {
  width: clamp(55px, 10vw, 75px);
  height: clamp(55px, 10vw, 75px);
  border-radius: 50%;
  object-fit: cover;
  background: var(--footer-bg);
  padding: 3px;
  border: 3px solid rgba(138, 43, 226, 0.5);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.copyright-text {
  color: #94a3b8;
  font-size: clamp(12px, 2vw, 14px);
  display: block;
  margin-top: 20px;
}

@media (max-width: 1024px) {
  body {
    max-width: 100%;
    padding: 0 20px;
  }
  
  .footer-container {
    justify-content: center;
  }
  
  .footer-column {
    min-width: 200px;
    flex: 0 1 calc(50% - 30px);
  }
}

@media (max-width: 768px) {
  body {
    padding: 0 15px;
  }
  
  .content-block {
    padding: 20px;
    margin: 10px 0;
  }
  
  .split-container {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }
  
  .split-text {
    text-align: center;
  }
  
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-column {
    min-width: 100%;
    flex: 1 1 100%;
  }
  
  .details-title {
    padding: 12px 15px;
    font-size: 16px;
  }
  
  .button-container {
    flex-direction: row;
    gap: 8px;
  }
  
  button {
    width: auto;
    margin: 0;
    min-width: 140px;
  }
  
  .footer-logo {
    top: -90px;
  }
  
  .footer-logo img {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 0 10px;
  }
  
  h1 {
    font-size: 24px;
  }
  
  h2 {
    font-size: 20px;
  }
  
  p, p1 {
    font-size: 16px;
  }
  
  .content-block {
    padding: 15px;
  }
  
  .split-container {
    padding: 15px;
  }
  
  .button-container {
    flex-direction: column;
    gap: 10px;
  }
  
  button {
    width: 200px;
  }
  
  .footer-column h3 {
    font-size: 16px;
  }
  
  .footer-column a {
    font-size: 14px;
  }
  
  .copyright-text {
    font-size: 12px;
  }
}

@media (min-width: 1200px) {
  body {
    max-width: 1400px;
  }
  
  .footer-container {
    max-width: 1400px;
  }
  
  .container {
    gap: 30px;
  }
}