/* Base CSS - Shared styles for all public pages */

/* CSS Variables - Shared with widgets */
:root {
  --gray-light: #F3F3F3;
  --gray: #E8E8E8;
  --gray-dark: #8F8F8F;
  --gray-darker: #212121;
  --black: #0D0D0D;
  --white: #FFFFFF;
  --blue: #0286FF;
  --orange: #E25507;
  --purple: #924ff7;

  /* System colors for text and UI elements */
  --text-primary: rgba(13, 13, 13, 0.85);
  --text-secondary: rgba(13, 13, 13, 0.6);
  --text-tertiary: rgba(13, 13, 13, 0.5);
  --divider: rgba(13, 13, 13, 0.1);
  --background-hover: rgba(13, 13, 13, 0.05);
  --background-active: rgba(13, 13, 13, 0.08);
  --border-subtle: rgba(13, 13, 13, 0.15);
  --border-strong: rgba(13, 13, 13, 0.25);

  --space-6: 12px;
  --space-8: 16px;
  --space-12: 24px;
  --space-16: 32px;
  --space-20: 40px;
  --space-24: 48px;
  --space-28: 56px;
  --space-32: 64px;
  --space-36: 72px;
}

/* Font Declarations */
@font-face {
    font-family: 'Gilroy';
    src: url('/fonts/Gilroy-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('/fonts/Gilroy-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

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

/* Body Defaults */
body {
    font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Common Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.header {
    margin-bottom: 40px;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--text-primary);
}

.back-link::before {
    content: '← ';
    margin-right: 4px;
}

/* Footer Styles */
footer {
    margin-top: 60px;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 12px;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--orange);
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .container {
        padding: 40px 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 15px;
    }
}
