@font-face {
  font-family: "EternalsFont";
  src: url("../Fonts/Centauri/Centauri.otf") format("truetype");
}
@font-face {
  font-family: "Centauri";
  src: url("../Fonts/elements-eternals-futuristic-space-display-typeface-GK6TQUD-2019-09-23/Eternal.ttf")
    format("truetype");
}
@font-face {
  font-family: "MBF";
  src: url("../Fonts/font/MBFSpace.ttf") format("truetype");
}

body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  background: url("../Images\ &\ Videos/Awards.png") no-repeat center center
    fixed;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "EternalsFont", sans-serif;
  z-index: 1;
  overflow: hidden;
}

.menu-bar {
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.menu-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  padding-right: 50px;
  padding-top: 0px;
}

.menu-list li {
  margin: 0 30px;
}

.menu-button {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  padding: 10px;
  transition: color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.menu-button a {
  color: #fff;
  text-decoration: none;
  position: relative;
  z-index: 1;
  font-family: "MBF";
  font-size: 23px;
}

.menu-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: all 0.5s ease;
  z-index: 0;
}

.menu-button:hover::before {
  left: 100%;
}

.menu-button:hover {
  color: #f0f0f0;
  box-shadow: 0 0 10px rgba(212, 0, 255, 0.7), 0 0 20px rgba(25, 0, 255, 0.5),
    0 0 40px rgba(0, 255, 255, 0.4);
}

.menu-button a:hover {
  color: #6f00ff;
}

.container {
  display: flex;
  position: relative;
  width: 350px;
  height: 350px;
  transition: 200ms;
}

.container:active {
  width: 180px;
  height: 245px;
}

#card {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  border-radius: 20px;
  transition: 700ms;
  background: linear-gradient(45deg, #1a1a1a, #262626);
  border: 2px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.card-content {
  position: relative;
  width: 100%;
  height: 100%;
}

#prompt {
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  transition: 300ms ease-in-out;
  position: absolute;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.title {
  opacity: 0;
  transition: 300ms ease-in-out;
  position: absolute;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 4px;
  text-align: center;
  width: 100%;
  padding-top: 20px;
  background: linear-gradient(45deg, #00ffaa, #00a2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(0, 255, 170, 0.3));
  text-shadow: 0 0 10px rgba(92, 103, 255, 0.5),
    0 0 20px rgba(92, 103, 255, 0.3);
}
#prompt1 {
  font-family: "Centauri";
  font-size: 20px;
  align-self: left;
}
.subtitle {
  position: absolute;
  bottom: 40px;
  width: 100%;
  text-align: center;
  font-size: 12px;
  letter-spacing: 2px;
  transform: translateY(30px);
  color: rgba(255, 255, 255, 0.6);
}

.highlight {
  color: #00ffaa;
  margin-left: 5px;
  background: linear-gradient(90deg, #5c67ff, #ad51ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

.glowing-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.glow-1,
.glow-2,
.glow-3 {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(0, 255, 170, 0.3) 0%,
    rgba(0, 255, 170, 0) 70%
  );
  filter: blur(15px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glow-1 {
  top: -20px;
  left: -20px;
}
.glow-2 {
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
}
.glow-3 {
  bottom: -20px;
  left: 30%;
}

.card-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #00ffaa;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tracker:hover ~ #card .title {
  opacity: 1;
  transform: translateY(-10px);
}

.tracker:hover ~ #card .glowing-elements div {
  opacity: 1;
}

.tracker:hover ~ #card .card-particles span {
  animation: particleFloat 2s infinite;
}

@keyframes particleFloat {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(calc(var(--x, 0) * 30px), calc(var(--y, 0) * 30px));
    opacity: 0;
  }
}

.card-particles span:nth-child(1) {
  --x: 1;
  --y: -1;
  top: 40%;
  left: 20%;
}
.card-particles span:nth-child(2) {
  --x: -1;
  --y: -1;
  top: 60%;
  right: 20%;
}
.card-particles span:nth-child(3) {
  --x: 0.5;
  --y: 1;
  top: 20%;
  left: 40%;
}
.card-particles span:nth-child(4) {
  --x: -0.5;
  --y: 1;
  top: 80%;
  right: 40%;
}
.card-particles span:nth-child(5) {
  --x: 1;
  --y: 0.5;
  top: 30%;
  left: 60%;
}
.card-particles span:nth-child(6) {
  --x: -1;
  --y: 0.5;
  top: 70%;
  right: 60%;
}

