/* Main CSS for the Royal FGA Cookie Management System */

:root {
  --primary-color: #ff6b00;
  --secondary-color: #ffa559;
  --background-color: #0f0f0f;
  --surface-color: #1e1e1e;
  --text-color: #f0f0f0;
  --text-muted: #a0a0a0;
  --accent-color: #3a86ff;
}

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

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, #1e1e1e, #2d2d2d);
  padding: 20px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cn {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
  margin-bottom: 15px;
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.4);
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

h2 {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* Main Content Styles */
main {
  flex: 1;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
}

section {
  margin-bottom: 40px;
  background-color: var(--surface-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

section:hover {
  transform: translateY(-5px);
}

.section-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 20px;
  color: var(--text-color);
}

.section-header h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 5px;
}

.section-header p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Cookie Code Section */
.code-container {
  padding: 20px;
}

textarea {
  width: 100%;
  min-height: 120px;
  padding: 15px;
  margin-bottom: 15px;
  background-color: #2a2a2a;
  border: 1px solid #444;
  border-radius: 8px;
  color: var(--text-color);
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  resize: none;
  transition: all 0.3s ease;
}

textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.2);
}

.button-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.btn-secondary {
  background-color: #3a3a3a;
  color: var(--text-color);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-icon {
  margin-right: 8px;
  font-size: 1.2em;
}

/* How to Use Section */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.step {
  background-color: #2a2a2a;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(255, 107, 0, 0.2);
}

.step-number {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  margin-right: 15px;
  font-size: 1.2rem;
}

.step p {
  margin: 0;
  color: var(--text-color);
}

/* Premium Features Section */
.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.feature {
  background-color: #2a2a2a;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(255, 107, 0, 0.2);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.feature p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer Styles */
footer {
  background-color: var(--surface-color);
  padding: 40px 0 20px;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.footer-section h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.telegram-link {
  display: inline-flex;
  align-items: center;
  color: var(--text-color);
  text-decoration: none;
  padding: 10px 20px;
  background-color: #2a2a2a;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-top: 10px;
  font-weight: 500;
}

.telegram-link:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.telegram-icon {
  margin-right: 10px;
  font-size: 1.2em;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #333;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.btn-primary,
.btn-secondary,
.logo-img,
textarea,
.step,
.feature {
  animation: fadeIn 0.5s ease-in;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .button-group {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .steps-container,
  .features-container {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .logo-img {
    width: 80px;
    height: 80px;
  }

  .cn,
  main {
    padding: 0 15px;
  }

  .code-container,
  .steps-container,
  .features-container {
    padding: 15px;
  }
}

/* Notification Styles */
#notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.toast-notification {
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: slideIn 0.3s ease-out;
}

.toast-notification.error {
  background-color: #ff4444;
}
.toast-notification.warning {
  background-color: #ffbb33;
}
.toast-notification.success {
  background-color: #00c851;
}
.toast-notification.info {
  background-color: #33b5e5;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

