@font-face {
      font-family: RobotoConBold;
      src: url(../data/font/RobotoCondensed-Bold.ttf);
      font-weight: 700;
      font-style: normal;
    }
* {
  box-sizing: border-box;
}
    :root {
      --bg: #f6f4ee;
      --paper: #fffdf7;
      --ink: #1f2430;
      --ink-soft: #4d5667;
      --accent: #0c7a5b;
      --accent-soft: #c7efdf;
      --warn: #cb4d3f;
      --warn-soft: #ffd7d0;
      --line: #dbd3c5;
      --shadow: 0 14px 38px rgba(31, 36, 48, 0.12);
    }

    body {
      margin: 0;
      color: var(--ink);
      font-family: RobotoConBold;
      background:
        radial-gradient(1200px 650px at 5% -10%, #fce4b2 0%, transparent 45%),
        radial-gradient(1200px 650px at 95% 0%, #e4f6ef 0%, transparent 42%),
        linear-gradient(180deg, #f8f6ef 0%, #f0ece1 100%);
      min-height: 100vh;
      background-attachment: fixed;
    }
    
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 28px 18px 44px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 100vh;
    }

    h1 {
      margin: 0;
      font-size: clamp(1.45rem, 3.4vw, 2.2rem);
      letter-spacing: 0.01em;
      text-align: center;
    }



/* Twitter Profile mock */
.profile-container {
    max-width: 600px; 
    margin: 0 auto;
    background: var(--paper); 
    min-height: 100vh; 
}

.profile-header {
    border-bottom: 1px solid var(--line);
}

.profile-banner {
    width: 100%;
    background-image:url("/kog/SocialMedia/images/bg.jpg");
    background-size: cover;
    aspect-ratio: 3 / 1;
    background-position: center;
}

.profile-meta {
    padding: 0 16px;
    position: relative;
    margin-bottom: 16px;
}

.profile-avatar {
    width: 130px;
    height: 130px;
    background: var(--paper);
    background-image:url("/kog/SocialMedia/images/pfp.png");
    background-size: cover;
    border: 4px solid var(--paper);
    border-radius: 50%;
    margin-top: -65px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--line);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.profile-name {
    margin: 12px 0 0;
    text-align: left;
    font-size: 1.5rem;
}

.profile-handle {
    color: var(--ink-soft);
    margin: 0;
    font-weight: normal;
}

.profile-bio {
    margin: 12px 0;
    line-height: 1.4;
    color: var(--ink);
}

.profile-details {
    display: flex;
    gap: 15px;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.profile-tabs {
    display: flex;
    border-bottom: 1px solid var(--line);
}

.tab {
    flex: 1;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    color: var(--ink-soft);
    cursor: pointer;
}

.tab.active {
    color: var(--ink);
    border-bottom: 4px solid var(--accent);
}

/* Tweet Cards */
.tweet-card {
    padding: 16px;
    display: flex;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    transition: background 0.2s;
}

.tweet-card:hover {
    background: rgba(0,0,0,0.02);
}

.tweet-avatar {
    width: 48px;
    height: 48px;
    background: var(--line);
    background-image:url("/kog/SocialMedia/images/pfp.png");
    background-size: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

.tweet-content {
    flex-grow: 1;
}

.tweet-header {
    display: flex;
    gap: 5px;
    align-items: baseline;
    margin-bottom: 4px;
}

.tweet-user { font-weight: bold; }
.tweet-handle, .tweet-date { color: var(--ink-soft); font-size: 0.9rem; }

.tweet-text {
    white-space: pre-wrap;
    line-height: 1.5;
    margin-bottom: 12px;
}

.tweet-media {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-bottom: 12px;
}

.tweet-media img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--line);
}

.tweet-actions {
    display: flex;
    justify-content: space-between;
    max-width: 400px;
    color: var(--ink-soft);
}

.tweet-actions i {
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: 0.2s;
}




    /* Header */
.Tweet-search-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 24px 0;
  border-bottom: 3px solid #e6ddd1; 
  border-radius: 40px 40px 0 0;
  border-style: solid;
  border-color: #e6ddd1;
  background: linear-gradient(180deg, #fffef9, #faf3e6);
  padding: 12px 14px;


}

.Tweet-search-input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 120ms ease;
}

.Tweet-search-input:focus {
  border-color: var(--accent);
}

.Tweet-search-icon {
  font-size: 1.1rem;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
}

    @media (max-width: 860px) {

    }

    @media (max-width: 560px) {
    .tweet-header {
        flex-wrap: wrap;
        align-items: center;
        row-gap: 2px;
    }

    .tweet-user {
        font-size: 0.95rem;
    }

    .tweet-handle, 
    .tweet-date {
        font-size: 0.85rem;
    }

    .tweet-media {
        grid-template-columns: repeat(2, 1fr); 
        gap: 6px;
    }

    .tweet-media img:only-child {
        grid-column: span 2;
    }
    }