#card::before {
  content: "";
  background: radial-gradient(
    circle at center,
    rgba(0, 255, 170, 0.1) 0%,
    rgba(0, 162, 255, 0.05) 50%,
    transparent 100%
  );
  filter: blur(20px);
  opacity: 0;
  width: 150%;
  height: 150%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.tracker:hover ~ #card::before {
  opacity: 1;
}

.tracker {
  position: absolute;
  z-index: 200;
  width: 100%;
  height: 100%;
}

.tracker:hover {
  cursor: pointer;
}

.tracker:hover ~ #card #prompt {
  opacity: 0;
}

.tracker:hover ~ #card {
  transition: 300ms;
  filter: brightness(1.1);
}

.container:hover #card::before {
  transition: 200ms;
  content: "";
  opacity: 80%;
}

.canvas {
  perspective: 800px;
  inset: 0;
  z-index: 200;
  position: absolute;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
  gap: 0px 0px;
  grid-template-areas:
    "tr-1 tr-2 tr-3 tr-4 tr-5"
    "tr-6 tr-7 tr-8 tr-9 tr-10"
    "tr-11 tr-12 tr-13 tr-14 tr-15"
    "tr-16 tr-17 tr-18 tr-19 tr-20"
    "tr-21 tr-22 tr-23 tr-24 tr-25";
}

.tr-1 {
  grid-area: tr-1;
}

.tr-2 {
  grid-area: tr-2;
}

.tr-3 {
  grid-area: tr-3;
}

.tr-4 {
  grid-area: tr-4;
}

.tr-5 {
  grid-area: tr-5;
}

.tr-6 {
  grid-area: tr-6;
}

.tr-7 {
  grid-area: tr-7;
}

.tr-8 {
  grid-area: tr-8;
}

.tr-9 {
  grid-area: tr-9;
}

.tr-10 {
  grid-area: tr-10;
}

.tr-11 {
  grid-area: tr-11;
}

.tr-12 {
  grid-area: tr-12;
}

.tr-13 {
  grid-area: tr-13;
}

.tr-14 {
  grid-area: tr-14;
}

.tr-15 {
  grid-area: tr-15;
}

.tr-16 {
  grid-area: tr-16;
}

.tr-17 {
  grid-area: tr-17;
}

.tr-18 {
  grid-area: tr-18;
}

.tr-19 {
  grid-area: tr-19;
}

.tr-20 {
  grid-area: tr-20;
}

.tr-21 {
  grid-area: tr-21;
}

.tr-22 {
  grid-area: tr-22;
}

.tr-23 {
  grid-area: tr-23;
}

.tr-24 {
  grid-area: tr-24;
}

.tr-25 {
  grid-area: tr-25;
}

.tr-1:hover ~ #card {
  transition: 125ms ease-in-out;
  transform: rotateX(20deg) rotateY(-10deg) rotateZ(0deg);
}

.tr-2:hover ~ #card {
  transition: 125ms ease-in-out;
  transform: rotateX(20deg) rotateY(-5deg) rotateZ(0deg);
}

.tr-3:hover ~ #card {
  transition: 125ms ease-in-out;
  transform: rotateX(20deg) rotateY(0deg) rotateZ(0deg);
}

.tr-4:hover ~ #card {
  transition: 125ms ease-in-out;
  transform: rotateX(20deg) rotateY(5deg) rotateZ(0deg);
}

.tr-5:hover ~ #card {
  transition: 125ms ease-in-out;
  transform: rotateX(20deg) rotateY(10deg) rotateZ(0deg);
}

.tr-6:hover ~ #card {
  transition: 125ms ease-in-out;
  transform: rotateX(10deg) rotateY(-10deg) rotateZ(0deg);
}

.tr-7:hover ~ #card {
  transition: 125ms ease-in-out;
  transform: rotateX(10deg) rotateY(-5deg) rotateZ(0deg);
}

.tr-8:hover ~ #card {
  transition: 125ms ease-in-out;
  transform: rotateX(10deg) rotateY(0deg) rotateZ(0deg);
}

.tr-9:hover ~ #card {
  transition: 125ms ease-in-out;
  transform: rotateX(10deg) rotateY(5deg) rotateZ(0deg);
}

