@property --gradient-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 45deg;
}
:root {
  --gradient-angle: 45deg;
  --color1-sdr: #499ffc;
  --color2-sdr: #b7d4f9;
  --color3-sdr: #83bda7;
  --headline-color: #1138D1;
  --text-color: #2b2b2b;
  --white: #ffffff;
  --headline-font: 'Rubik', sans-serif;
  --body-font: 'Rubik', sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@keyframes gradientAngleShift {
  0%, 100% {
    --gradient-angle: 45deg;
  }
  50% {
    --gradient-angle: 165deg;
  }
}
@keyframes fadeInGradient {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: linear-gradient(
    var(--gradient-angle),
    var(--color1-sdr) 0%, 22%,
    var(--color2-sdr) 52% 35%, 77%,
    var(--color3-sdr) 93%
  );
  opacity: 0;
  animation: fadeInGradient 2s ease-out 0.5s forwards, gradientAngleShift 36s ease-in-out 2.5s infinite;
}
@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: fadeInGradient 0.5s ease-out forwards;
    opacity: 1;
  }
}
body {
  font-family: var(--body-font);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-color);
  background: white;
  min-height: 100vh;
  position: relative;
  transition: background 0.1s ease;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
header {
  padding: 40px 0;
  text-align: center;
}
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  padding: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
h1 {
  font-family: var(--headline-font);
  font-weight: 600;
  font-style: italic;
  font-size: 48px;
  color: var(--headline-color);
  margin: 0;
}
.two-column-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px 20px;
  margin-bottom: 20px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.step-section {
  padding: 80px 0;
  margin-bottom: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
#step-2 {
  padding: 50px 0;
  margin-bottom: 0;
}
.interactive-section {
  padding: 40px 0;
  margin-bottom: 20px;
  border-radius: 20px;
  margin: 0 20px 100px;
  text-align: center;
  position: relative;
}
.step-section:nth-child(even) {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  margin: 0 20px 40px;
  padding: 30px 0;
}
.two-column-section .step-section {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  margin: 0 10px 20px;
  padding: 50px 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.two-column-section .step-section .container {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}
.two-column-section .step-section .content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.grid-container::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  z-index: 1;
}
.grid-container::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 120px;
  background: var(--headline-color);
  z-index: -1;
}
.interactive-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 48px;
  background: var(--headline-color);
  border-radius: 30px;
  z-index: 3;
}
.two-column-section .step-section ol {
  margin-left: 20px;
  margin-right: 20px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
.two-column-section .step-section li {
  margin-bottom: 8px;
  line-height: 1.5;
}
.step-number {
  font-family: var(--headline-font);
  font-weight: 600;
  font-size: 72px;
  color: var(--headline-color);
  opacity: 0.3;
  margin-bottom: 40px;
  line-height: 40px;
}
h2 {
  font-family: var(--headline-font);
  font-weight: 600;
  font-style: italic;
  font-size: 48px;
  color: var(--headline-color);
  margin-bottom: 40px;
  line-height: 8px;
}
h3 {
  font-family: var(--headline-font);
  font-weight: 600;
  font-size: 28px;
  color: var(--headline-color);
  margin-bottom: 20px;
}
p {
  margin-bottom: 20px;
  max-width: 800px;
}
.interactive-section p {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: var(--headline-color);
  margin: 30px auto;
  max-width: none;
  width: 100%;
}
.content {
  max-width: 900px;
}
.controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 30px auto;
  padding: 20px 32px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 80px;
  backdrop-filter: blur(5px);
  width: fit-content;
}
.controls label {
  font-weight: 600;
  color: var(--headline-color);
}
#column-selector {
  width: 200px;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  outline: none;
  border-radius: 3px;
  cursor: pointer;
}
#column-selector::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--headline-color);
  border-radius: 50%;
  cursor: pointer;
}
#column-selector::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--headline-color);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
#column-count {
  font-weight: 600;
  font-size: 24px;
  color: var(--headline-color);
  min-width: 30px;
}
.grid-container {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 60vh;
  position: relative;
}
.world-grid {
  border: 4px solid var(--headline-color);
  border-radius: 20px;
  padding: 30px;
  background: #F6F6FA;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: auto;
  box-shadow: 0 8px 32px rgba(17, 56, 209, 0.15);
  width: fit-content;
  margin: 0;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.world-icons-container.sorting-animation {
  pointer-events: none;
}
.world-icons-container.sorting-animation .world-icon {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.grid-header {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}
.grid-title {
  font-family: var(--headline-font);
  font-weight: 600;
  font-size: 18px;
  color: #6f839e;
  margin: 0;
  padding: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.world-icons-container {
  display: grid;
  grid-template-columns: repeat(7, 150px);
  gap: 15px;
  justify-content: center;
  align-content: start;
  position: relative;
  overflow: visible;
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
  padding: 0 0 16px 0;
}
.world-icon {
  width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: grab;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.world-icons-container:not(.drag-in-progress) .world-icon:hover:not(.sortable-chosen):not(.sortable-drag) {
  transform: translateY(-5px);
}
.world-icon:active {
  cursor: grabbing;
}
.world-thumbnail {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  padding: 3px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.world-icons-container:not(.drag-in-progress) .world-icon:hover:not(.sortable-chosen):not(.sortable-drag) .world-thumbnail {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.world-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.world-caption {
  font-family: var(--body-font);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-color);
  text-align: center;
  line-height: 1.2;
  max-width: 140px;
  word-wrap: break-word;
}
.download-button {
  background: var(--headline-color);
  color: var(--white);
  border: none;
  padding: 20px 40px;
  font-family: var(--headline-font);
  font-size: 21px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 30px 0;
  box-shadow: 0 6px 20px rgba(17, 56, 209, 0.3);
}
.download-button:hover {
  background: #0d2ba3;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(17, 56, 209, 0.4);
}
.download-button:active {
  transform: translateY(0);
}
.installation-guide {
  margin-top: 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  backdrop-filter: blur(10px);
}
.installation-guide ol {
  margin-left: 20px;
  margin-bottom: 20px;
}
.installation-guide li {
  margin-bottom: 10px;
}
.installation-guide ul {
  margin: 10px 0 10px 20px;
}
.installation-guide .note {
  font-size: 16px;
  font-style: italic;
  color: var(--headline-color);
  margin-top: 20px;
}
.accordion {
  background-color: #f7f7f7;
  color: #1138D1;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  font-family: 'Rubik', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-top: 10px;
  border-radius: 8px;
}
.accordion:hover {
  background-color: #e8e8e8;
}
.accordion.active {
  background-color: #e0e0e0;
  border-radius: 8px 8px 0 0;
}
.accordion:after {
  content: '\002B';  
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}
.accordion.active:after {
  content: "\2212";  
}
.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  border-radius: 0 0 8px 8px;
  margin-bottom: 10px;
}
.panel p {
  padding: 18px 0;
  margin: 0;
}
.panel ul {
  padding: 0 0 18px 20px;
  margin: 0;
}
.panel p + ul {
  padding-top: 0;
}
.info-section {
  padding: 2rem 0;
}
footer {
  text-align: center;
  padding: 40px 0;
  color: var(--text-color);
  font-size: 16px;
}
.sortable-ghost {
  opacity: 0;
}
.sortable-chosen {
  cursor: grabbing !important;
}
.sortable-drag {
  width: 120px !important;
  height: 120px !important;
  overflow: hidden !important;
  opacity: 0.9 !important;
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
  z-index: 1000;
  padding: 0 !important;
  margin: 0 !important;
}
.sortable-drag > * {
  display: none !important;
}
.sortable-drag .world-thumbnail {
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 120px !important;
  height: 120px !important;
}
.dragging-active {
  transform: scale(1.1) !important;
  transition: transform 0.2s ease !important;
}
.drag-in-progress .world-icon:not(.sortable-chosen):not(.sortable-drag) {
  opacity: 1;
  transition: opacity 0.3s ease;
}
.drag-in-progress .world-icon:not(.sortable-chosen):not(.sortable-drag):hover {
  transform: none !important;
}
@media (hover: none) and (pointer: coarse) {
  .world-icon {
    min-height: 44px; 
    padding: 10px;
    margin: 5px;
  }
  .world-thumbnail {
    touch-action: manipulation;
  }
}
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--headline-color);
  color: white;
  padding: 15px 20px;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  max-width: 300px;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
}
.notification.show {
  opacity: 1;
  transform: translateX(0);
}
.preset-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 20px 0;
}
.preset-button {
  background: var(--headline-color);
  color: var(--white);
  border: none;
  padding: 15px 30px;
  font-family: var(--headline-font);
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(17, 56, 209, 0.2);
}
.preset-button:hover {
  background: #0d2ba3;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 56, 209, 0.3);
}
.preset-button:active {
  transform: translateY(0);
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}
.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border-radius: 15px;
  width: 90%;
  max-width: 800px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
}
.modal-header {
  padding: 20px 30px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h2 {
  margin: 0;
  color: var(--headline-color);
  font-size: 24px;
}
.modal-close {
  color: #aaa;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  line-height: 20px;
  transition: color 0.3s ease;
}
.modal-close:hover,
.modal-close:focus {
  color: #000;
}
.modal-body {
  padding: 30px;
  text-align: center;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preset-preview-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.preset-preview-image:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.modal-body {
  position: relative;
}
.zoom-hint {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 12px;
  pointer-events: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.modal-body:hover .zoom-hint {
  opacity: 1;
}
.modal-footer {
  padding: 20px 30px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  gap: 15px;
  justify-content: center;
}
.modal-button {
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body-font);
}
.modal-apply {
  background: var(--headline-color);
  color: white;
  box-shadow: 0 4px 15px rgba(17, 56, 209, 0.2);
}
.modal-apply:hover {
  background: #0d2ba3;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 56, 209, 0.3);
}
.modal-cancel {
  background: #e0e0e0;
  color: #333;
}
.modal-cancel:hover {
  background: #d0d0d0;
  transform: translateY(-2px);
}
.button-icon {
  font-size: 18px;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (max-width: 1200px) {
  .two-column-section {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }
  .step-section {
    padding: 20px 0;
  }
  .two-column-section .step-section {
    margin: 0 5px 15px;
    padding: 25px 0;
  }
  .two-column-section .step-section ol {
    margin-left: 15px;
    margin-right: 15px;
  }
  .world-icons-container {
    grid-template-columns: repeat(7, 100px);
    gap: 12px;
  }
  .world-icon {
    width: 100px;
  }
  .world-thumbnail {
    width: 80px;
    height: 80px;
  }
  h1 {
    font-size: clamp(28px, 5vw, 36px);
  }
  h2 {
    font-size: clamp(28px, 5vw, 36px);
  }
  .grid-container::before {
    width: 120px;
    height: 80px;
    bottom: -65px;
  }
  .interactive-section::after {
    width: 320px;
    height: 32px;
    bottom: -60px;
    border-radius: 20px;
  }
}
@media (max-width: 900px) {
  .world-grid {
    padding: clamp(15px, 3vw, 25px);
    border-radius: 15px;
  }
  body {
    font-size: clamp(16px, 2.5vw, 18px);
  }
  .logo-container {
    flex-direction: column;
    gap: 15px;
  }
  .grid-title {
    font-size: clamp(14px, 2vw, 16px);
  }
  .step-section:nth-child(even) {
    margin: 0 10px 40px;
  }
  .interactive-section {
    margin: 0 10px 40px;
  }
  .grid-container {
    margin: 0;
    min-height: 50vh;
  }
  .world-icons-container {
    grid-template-columns: repeat(7, 70px);
    gap: 8px;
  }
  .world-icon {
    width: 70px;
  }
  .world-thumbnail {
    width: 56px;
    height: 56px;
  }
  .grid-container::before {
    width: 90px;
    height: 60px;
    bottom: -50px;
  }
  .interactive-section::after {
    width: 240px;
    height: 24px;
    bottom: -30px;
    border-radius: 15px;
  }
}
@media (max-width: 1110px) and (min-width: 1025px) {
  .world-icons-container {
    grid-template-columns: repeat(7, 100px) !important;
    gap: 10px !important;
  }
  .unowned-dropzone {
    grid-template-columns: repeat(7, 100px) !important;
    gap: 10px !important;
  }
  .world-icon {
    width: 100px;
  }
  .world-thumbnail {
    width: 80px;
    height: 80px;
  }
}
@media (max-width: 1024px) and (min-width: 601px) {
  .world-icons-container {
    grid-template-columns: repeat(7, 80px) !important;
    gap: 8px !important;
  }
  .unowned-dropzone {
    grid-template-columns: repeat(7, 80px) !important;
    gap: 8px !important;
  }
  .world-icon {
    width: 80px;
  }
  .world-thumbnail {
    width: 64px;
    height: 64px;
  }
}
@media (max-width: 600px) {
  .world-grid {
    padding: clamp(10px, 2vw, 20px);
    border-radius: 12px;
    border-width: 3px;
  }
  .world-icons-container {
    grid-template-columns: repeat(7, 40px) !important;
    gap: 4px !important;
  }
  .step-number {
    font-size: clamp(32px, 8vw, 48px);
  }
  .controls {
    gap: 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  #column-selector {
    width: 200px;
  }
  .grid-container {
    margin: 0;
    min-height: 45vh;
  }
  .world-icons-container {
    grid-template-columns: repeat(7, 40px);
    gap: 4px;
  }
  .world-icon {
    width: 40px;
  }
  .world-thumbnail {
    width: 32px;
    height: 32px;
  }
  .world-caption {
    font-size: clamp(8px, 1.5vw, 10px);
    max-width: 100%;
  }
  .grid-container::before {
    width: 60px;
    height: 40px;
    bottom: -35px;
  }
  .modal-content {
    width: 95%;
    margin: 20px;
  }
  .modal-header {
    padding: 15px 20px;
  }
  .modal-body {
    padding: 20px;
    min-height: 150px;
  }
  .modal-footer {
    padding: 15px 20px;
    flex-direction: column;
  }
  .modal-button {
    width: 100%;
    justify-content: center;
  }
  .preset-buttons {
    flex-direction: column;
    align-items: center;
  }
  .preset-button {
    width: 200px;
  }
  .interactive-section::after {
    width: 160px;
    height: 18px;
    bottom: -10px;
    border-radius: 12px;
  }
}
@media (max-width: 380px) {
  .world-icons-container {
    grid-template-columns: repeat(7, 40px);
    gap: 4px;
  }
  .world-icon {
    width: 40px;
  }
  .world-thumbnail {
    width: 32px;
    height: 32px;
  }
  .world-caption {
    font-size: clamp(7px, 1.2vw, 9px);
  }
  .grid-container::before {
    width: 48px;
    height: 32px;
    bottom: -30px;
  }
  .interactive-section::after {
    width: 120px;
    height: 15px;
    bottom: 0px;
    border-radius: 10px;
  }
}
.unowned-divider {
  width: 100%;
  border-top: 2px dashed #b7c1d1;
  margin: 20px 0;
}
.unowned-dropzone {
  display: grid;
  grid-template-columns: repeat(7, 150px);
  gap: 12px;
  justify-content: center;
  align-content: start;
  padding: 16px 0 0;
  min-height: 140px;
}
.unowned-dropzone.empty {
  place-content: center;
  min-height: 140px;
}
.unowned-hint {
  color: #6f839e;
  font-weight: 600;
  opacity: 0.8;
}
.unowned-dropzone .world-icon {
  opacity: 0.6;
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.unowned-dropzone .world-thumbnail img {
  filter: grayscale(100%);
}
.unowned-dropzone .world-caption {
  color: #9aa3ad;
}
@media (max-width: 1200px) {
  .unowned-dropzone {
    grid-template-columns: repeat(7, 100px) !important;
    gap: 12px !important;
    min-height: 120px !important;
  }
}
@media (max-width: 900px) {
  .unowned-dropzone {
    grid-template-columns: repeat(7, 70px) !important;
    gap: 8px !important;
    min-height: 100px !important;
  }
}
@media (max-width: 600px) {
  .unowned-dropzone {
    grid-template-columns: repeat(7, 40px) !important;
    gap: 4px !important;
    min-height: 90px !important;
  }
}
@media (max-width: 380px) {
  .unowned-dropzone {
    grid-template-columns: repeat(7, 40px) !important;
    gap: 4px !important;
    min-height: 80px !important;
  }
}