/* Discord Theme CSS */
/* Using Discord's official color palette */

:root {
  --discord-blurple: #5865F2;
  --discord-dark: #23272A;
  --discord-darker: #1e2124;
  --discord-grey: #2c2f33;
  --discord-light-grey: #99aab5;
  --discord-green: #43b581;
  --discord-yellow: #faa61a;
  --discord-red: #f04747;
  --discord-white: #ffffff;
  --discord-text-light: #dcddde;
  --discord-text-muted: #72767d;
  --discord-gradient: linear-gradient(135deg, #5865F2 0%, #7289da 50%, #99aab5 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Whitney', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: var(--discord-dark);
  color: var(--discord-text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header Styles */
.header {
  background: var(--discord-darker);
  padding: 1rem 0;
  border-bottom: 2px solid var(--discord-blurple);
  box-shadow: 0 2px 10px rgba(88, 101, 242, 0.2);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-image {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-image:hover {
  transform: scale(1.05);
}

.nav-button-container {
  display: flex;
  gap: 1rem;
}

.nav-button {
  color: var(--discord-text-light);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: var(--discord-grey);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  font-weight: 600;
}

.nav-button:hover {
  background: var(--discord-blurple);
  color: var(--discord-white);
  border-color: var(--discord-blurple);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

/* Main Content Layout */
.page-layout-container {
  display: flex;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.main-content-area {
  flex: 1;
  max-width: 800px;
}

/* Main Section */
.main-section {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--discord-gradient);
  border-radius: 20px;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(88, 101, 242, 0.3);
  position: relative;
  overflow: hidden;
}

.main-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--discord-white);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.section-description {
  font-size: 1.2rem;
  color: var(--discord-white);
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

/* Symbols Container */
.symbols-container {
  background: var(--discord-grey);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 2px solid var(--discord-blurple);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.symbols-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
}

.symbols-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--discord-blurple);
  margin-bottom: 1.5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.symbols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: 1rem;
  justify-items: center;
}

.symbol {
  font-size: 2rem;
  padding: 1rem;
  background: var(--discord-darker);
  border: 2px solid var(--discord-blurple);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.symbol::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(88, 101, 242, 0.4), transparent);
  transition: left 0.5s ease;
}

.symbol:hover::before {
  left: 100%;
}

.symbol:hover {
  transform: translateY(-5px) scale(1.1);
  border-color: var(--discord-green);
  background: var(--discord-blurple);
  box-shadow: 0 8px 20px rgba(88, 101, 242, 0.4);
  color: var(--discord-white);
}

.symbol:active {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 15px rgba(67, 181, 129, 0.5);
  border-color: var(--discord-green);
  background: var(--discord-green);
}

/* Symbol Board Controls */
.symbol-board-controls {
  background: var(--discord-grey);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 2px solid var(--discord-blurple);
}

.textarea-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.symbol-board-textarea {
  background: var(--discord-darker);
  border: 2px solid var(--discord-blurple);
  border-radius: 10px;
  padding: 1rem;
  color: var(--discord-text-light);
  font-size: 1.1rem;
  min-height: 120px;
  resize: vertical;
  transition: all 0.3s ease;
  font-family: inherit;
}

.symbol-board-textarea:focus {
  outline: none;
  border-color: var(--discord-green);
  box-shadow: 0 0 0 3px rgba(67, 181, 129, 0.2);
  background: var(--discord-grey);
}

.symbol-board-textarea::placeholder {
  color: var(--discord-text-muted);
}

.textarea-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.button {
  background: var(--discord-blurple);
  color: var(--discord-white);
  border: none;
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.button:hover {
  background: var(--discord-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 181, 129, 0.3);
}

.button:active {
  transform: translateY(0);
}

/* About Box */
.about-box {
  background: var(--discord-grey);
  border-radius: 15px;
  padding: 2rem;
  border: 2px solid var(--discord-blurple);
  margin-bottom: 2rem;
}

.about-box h3 {
  color: var(--discord-blurple);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.about-box h4 {
  color: var(--discord-green);
  font-size: 1.3rem;
  margin: 1.5rem 0 0.5rem 0;
  font-weight: 600;
}

.about-box p {
  color: var(--discord-text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.about-box ul {
  color: var(--discord-text-light);
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.about-box li {
  margin-bottom: 0.5rem;
}

/* Table Styles */
.thecoolsymbols-table-container {
  overflow-x: auto;
  margin: 2rem 0;
}

.thecoolsymbols-about-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--discord-darker);
  border-radius: 10px;
  overflow: hidden;
}

.thecoolsymbols-about-table th,
.thecoolsymbols-about-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--discord-grey);
}

.thecoolsymbols-about-table th {
  background: var(--discord-blurple);
  color: var(--discord-white);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.thecoolsymbols-about-table td {
  color: var(--discord-text-light);
}

.thecoolsymbols-about-table tr:hover {
  background: var(--discord-grey);
}

.thecoolsymbols-about-table .symbol {
  font-size: 1.5rem;
  width: auto;
  height: auto;
  padding: 0.5rem;
  margin: 0;
}

/* Sidebar */
.sidebar {
  width: 300px;
  flex-shrink: 0;
}

.additional-symbol-categories {
  background: var(--discord-grey);
  border-radius: 15px;
  padding: 1.5rem;
  border: 2px solid var(--discord-blurple);
  position: sticky;
  top: 2rem;
}

.additional-symbol-categories .section-title {
  font-size: 1.3rem;
  color: var(--discord-blurple);
  margin-bottom: 1rem;
  text-align: center;
}

.symbol-categories-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.symbol-category {
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.symbol-category a {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  background: var(--discord-darker);
  color: var(--discord-text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.symbol-category a:hover {
  background: var(--discord-blurple);
  color: var(--discord-white);
  transform: translateX(5px);
  border-color: var(--discord-green);
}

/* Footer */
.footer {
  background: var(--discord-darker);
  padding: 2rem 0;
  border-top: 2px solid var(--discord-blurple);
  margin-top: 4rem;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-text {
  color: var(--discord-text-muted);
  margin: 0;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  color: var(--discord-text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--discord-blurple);
}

/* Copy notification styles */
.copy-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: var(--discord-green);
  color: var(--discord-white);
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  z-index: 10000;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(67, 181, 129, 0.4);
}

.copy-box.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-layout-container {
    flex-direction: column;
    padding: 1rem;
  }
  
  .sidebar {
    width: 100%;
    order: -1;
  }
  
  .additional-symbol-categories {
    position: static;
  }
  
  .symbol-categories-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .symbols {
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
  }
  
  .symbol {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .textarea-buttons {
    flex-direction: column;
  }
  
  .footer .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .main-section {
    padding: 2rem 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  .symbols-container {
    padding: 1rem;
  }
  
  .symbols {
    grid-template-columns: repeat(auto-fit, minmax(45px, 1fr));
    gap: 0.5rem;
  }
  
  .symbol {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
}