.tr-10:hover ~ #card {
  transition: 125ms ease-in-out;
  transform: rotateX(10deg) rotateY(10deg) rotateZ(0deg);
}

.tr-11:hover ~ #card {
  transition: 125ms ease-in-out;
  transform: rotateX(0deg) rotateY(-10deg) rotateZ(0deg);
}

.tr-12:hover ~ #card {
  transition: 125ms ease-in-out;
  transform: rotateX(0deg) rotateY(-5deg) rotateZ(0deg);
}

.tr-13:hover ~ #card {
  transition: 125ms ease-in-out;
  transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
}

.tr-14:hover ~ #card {
  transition: 125ms ease-in-out;
  transform: rotateX(0deg) rotateY(5deg) rotateZ(0deg);
}

.tr-15:hover ~ #card {
  transition: 125ms ease-in-out;
  transform: rotateX(0deg) rotateY(10deg) rotateZ(0deg);
}

.tr-16:hover ~ #card {
  transition: 125ms ease-in-out;
  transform: rotateX(-10deg) rotateY(-10deg) rotateZ(0deg);
}

.tr-17:hover ~ #card {
  transition: 125ms ease-in-out;
  transform: rotateX(-10deg) rotateY(-5deg) rotateZ(0deg);
}

.tr-18:hover ~ #card {
  transition: 125ms ease-in-out;
  transform: rotateX(-10deg) rotateY(0deg) rotateZ(0deg);
}

.tr-19:hover ~ #card {
  transition: 125ms ease-in-out;
  transform: rotateX(-10deg) rotateY(5deg) rotateZ(0deg);
}

.tr-20:hover ~ #card {
  transition: 125ms ease-in-out;
  transform: rotateX(-10deg) rotateY(10deg) rotateZ(0deg);
}

.tr-21:hover ~ #card {
  transition: 125ms ease-in-out;
  transform: rotateX(-20deg) rotateY(-10deg) rotateZ(0deg);
}

.tr-22:hover ~ #card {
  transition: 125ms ease-in-out;
  transform: rotateX(-20deg) rotateY(-5deg) rotateZ(0deg);
}

.tr-23:hover ~ #card {
  transition: 125ms ease-in-out;
  transform: rotateX(-20deg) rotateY(0deg) rotateZ(0deg);
}

.tr-24:hover ~ #card {
  transition: 125ms ease-in-out;
  transform: rotateX(-20deg) rotateY(5deg) rotateZ(0deg);
}

.tr-25:hover ~ #card {
  transition: 125ms ease-in-out;
  transform: rotateX(-20deg) rotateY(10deg) rotateZ(0deg);
}

.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;

  -moz-user-select: none;

  -ms-user-select: none;

  user-select: none;
}

.card-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.05) 45%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 55%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0;
  transition: opacity 300ms;
}

.cyber-lines span {
  position: absolute;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(92, 103, 255, 0.2),
    transparent
  );
}

.cyber-lines span:nth-child(1) {
  top: 20%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  animation: lineGrow 3s linear infinite;
}

.cyber-lines span:nth-child(2) {
  top: 40%;
  right: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  animation: lineGrow 3s linear infinite 1s;
}

.cyber-lines span:nth-child(3) {
  top: 60%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  animation: lineGrow 3s linear infinite 2s;
}

.cyber-lines span:nth-child(4) {
  top: 80%;
  right: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  animation: lineGrow 3s linear infinite 1.5s;
}

.corner-elements span {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(92, 103, 255, 0.3);
}

.corner-elements span:nth-child(1) {
  top: 10px;
  left: 10px;
  border-right: 0;
  border-bottom: 0;
}

.corner-elements span:nth-child(2) {
  top: 10px;
  right: 10px;
  border-left: 0;
  border-bottom: 0;
}

.corner-elements span:nth-child(3) {
  bottom: 10px;
  left: 10px;
  border-right: 0;
  border-top: 0;
}

.corner-elements span:nth-child(4) {
  bottom: 10px;
  right: 10px;
  border-left: 0;
  border-top: 0;
}

.scan-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(92, 103, 255, 0.1),
    transparent
  );
  transform: translateY(-100%);
  animation: scanMove 2s linear infinite;
}

