/* Navbar Red Metal Styles */
.navbar {
  background: linear-gradient(180deg, 
    rgba(139, 0, 0, 0.9) 0%, 
    rgba(26, 26, 26, 0.95) 100%);
  border-bottom: 3px solid var(--red-main);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.5),
    inset 0 -2px 10px rgba(178, 34, 34, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.navbar-logo {
  font-size: 2rem;
  color: var(--red-bright);
  filter: drop-shadow(0 0 10px rgba(178, 34, 34, 0.5));
}

.navbar-title {
  font-size: 1.8rem;
  margin: 0;
  letter-spacing: 3px;
}

.navbar-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.navbar-link {
  color: var(--silver-bright);
  font-weight: bold;
  padding: 0.5rem 1rem;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-link::before {
  content: '⚙';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
}

.navbar-link:hover {
  border-color: var(--red-main);
  background: rgba(178, 34, 34, 0.1);
  color: var(--red-bright);
}

.navbar-link:hover::before {
  opacity: 1;
  left: -10px;
}

/* Hero Steampunk Styles */
.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '⚙';
  position: absolute;
  top: 10%;
  left: 10%;
  font-size: 15rem;
  color: var(--red-main);
  opacity: 0.05;
  animation: rotate 30s linear infinite;
}

.hero::after {
  content: '⚙';
  position: absolute;
  bottom: 10%;
  right: 10%;
  font-size: 12rem;
  color: var(--silver-main);
  opacity: 0.05;
  animation: rotate 25s linear infinite reverse;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 
    3px 3px 6px rgba(0, 0, 0, 0.7),
    0 0 20px rgba(184, 115, 51, 0.5);
}

.hero-tagline {
  font-size: 1.5rem;
  color: var(--silver-bright);
  font-family: 'Calibri', 'Arial', sans-serif;
  font-style: normal;
  font-weight: 600;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  letter-spacing: 1px;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-silver);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--red-main), var(--red-light));
  color: var(--text-light);
  border: 2px solid var(--red-bright);
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 
    0 5px 15px rgba(178, 34, 34, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 8px 25px rgba(178, 34, 34, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, var(--red-bright), var(--red-main));
}

/* LinkTree Steampunk Styles */
.linktree {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.linktree-header {
  text-align: center;
  margin-bottom: 3rem;
}

.linktree-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.linktree-subtitle {
  font-size: 1.2rem;
  color: var(--text-silver);
}

.linktree-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.link-card {
  background: linear-gradient(135deg, 
    rgba(139, 0, 0, 0.3) 0%, 
    rgba(26, 26, 26, 0.6) 50%, 
    rgba(128, 128, 128, 0.3) 100%);
  border: 2px solid var(--red-main);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 5px 15px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.link-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(192, 192, 192, 0.1) 50%,
    transparent 70%
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
}

.link-card:hover::before {
  left: 100%;
}

.link-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--silver-bright);
  box-shadow: 
    0 15px 35px rgba(178, 34, 34, 0.5),
    0 0 30px rgba(192, 192, 192, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.link-card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--red-bright), var(--silver-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(178, 34, 34, 0.5));
}

.link-card-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.link-card-url {
  color: var(--text-silver);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.link-card-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, var(--red-dark), var(--red-main));
  color: var(--text-light);
  border: 2px solid var(--red-bright);
  border-radius: 6px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.link-card-button:hover {
  background: linear-gradient(135deg, var(--silver-main), var(--silver-bright));
  border-color: var(--silver-bright);
  color: var(--bg-dark);
  transform: scale(1.05);
}

/* Footer Red Metal Styles */
.footer {
  background: linear-gradient(180deg, 
    rgba(26, 26, 26, 0.95) 0%, 
    rgba(0, 0, 0, 0.98) 100%);
  border-top: 3px solid var(--red-main);
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
  position: relative;
  box-shadow: 
    0 -5px 20px rgba(0, 0, 0, 0.5),
    inset 0 2px 10px rgba(178, 34, 34, 0.2);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--red-bright);
}

.footer-section p,
.footer-section a {
  color: var(--text-silver);
  margin-bottom: 0.5rem;
  display: block;
}

.footer-section a:hover {
  color: var(--red-bright);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--red-dark), var(--red-main));
  border: 2px solid var(--red-bright);
  border-radius: 50%;
  color: var(--text-light);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.social-icon:hover {
  background: linear-gradient(135deg, var(--silver-main), var(--silver-bright));
  border-color: var(--silver-bright);
  transform: translateY(-5px) rotate(360deg);
  box-shadow: 0 5px 20px rgba(178, 34, 34, 0.6);
}

.footer-bottom {
  border-top: 1px solid var(--copper-dark);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-silver);
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(135deg, var(--red-bright), var(--silver-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar-menu {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-tagline {
    font-size: 1.2rem;
  }
  
  .linktree-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
}

/* Editor Styles */
.editor-panel {
  background: linear-gradient(135deg, 
    rgba(139, 0, 0, 0.2) 0%, 
    rgba(26, 26, 26, 0.8) 100%);
  border: 2px solid var(--red-main);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 600px;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--red-bright);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-input {
  width: 100%;
  padding: 0.8rem;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid var(--red-dark);
  border-radius: 6px;
  color: var(--text-light);
  font-family: 'Calibri', 'Arial', sans-serif;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--red-bright);
  box-shadow: 0 0 15px rgba(178, 34, 34, 0.5);
}

.btn-primary {
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--red-main), var(--red-light));
  border: 2px solid var(--red-bright);
  border-radius: 6px;
  color: var(--text-light);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--red-bright), var(--red-main));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(178, 34, 34, 0.5);
}

.btn-secondary {
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--silver-dark), var(--silver-main));
  border: 2px solid var(--silver-light);
  border-radius: 6px;
  color: var(--text-light);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--silver-main), var(--silver-bright));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 192, 192, 0.5);
}

/* Image Upload Styles */
.image-upload-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2rem 0;
}

.image-upload-frame {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 3px solid var(--red-main);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 
    0 0 20px rgba(178, 34, 34, 0.3),
    inset 0 0 20px rgba(0, 0, 0, 0.5);
  background: linear-gradient(135deg, 
    rgba(139, 0, 0, 0.2) 0%, 
    rgba(26, 26, 26, 0.8) 100%);
}

.profile-frame-round {
  border-radius: 50% !important;
  border: 4px solid var(--gold-main);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.5), 0 0 60px rgba(212, 175, 55, 0.3);
}

.profile-image-round {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.image-upload-frame:hover {
  border-color: var(--red-bright);
  box-shadow: 
    0 0 30px rgba(178, 34, 34, 0.5),
    inset 0 0 20px rgba(0, 0, 0, 0.5);
  transform: scale(1.05);
}

.image-upload-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--text-silver);
}

.image-upload-placeholder i {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: var(--red-bright);
}

.image-upload-input {
  display: none;
}

/* Download Modal Styles */
.download-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(5px);
}

.download-modal {
  background: linear-gradient(135deg, 
    rgba(139, 0, 0, 0.3) 0%, 
    rgba(26, 26, 26, 0.95) 100%);
  border: 3px solid var(--red-main);
  border-radius: 12px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(178, 34, 34, 0.4);
}

.download-modal h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.download-modal-content {
  margin-bottom: 1.5rem;
}

.download-modal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.error-message {
  color: var(--red-bright);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  text-align: center;
}

.success-message {
  color: var(--silver-bright);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  text-align: center;
}
