/* Reset and general styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  outline: none;
  appearance: none;
  border-style: none;
  color: #ffffff;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(45deg, #0a0618, #1a1a2e);
}

/* Typography with enhanced styling */
h1, h2, h3, span, p {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

/* Header with glass effect */
header {
  width: 100%;
  padding: 20px;
  background: rgba(17, 17, 17, 0.95);
  text-align: center;
  border-bottom: 2px solid aqua;
  box-shadow: 0 2px 20px rgba(0, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  margin: 0;
  font-size: clamp(20px, 4vw, 24px);
  color: aqua;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: glow 2s ease-in-out infinite alternate;
}

/* Container with improved layout */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 2em;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2em;
}

/* Enhanced Reels Container */
.reels-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(80%, 600px);
  padding: 20px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  box-shadow: 0 8px 32px 0 rgba(0, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

/* Stylized Reel */
.reel {
  width: 100%;
  margin-bottom: 20px;
  background: rgba(34, 34, 34, 0.9);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
  border: 1px solid rgba(0, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.reel:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 255, 255, 0.3);
  border-color: aqua;
}

.reel video {
  width: 78%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 1em auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(0, 255, 255, 0.1);
}

.reel-info {
  padding: 15px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(0, 255, 255, 0.1);
}

.reel-info h2 {
  margin: 0;
  font-size: clamp(16px, 3vw, 18px);
  color: aqua;
  letter-spacing: 1px;
}

.reel-info p {
  margin: 8px 0 12px;
  font-size: clamp(12px, 2vw, 14px);
  color: #ccc;
  line-height: 1.5;
}

/* Enhanced Card Style */
.card {
  position: relative;
  width: 300px;
  height: 400px;
  margin: 1em;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 35px rgba(0, 255, 255, 0.2);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(0, 255, 255, 0.1);
  background-clip: padding-box;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
  border-color: aqua;
}

.card .content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0.8;
  transition: 0.5s;
  width: 100%;
  padding: 1.5em;
}

.card:hover .content {
  opacity: 1;
}

.card .content .img {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid rgba(0, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.card:hover .content .img {
  border-color: aqua;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
}

.card .content .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .content .img img {
  transform: scale(1.1);
}

/* Customized Icons */
.reel-actions {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px;
  border-top: 1px solid rgba(0, 255, 255, 0.1);
}

.reel-actions i {
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 50%;
  background: rgba(0, 255, 255, 0.1);
}

.reel-actions i:hover {
  color: aqua;
  background: rgba(0, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.card .sci {
  position: absolute;
  bottom: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.card .sci li {
  transform: translateY(40px);
  opacity: 0;
  transition: 0.5s;
  transition-delay: calc(0.1s * var(--i));
}

.card .sci li a {
  font-size: 24px;
  color: aqua;
  padding: 8px;
  border-radius: 50%;
  background: rgba(0, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.card .sci li a:hover {
  background: rgba(0, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

/* Animations */
@keyframes glow {
  from {
    text-shadow: 0 0 5px aqua, 0 0 10px aqua, 0 0 15px aqua;
  }
  to {
    text-shadow: 0 0 10px aqua, 0 0 20px aqua, 0 0 30px aqua;
  }
}

/* Responsive Design */
@media (min-width: 769px) {
  .container {
    gap: 2em;
    padding: 2em;
  }
  
  .card {
    flex: 0 1 300px;
  }
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 1em;
  }

  .card {
    width: min(80%, 350px);
    margin: 1em auto;
  }
  
  .reels-container {
    width: 90%;
    padding: 15px;
  }
}

@media (max-width: 440px) {
  .container {
    padding: 0.5em;
  }

  .card {
    width: 100%;
    height: auto;
    min-height: 350px;
    margin: 0.5em 0;
  }

  .card .content {
    opacity: 1;
  }

  .card .sci {
    position: relative;
    bottom: 0;
    margin-top: 1em;
  }

  .reels-container {
    width: 100%;
    padding: 10px;
  }

  .reel video {
    width: 90%;
  }
}

/* Dark Mode with enhanced colors */
.dark-mode {
  --bg-color: #0a0618;
  --text-color: #fbf9f9;
  --shadow-color: rgba(0, 0, 0, .7);
}


/* Reset and base styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  outline: none;
  appearance: none;
  border-style: none;
  color: #ffffff;
}

/* Enhanced body background */
body {
  background: linear-gradient(45deg, #0a0618, #1a1a2e);
  min-height: 100vh;
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
}

/* Container with improved layout */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 2em;
  min-height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2em;
}

/* Enhanced Card Style */
.card {
  position: relative;
  width: clamp(280px, 90vw, 300px);
  height: clamp(380px, 90vh, 400px);
  margin: 1em;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 35px rgba(0, 255, 255, 0.2),
              0 0 20px rgba(0, 255, 255, 0.1);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(0, 255, 255, 0.1);
  transition: all 0.5s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3),
              0 0 30px rgba(0, 255, 255, 0.2);
  border-color: aqua;
}

/* Card Content */
.card .content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0.8;
  transition: all 0.5s ease;
  padding: clamp(15px, 3vw, 20px);
  text-align: center;
  width: 100%;
}

.card:hover .content {
  opacity: 1;
  transform: translateY(-10px);
}

/* Profile Image */
.card .content .img {
  position: relative;
  width: clamp(120px, 30vw, 150px);
  height: clamp(120px, 30vw, 150px);
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid rgba(0, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  transition: all 0.5s ease;
}

.card:hover .content .img {
  border-color: aqua;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
  transform: scale(1.05);
}

.card .content .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .content .img img {
  transform: scale(1.1);
}

/* Text Content */
.card .content .cardContent h3 {
  color: aqua;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  font-size: clamp(16px, 2.5vw, 18px);
  text-align: center;
  margin: clamp(15px, 3vw, 20px) 0 clamp(8px, 2vw, 10px);
  line-height: 1.1em;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.card .content .cardContent h3 span {
  font-size: clamp(11px, 1.5vw, 12px);
  font-weight: 300;
  text-transform: initial;
  letter-spacing: 1px;
  color: #fff;
  display: block;
  margin-top: clamp(4px, 1vw, 5px);
}

/* Social Icons */
.card .sci {
  position: absolute;
  bottom: clamp(20px, 5vh, 50px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 2vw, 15px);
  width: 100%;
}

.card .sci li {
  margin: 0 clamp(5px, 1.5vw, 7px);
  transform: translateY(40px);
  opacity: 0;
  transition: 0.5s;
  transition-delay: calc(0.1s * var(--i));
}

.card:hover .sci li {
  transform: translateY(0);
  opacity: 1;
}

.card .sci li a {
  font-size: clamp(20px, 3vw, 24px);
  color: aqua;
  width: clamp(35px, 8vw, 40px);
  height: clamp(35px, 8vw, 40px);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: rgba(0, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.card .sci li a:hover {
  background: aqua;
  color: #0a0618;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
  transform: translateY(-3px);
}

/* Enhanced Responsive Design */
@media (min-width: 1200px) {
  .container {
    justify-content: center;
    gap: 2em;
  }
  
  .card {
    margin: 0;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 1em;
    gap: 1.5em;
  }
  
  .card {
    margin: 0.5em;
  }
  
  .card .content {
    padding: 15px;
  }
}

@media (max-width: 44px) {
  .container {
    padding: 1em 0.5em;
  }

  .card {
    width: 90%;
    margin: 0.5em auto;
  }

  .card .content {
    opacity: 1;
  }

  .card .sci {
    bottom: 20px;
  }
  
  .card:hover {
    transform: translateY(-5px);
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  .card .content {
    opacity: 1;
  }
  
  .card .sci li {
    transform: translateY(0);
    opacity: 1;
  }
  
  .card:hover {
    transform: none;
  }
}