@keyframes lineGrow {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
  100% {
    transform: scaleX(0);
    opacity: 0;
  }
}

@keyframes scanMove {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

#card:hover .card-glare {
  opacity: 1;
}

.corner-elements span {
  transition: all 0.3s ease;
}

#card:hover .corner-elements span {
  border-color: rgba(92, 103, 255, 0.8);
  box-shadow: 0 0 10px rgba(92, 103, 255, 0.5);
}

/* Loader */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 2s ease;
}

#loader video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hide main content initially */
.hidden-content {
  opacity: 0;
  visibility: hidden;
  transition: opacity 2s ease;
}

/* Fade in when ready */
.show-content {
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease 0.5s; /* Fade in after a slight delay, adjust as needed */
  /* position: fixed; */ /* This was causing issues with card container scrolling */
  width: 100%;
  height: 100%;
  position: fixed;
  display: flex; /* To use align-items and justify-content for its children */
  align-items: center;
  justify-content: center;
}

/*
.menu-button {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.show-content .menu-button {
  opacity: 1;
  transform: translateY(0);
}*/

/* Background image */
.background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../Images\ &\ Videos/Awards.png");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.page-layout-container {
  display: flex;
  justify-content: center; /* Centers the group of left/right columns */
  align-items: flex-start; /* Aligns top of columns. Use 'center' to vertically center columns relative to each other. */
  gap: 880px; /* HORIZONTAL SPACE BETWEEN left and right columns (where globe appears). Adjust this value. */
  width: auto; /* Width will be determined by children and gap */
  max-width: 100%; /* Max width for the content area on very wide screens */
  height: 100%; /* Fill available height */
  overflow-y: auto; /* Scroll if columns are too tall */
  padding: 20px 0; /* Vertical padding for the layout area */
  box-sizing: border-box;
  margin-top: 8%;
}

.left-cards-column,
.right-cards-column {
  display: flex;
  flex-direction: column;
  gap: 40px; /* VERTICAL SPACE between cards in a column. Adjust this value. */
  width: 350px; /* This should match your .container (card) width */
}

/* Futuristic Toggle Switch Styles */
.animation-control {
  position: fixed; /* Ensures it stays in place */
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column; /* Stack items vertically */
  align-items: center; /* Center items horizontally */
  gap: 2px; /* Reduced gap for closer text */
  z-index: 1001;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 45px; /* Smaller width */
  height: 22px; /* Smaller height */
  margin-bottom: 3px; /* Space between toggle and text */
}

.toggle-switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #333;
  border-radius: 22px; /* Adjusted border-radius for smaller size */
  transition: 0.4s;
  box-shadow: 0 0 4px rgba(0, 255, 255, 0.3); /* Smaller glow */
  border: 1px solid #00ffff;
}

.slider:before {
  content: "";
  height: 18px; /* Smaller thumb */
  width: 18px; /* Smaller thumb */
  position: absolute;
  left: 2px; /* Adjusted left position */
  bottom: 2px; /* Adjusted bottom position */
  background-color: #fff;
  border-radius: 50%;
  transition: 0.4s;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.7); /* Smaller glow for thumb */
}

input:checked + .slider {
  background-color: #00ffff;
  box-shadow: 0 0 8px #00ffff, 0 0 15px #00ffff; /* Adjusted glow when on */
}

input:checked + .slider:before {
  transform: translateX(23px); /* Adjusted transform for smaller size */
  background-color: #fff;
}

/* Animation Text Styles */
.animation-text-container {
  position: relative;
  width: 120px; /* Adjusted fixed width for smaller text */
  height: 20px; /* Adjusted fixed height for smaller text */
  overflow: hidden;
  text-align: center;
}

.animation-text {
  font-family: "Orbitron", sans-serif; /* A more futuristic-looking font */
  font-size: 14px; /* Smaller font size */
  color: #fff;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.5); /* Smaller text glow */
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
  white-space: nowrap;
}

.animation-text.on {
  color: #00ffff;
  text-shadow: 0 0 6px #00ffff, 0 0 10px #00ffff; /* Adjusted glow for "On" */
  opacity: 0;
  transform: translateY(100%);
}

.animation-text.off {
  color: #ccc;
  text-shadow: 0 0 4px rgba(200, 200, 200, 0.5); /* Adjusted glow for "Off" */
  opacity: 1;
  transform: translateY(0);
}

