:root {
  --bg-color: #090c15;
  --card-bg: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.1);
  --text-main: #ffffff;
  --text-muted: #a1a1aa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Outfit', 'Cairo', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  direction: rtl;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: #1a1f2e;
  border-radius: 10px;
  border: 2px solid var(--bg-color);
}

::-webkit-scrollbar-thumb:hover {
  background: #2a344a;
}

.app-container {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-bottom: 40px;
}

/* Banner */
.banner-section {
  width: 100%;
  height: 35vh;
  position: relative;
  z-index: 1;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
}

.banner-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to top, var(--bg-color), transparent);
}

/* Content Container */
.content-container {
  width: 100%;
  max-width: 800px;
  padding: 0 20px;
  margin-top: -100px;
  position: relative;
  z-index: 2;
}

/* Profile */
.profile-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  text-align: center;
}

.profile-img-ring {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a1f2e, #090c15);
  padding: 5px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
  position: relative;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8); }
  50% { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9); }
  100% { transform: translateY(0px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8); }
}

.profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-color);
}

.profile-name {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
  background: linear-gradient(to right, #ffffff, #c0c0c8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Strong Neon Glow for Gradient Text */
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

.profile-desc {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0;
  /* Neon Glow */
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
}

@media (max-width: 650px) {
  .cards-grid { grid-template-columns: 1fr; }
}

.link-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: inherit;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: floatCard 5s ease-in-out infinite;
}

@keyframes floatCard {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0px); }
}

.link-card:nth-child(even) {
  animation-delay: 0.5s;
}

.link-card:active {
  transform: scale(0.97) !important;
  transition: transform 0.1s ease;
}

.card-right-side {
  display: flex;
  align-items: center;
  gap: 20px;
}

.card-info {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.card-title {
  color: var(--text-main);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 4px 0;
}

.card-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.icon-box i {
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-left-side {
  color: #3f3f46;
  display: flex;
  transition: all 0.3s ease;
}

.footer {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
  font-size: 0.95rem;
  width: 100%;
}

.footer p {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4), 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}