/* When checkbox is checked, show 'on' text and hide 'off' text */
input:checked ~ .animation-text-container .animation-text.on {
  opacity: 1;
  transform: translateY(0);
}

input:checked ~ .animation-text-container .animation-text.off {
  opacity: 0;
  transform: translateY(-100%);
}

@media (max-width: 1680px) {
  .page-layout-container {
    gap: 600px;
    margin-top: 5%;
  }
  .left-cards-column,
  .right-cards-column {
    display: flex;
    flex-direction: column;
    gap: 0px; /* VERTICAL SPACE between cards in a column. Adjust this value. */
    width: 350px; /* This should match your .container (card) width */
    height: 630px;
  }
}

/* Warning Modal Overlay Styles */
.warning-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85); /* Darker, more opaque overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000; /* Higher than other elements */
  opacity: 0; /* Start hidden */
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.warning-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* System Error Modal Styles */
.warning-modal {
  background: #ececec; /* Light grey, typical system dialog background */
  color: #333; /* Dark text color */
  border: 1px solid #7a7a7a; /* Grey border */
  border-radius: 4px; /* Slightly rounded corners */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Standard shadow */
  text-align: left; /* Text alignment for system dialog */
  max-width: 400px; /* Max width for the modal */
  width: 90%; /* Responsive width */
  font-family: "Segoe UI", Arial, sans-serif; /* System-like font */
  overflow: hidden; /* For title bar */
  transform: scale(0.9); /* Start slightly smaller */
  transition: transform 0.3s ease-in-out;
}

.warning-overlay.active .warning-modal {
  transform: scale(1); /* Scale up when active */
}

.modal-title-bar {
  background: linear-gradient(
    to bottom,
    #0078d7 0%,
    #005a9e 100%
  ); /* Windows-like blue gradient title bar */
  color: white;
  padding: 8px 15px;
  font-size: 0.9em;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: default; /* Not draggable, but looks like it */
  border-bottom: 1px solid #004a80;
}

.modal-title-bar .close-button {
  background: #ff4d4d; /* Red close button */
  color: white;
  border: none;
  width: 20px;
  height: 20px;
  border-radius: 2px;
  font-size: 0.8em;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.2s ease;
}

.modal-title-bar .close-button:hover {
  background: #e60000;
}

.modal-content {
  padding: 20px 25px;
  display: flex;
  align-items: flex-start; /* Align icon and text */
  gap: 15px;
}

.modal-content .icon {
  font-size: 2.5em; /* Icon size */
  color: #ffcc00; /* Yellow warning icon */
  flex-shrink: 0; /* Prevent icon from shrinking */
}

.modal-text {
  flex-grow: 1;
}

.modal-text h3 {
  font-size: 1.1em;
  margin-top: 0;
  margin-bottom: 10px;
  color: #333;
  font-weight: bold;
}

.modal-text p {
  font-size: 0.9em;
  line-height: 1.4;
  margin-bottom: 15px;
}

.modal-buttons {
  display: flex;
  justify-content: flex-end; /* Align buttons to the right */
  padding: 0 25px 15px 25px;
}

.modal-button {
  background: #0078d7; /* Blue button */
  color: white;
  border: 1px solid #005a9e;
  padding: 8px 20px;
  border-radius: 3px;
  font-size: 0.9em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.modal-button:hover {
  background: #005a9e;
  border-color: #004a80;
}

/* Media queries for responsiveness */
@media (max-width: 1024px) {
  /* No specific styles for warning message here as it's handled by JS display */
}

@media (max-width: 768px) {
  .social-nav {
    bottom: 15px;
    padding: 10px 15px;
    gap: 10px;
  }
  .social-icon-button {
    width: 48px;
    height: 48px;
  }
  .social-icon-button .fab,
  .social-icon-button .fas {
    font-size: 24px;
  }
  .warning-modal {
    padding: 0; /* Padding handled by internal elements */
  }
  .modal-content {
    flex-direction: column; /* Stack icon and text on small screens */
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 15px;
  }
  .modal-text h3 {
    font-size: 1em;
  }
  .modal-text p {
    font-size: 0.85em;
  }
  .modal-buttons {
    justify-content: center; /* Center buttons on small screens */
    padding: 0 15px 10px 15px;
  }
}
