:root {
    /* Color Palette - Vibrant Dark Mode */
    --bg-dark: #0a0a0f;
    --panel-bg: #000000;
    --panel-border: rgba(255, 255, 255, 0.08);
    --text-main: #f0f0f5;
    --text-muted: #a0a0b0;

    /* Accents */
    --accent-red: #ffcb3b;
    /* TikTok Red ish */
    --accent-cyan: #ffcb3b;
    /* TikTok Cyan ish */
    --accent-purple: #ffcb3b;

    /* Glassmorphism */
    --glass-blur: blur(16px);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

    /* Typography */
    --font-heading: 'TBWA Grotesk', sans-serif;
    --font-body: 'TBWA Grotesk', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);

    /* Prevent scrolling for dashboard feel */
    height: 100vh;
    width: 100vw;
}

/* Background Effects */
.bg-blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    z-index: -1;
    animation: float 20s infinite alternate ease-in-out;
}

.circle-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-red);
    top: -10%;
    left: -10%;
}

.circle-2 {
    width: 600px;
    height: 600px;
    background: var(--accent-cyan);
    bottom: -20%;
    right: -10%;
    animation-delay: -5s;
}

.circle-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-purple);
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.2);
    }
}

/* --- App Structure --- */
#app {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* --- Dashboard Header --- */
#dashboard-header {
    height: 80px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--panel-border);
    background: rgba(10, 10, 15, 0.5);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.logo {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo i {
    color: var(--accent-cyan);
}

.logo span {
    color: var(--accent-red);
    font-family: "Roboto Mono", monospace;
    text-transform: uppercase;
    font-weight: 200;
    letter-spacing: 1px;
    font-size: 13px;
}

.header-controls {
    display: flex;
    gap: 16px;
    align-items: center;
}

.glow-btn {
    background: #000;
    border: 1px solid var(--panel-border);
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: 6px;
    font-family: "Roboto Mono", monospace;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.glow-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
    border-color: rgba(0, 242, 254, 0.5);
    transform: translateY(-2px);
}

.full-width-link {
    width: 100%;
    margin-top: 12px;
    justify-content: center;
    text-decoration: none;
}

/* --- Dashboard Layout --- */
#dashboard-layout {
    flex: 1;
    display: grid;
    grid-template-columns: 180px 1fr 300px;
    gap: 15px;
    padding: 20px;
    height: calc(100vh - 100px);
}

.column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 0;
    min-height: 0;
}

/* --- Dashboard Layout Utilities --- */
.flex-col {
    display: flex;
    flex-direction: column;
}

.flex-1 {
    flex: 1;
    min-height: 0;
}

.flex-1-5 {
    flex: 1.5;
    min-height: 0;
}

.flex-2 {
    flex: 2;
    min-height: 0;
}

.flex-0-75 {
    flex: 0.75;
    min-height: 0;
}

.panel-content-scroll {
    flex-grow: 1;

}

.panel-content-scroll.no-max {
    max-height: none;
}

.header-flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.split-row {
    flex: 1;
    display: flex;
    gap: 15px;
    min-height: 0;
}

/* --- Glass Panels --- */
.glass-panel {
    background: var(--panel-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;

}

.panel-header {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
}

.panel-header.compact {
    padding: 15px;
}

.panel-header h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-header h2 i {
    color: var(--accent-purple);
}

.panel-header h3 {
    font-family: "Roboto Mono", monospace;
    font-size: 11px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.panel-content {
    flex: 1;
    position: relative;


}

#hashtags-content {}

/* --- Big Box (Analysis) --- */
.big-box {
    flex: 1.5;
}

.analysis-item {
    padding: 15px;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    animation: fadeIn 0.5s ease-out;
}

.analysis-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 203, 59, 0.2);
    color: #ffcb3b;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
}

.analysis-title {
    font-family: 'ITC Garamond Std - Light Condensed', serif;
    font-size: 42px;
    line-height: 1.0;
    font-weight: 300;
}

.analysis-desc {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.3;
}

.proactive-idea {
    margin-top: auto;
    background: rgba(76, 175, 80, 0.1);
    border-left: 4px solid #4CAF50;
    padding: 15px;
    border-radius: 0 6px 6px 0;
}

.proactive-idea h4 {
    font-family: var(--font-heading);
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Indicators */
.carousel-indicators {
    display: flex;
    gap: 6px;
}

.indicator {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

/* --- Small Boxes (Hashtags, Creators, Songs) --- */
.small-box-row {
    flex: 2;
    display: flex;
    gap: 24px;
}

.small-box {
    flex: 0.5;
}

.nav-controls {
    display: flex;
    gap: 8px;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-muted);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.widget-item {
    height: 100%;
    padding: 20px;
    display: flex;
    animation: slideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Specific Widget Styles */
.hashtag-display {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-cyan);
    background: -webkit-linear-gradient(45deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.creator-display {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    width: 100%;
}

.creator-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-red), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.creator-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
}

.song-display {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    width: 100%;
    text-align: left;
}

.song-icon {
    font-size: 24px;
    color: var(--accent-purple);
    flex-shrink: 0;
}

.song-title {
    font-weight: 600;
    font-size: 16px;
}

.song-artist {
    color: var(--text-muted);
    font-size: 13px;
}

/* --- Vertical Box (Posts) --- */
.vertical-box {
    width: 100%;
}

.post-wrapper {
    height: 100%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    position: relative;
    animation: fadeIn 0.5s ease-out;
}

.video-placeholder {
    flex: 1;
    background: #000;
    border-radius: 12px;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder i {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.2);
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.post-author {
    font-weight: 600;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-cap {
    font-size: 14px;
    color: #ffd;
    line-height: 1.4;
    margin-bottom: 10px;
}

.post-stats {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-muted);
}

.post-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* --- ScreenSaver Mode --- */
#screensaver-layout {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-dark);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

#screensaver-layout.hidden {
    display: none;
}

#exit-screensaver-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 101;
    transition: all 0.3s;
}

#exit-screensaver-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.screensaver-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    animation: scaleInFade 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ss-content-wrapper {
    max-width: 1200px;
    text-align: center;
}

.ss-huge-text {
    font-family: var(--font-heading);
    font-size: 6vw;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    background: -webkit-linear-gradient(45deg, #fff, var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleInFade {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Modals --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    width: 500px;
    max-width: 90vw;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.large-modal {
    width: 1000px;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--panel-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h2 i {
    color: var(--accent-cyan);
}

.close-modal-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal-btn:hover {
    color: var(--text-main);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--panel-border);
    display: flex;
    justify-content: flex-end;
}

/* Forms */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
}

.form-group input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--panel-border);
    color: var(--text-main);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-body);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.form-group small {
    color: var(--text-muted);
    font-size: 13px;
}

/* Details Box Styling */
.analysis-detail-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    margin-bottom: 20px;

}

.adc-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 20px;
    border-bottom: 1px solid var(--panel-border);
    font-family: var(--font-heading);
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.adc-header span {
    color: var(--accent-red);
    font-size: 14px;
}

.adc-body {
    padding: 20px;
}

.json-block {
    background: #111116;
    padding: 15px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 13px;
    color: #a0a0b0;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.json-key {
    color: var(--accent-cyan);
}

.json-string {
    color: #e0aaff;
}

/* --- Analysis Dynamic Components --- */
.analysis-right-panel {
    flex-shrink: 0;
    width: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.analysis-source-title {
    font-size: 0.8rem;
    color: #aaa;
    display: block;
    margin-bottom: 8px;
    text-align: center;
    display: none;
}

.analysis-video-container {
    width: 100%;
    aspect-ratio: 9/16;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;

    position: relative;
}

.analysis-video-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.analysis-video-media.faded {
    opacity: 0.5;
}

.absolute-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

.absolute-bottom-right {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px;
    border-radius: 4px;
    font-size: 0.7rem;
    color: white;
}

.proactive-idea-box {
    margin-top: 10px;
    background: rgba(76, 175, 80, 0.1);
    border-left: 3px solid #4CAF50;
    padding: 10px;
    border-radius: 4px;
}

.proactive-idea-title {
    margin: 0 0 5px 0;
    color: #4CAF50;
    font-size: 0.9rem;
}

.proactive-idea-text {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-main);
    line-height: 1.4;
}

.proactive-idea-box-red {
    background: rgba(255, 59, 92, 0.1);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 59, 92, 0.3);
}

.proactive-idea-title-red {
    color: var(--accent-red);
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 20px;
}

.proactive-idea-text-red {
    font-size: 22px;
}

.analysis-left-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.analysis-idea-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* --- Widget Dynamic Components --- */
.widget-list-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 10px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    gap: 8px;
}

.hashtag-pill {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-radius: 6px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;

}

.hashtag-pill-text {
    color: var(--accent-cyan);
    font-family: "Roboto Mono", monospace;
    font-weight: 400;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.song-cover-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--accent-purple);
    flex-shrink: 0;
}

.song-display-center {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 15px;
    width: 100%;
}

.song-display-center>div {
    display: flex;
    flex-direction: column;
}

.agenda-item-container {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.agenda-item-title {
    font-weight: 400;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    text-overflow: ellipsis;
}

.agenda-item-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;

    text-overflow: ellipsis;
}

.agenda-proactive-box {
    margin-top: 10px;
    background: rgba(76, 175, 80, 0.1);
    border-left: 3px solid #4CAF50;
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-main);
}

.no-data-text {
    color: #888;
}

/* --- Post Dynamic Components --- */
.post-wrapper-full {
    width: 100%;
    height: 100%;
    position: relative;
}

.post-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

#posts-content .post-wrapper {
    padding: 0;
}

.post-overlay-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    border-radius: 0 0 6px 6px;
}

.post-author-title {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.post-caption-text {
    font-size: 0.9rem;
    line-height: 1.3;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.post-center-msg {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #666;
}

/* --- Screensaver Dynamic Components --- */
.ss-analysis-video {
    width: 300px;
    height: 500px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;

    margin-left: 40px;
    flex-shrink: 0;
    position: relative;
}

.ss-idea-box-large {
    background: rgba(76, 175, 80, 0.1);
    border-left: 5px solid #4CAF50;
    border-radius: 8px;
    padding: 20px 30px;
    margin-top: 30px;
}

.ss-idea-title-large {
    color: #4CAF50;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 24px;
}

.ss-idea-text-large {
    font-size: 24px;
    color: white;
}

.ss-analysis-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    max-width: 1200px;
    width: 100%;
}

.ss-pattern-title {
    color: var(--accent-purple);
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.ss-huge-text {
    font-size: 48px;
}

.ss-pattern-desc {
    font-size: 24px;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 0 20px 0;
}

.ss-qr-container {
    margin-left: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.ss-qr-box {
    background: white;
    padding: 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ss-qr-img {
    width: 150px;
    height: 150px;
}

.ss-qr-text {
    font-size: 16px;
    color: var(--text-muted);
}

.ss-creator-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ss-creator-center {
    text-align: center;
}

.ss-creator-title {
    color: var(--accent-cyan);
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.ss-creator-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;

    margin: 0 auto 20px auto;
    border: 3px solid var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    background: rgba(0, 0, 0, 0.3);
}

.ss-creator-name {
    font-size: 40px;
    margin-bottom: 0;
}

.ss-creator-videos {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.ss-creator-video-item {
    width: 140px;
    height: 250px;
    border-radius: 12px;

    background: #222;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ss-song-title {
    color: var(--accent-purple);
    font-size: 24px;
    margin-bottom: 40px;
    font-weight: bold;
    text-transform: uppercase;
}

.ss-song-icon {
    font-size: 100px;
    color: var(--text-main);
    margin-bottom: 30px;
}

.ss-song-cover-large {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    object-fit: cover;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(188, 19, 254, 0.3);
    border: 2px solid rgba(188, 19, 254, 0.5);
}

.ss-song-artist {
    font-size: 32px;
    color: var(--text-muted);
}

.ss-post-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.ss-post-video-container {
    width: 300px;
    height: 500px;
    background: #111;
    border-radius: 20px;
    border: 1px solid #333;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ss-post-info-container {
    max-width: 800px;
}

.ss-post-title {
    color: var(--accent-red);
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.ss-post-author {
    font-size: 4vw;
    margin-bottom: 10px;
}

.ss-post-caption {
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 30px;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.ss-post-stats {
    display: flex;
    gap: 30px;
    font-size: 24px;
    color: var(--accent-cyan);
}

.ss-post-empty {
    color: #666;
}

.ss-hashtag-cloud-title {
    color: var(--accent-cyan);
    font-size: 24px;
    margin-bottom: 50px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

.ss-hashtag-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0px;
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.1;
}

.ss-hashtag-item {
    font-weight: bold;
    transition: all 0.3s;
    padding: 0px;
    display: inline-block;
}

.ss-agenda-title {
    color: var(--accent-green);
    font-size: 24px;
    margin-bottom: 40px;
    font-weight: bold;
    text-transform: uppercase;
}

.ss-agenda-headline {
    font-size: 5vw;
    margin-bottom: 20px;
}

.ss-agenda-desc {
    font-size: 32px;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 1000px;
    margin: 0 auto;
}

.ss-agenda-idea-box {
    margin-top: 40px;
    background: rgba(76, 175, 80, 0.1);
    border-left: 5px solid #4CAF50;
    padding: 20px 30px;
    border-radius: 8px;
    font-size: 28px;
    color: white;
    text-align: left;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.ss-agenda-idea-title {
    color: #4CAF50;
}

.modal-video-link {
    color: var(--text-main);
    font-size: 12px;
    text-decoration: none;
}

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

.form-group-spaced {
    margin-bottom: 20px;
}

.mb-0 {
    margin-top: 0 !important;
}

.roboto-mono {
    font-family: "Roboto Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/* --- Breaking News --- */
#breaking-news-container {
    display: none;
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid var(--accent-red);
    border-radius: 8px;
    margin: 10px 20px 0px 20px;
    padding: 10px 10px;
    align-items: center;
    gap: 15px;
    animation: slowPulse 2s infinite alternate;
}

#breaking-news-container.active {
    display: flex;
}

.bn-title {
    background: rgba(255, 59, 92, 1);
    color: #000;
    font-family: "Roboto Mono", monospace;
    font-size: 12px;
    font-weight: 400;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
}

.bn-text {
    font-family: 'Roboto Mono', monospace;
    font-size: 13px;
    color: rgba(255, 59, 92, 1);
    line-height: 1.4;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes slowPulse {
    from {
        box-shadow: 0 0 10px rgba(255, 59, 92, 0.2);
        border-color: rgba(255, 59, 92, 0.5);
    }

    to {
        box-shadow: 0 0 20px rgba(255, 59, 92, 0.8);
        border-color: rgba(255, 59, 92, 1);
    }
}

/* Screensaver Controls */
#screensaver-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 6px;
    background: linear-gradient(90deg, #66d9ef, #a6e22e);
    width: 0%;
    z-index: 10001;
    transition: width linear;
}

.screensaver-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#screensaver-layout:hover .screensaver-controls {
    opacity: 1;
}

.screensaver-controls button {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.screensaver-controls button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.screensaver-controls button:active {
    transform: scale(0.95);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    #dashboard-layout {
        display: flex;
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    /* Etiketler (Hashtags) sayfanın sonuna (col-left) */
    .col-left {
        order: 3;
    }

    .col-main {
        order: 1;
    }

    .col-right {
        order: 2;
    }

    .split-row {
        flex-direction: column;
    }

    .glass-panel {
        margin-bottom: 15px;
        min-height: auto;
    }

    #analysis-panel {
        min-height: auto;
    }

    .small-box {
        min-height: 120px;
    }

    .col-right {
        flex-direction: column;
    }

    #dashboard-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        height: auto;
    }
}

@media (max-width: 768px) {
    #dashboard-header {
        align-items: flex-start;
        height: auto;
    }

    .header-controls {
        width: 100%;
        justify-content: space-between;
    }

    .panel-header,
    .header-flex-between {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
        width: 100%;
        height: 40px;
    }

    .header-flex-gap {
        width: auto;
        gap: 10px;
    }

    .panel-header.compact {
        flex-direction: row;
        align-items: flex-start;
        height: 40px;
    }

    .nav-controls {
        align-self: flex-start;
        width: auto;
        justify-content: flex-end;
        margin-top: -3px;
    }

    .widget-row {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Optimize analysis view on mobile */
    .analysis-item {
        flex-direction: column;
        gap: 20px;
    }

    .analysis-left-panel {
        order: 1;
        /* Text on top */
        width: 100%;
    }

    .analysis-right-panel {
        order: 2;
        /* Video on bottom */
        width: 100%;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 0;
        padding-top: 20px;
        align-items: center;
    }

    .analysis-video-container {
        width: 100%;
        max-width: 300px;
        height: auto;
        aspect-ratio: 9/16;
        margin: 0 auto;
    }

    .video-mockup-wrapper {
        max-width: 250px;
        margin: 0 auto;
    }
}

/* Video Mute/Unmute Overlay */
.video-container-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-mute-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.2s ease;
    z-index: 10;
}

.video-container-wrapper:hover .video-mute-btn,
.analysis-video-container:hover .video-mute-btn,
.post-video-card:hover .video-mute-btn {
    opacity: 1;
}

.video-mute-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   PREMIUM EDITORIAL SCREENSAVER (FULLSCREEN MODE) STYLES
   ========================================================================== */

/* Theme Inversions - Pure Black #000000 as requested */
.ss-theme-black {
    background-color: #000000 !important;
    color: #EAE9E3 !important;
}

.ss-theme-offwhite {
    background-color: #EAE9E3 !important;
    color: #000000 !important;
}

/* Base Fullscreen Layout Overrides */
#screensaver-layout {
    transition: background-color 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Master Slide Container */
.ss-slide-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 10%;
}

/* Background Splatters & Sketches (Z-Index: 1) */
.ss-bg-graphics-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.ss-bg-sketch {
    position: absolute;
    object-fit: contain;
    pointer-events: none;
    opacity: 1 !important;
    /* Highly visible, rich background sketches as requested */
}

/* Various randomized sketch/splatter styling variants */
.ss-bg-sketch.ss-sketch-main {
    height: 100vh !important;
    width: auto !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* Corner Floating Icons */
.ss-corner-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    box-sizing: border-box;
    padding: 30px;
}

.ss-corner-icons img {
    position: absolute;
    width: 150px;
    height: 150px;
    object-fit: contain;
    opacity: 0.85;
}

.ss-icon-top-left {
    top: 30px;
    left: 30px;
}

.ss-icon-bottom-right {
    bottom: 30px;
    right: 30px;
}

/* Active Editorial Typographic Stamps */
.ss-stamp-container {
    position: absolute;
    z-index: 3;
    pointer-events: none;
}

/* Position options for stamp variety */
.ss-stamp-pos-top-right {
    top: 40px;
    right: 120px;
    text-align: right;
}

.ss-stamp-pos-bottom-left {
    bottom: 40px;
    left: 40px;
    text-align: left;
}

.ss-stamp-pos-bottom-right {
    bottom: 40px;
    right: 120px;
    text-align: right;
}

.ss-stamp-pos-top-left {
    top: 40px;
    left: 40px;
    text-align: left;
}

.ss-typo-stamp {
    font-family: 'TBWA Grotesk', sans-serif;
    font-size: 10px;
    line-height: 17px;
    text-transform: uppercase;
    font-weight: normal;
    letter-spacing: 1.5px;
    opacity: 0.8;
}

/* Make typographic stamp text color theme-adaptive - Pure Black #000000 */
.ss-theme-black .ss-typo-stamp {
    color: #FFD515 !important;
    /* Gold on dark background */
    text-align: center;
}

.ss-theme-offwhite .ss-typo-stamp {
    color: #000000 !important;
    /* Pure Black on light background */
    text-align: center;
}

/* Slide Content Wrapper (Z-Index: 2) */
.ss-slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Grayscale B&W Editorial Media */
.ss-media-grayscale {
    filter: grayscale(1) contrast(1.1) brightness(0.95);
    transition: filter 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ss-theme-offwhite .ss-media-grayscale {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Typography styles */
.ss-huge-text {
    font-family: 'ITC Garamond Std - Light Condensed', 'Georgia', serif !important;
    font-weight: 300 !important;
    margin: 0 0 20px 0 !important;
    color: inherit !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    text-transform: none !important;
}

.ss-bodycopy {
    font-family: 'TBWA Grotesk', sans-serif !important;
    font-size: 12px !important;
    line-height: 22px !important;
    text-transform: uppercase !important;
    font-weight: 400 !important;
    letter-spacing: 1px !important;
    margin: 0 !important;
}

/* Slide Phase Layouts */
.ss-editorial-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6vw;
    width: 100%;
    height: 100%;
    align-items: center;
}

/* Layout 1: B&W Video on the Right */
.ss-editorial-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.ss-editorial-right {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 640px;
}

.ss-media-frame-vertical {
    max-height: 80%;
    aspect-ratio: 9/16;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    background: #000;
}

.ss-media-frame-square {
    width: 340px;
    height: 340px;
    aspect-ratio: 1/1;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    background: #000;
}

/* Proactive Idea Cards */
.ss-idea-card-editorial {
    margin-top: 30px;
    padding: 20px 24px;
    border-radius: 0px;
    border-left: 3px solid #FFD515;
    background: rgba(255, 213, 21, 0.06);
    text-align: left;
    max-width: 580px;
}

.ss-idea-card-title {
    font-family: 'TBWA Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.ss-idea-card-text {
    font-family: 'TBWA Grotesk', sans-serif;
    font-size: 12px;
    line-height: 20px;
    text-transform: uppercase;
}

/* Phase 1: Creator Slide styling */
.ss-creator-layout-editorial {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 4vw;
}

.ss-creator-main-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex: 1;
}

.ss-creator-avatar-container {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
}

.ss-creator-avatar-container .creator-img-round {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ss-creator-meta-editorial {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 5px;
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-family: var(--font-body), sans-serif;
    letter-spacing: -0.01em;
}

.ss-creator-handle {
    font-weight: 600;

}

.ss-creator-divider {

    font-size: 1rem;
}

.ss-theme-offwhite .ss-creator-divider {}

.ss-creator-metric {
    font-weight: 400;

}

.ss-creator-metric strong {}

.ss-creator-videos-row {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.ss-creator-video-box {
    width: 105px;
    height: 185px;
    border-radius: 2px;
    overflow: hidden;
}

.ss-qr-container-editorial {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.ss-theme-offwhite .ss-qr-container-editorial {
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.02);
}

.ss-qr-box-editorial {
    background: #FFFFFF;
    padding: 8px;
    border-radius: 2px;
}

.ss-qr-img-editorial {
    width: 220px;
    height: 220px;
    display: block;
}

.ss-qr-text-editorial {
    font-family: 'TBWA Grotesk', sans-serif;
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Phase 2: Song Slide styling */
.ss-song-left-col {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 40px !important;
}

.ss-song-left-col .ss-media-frame-square {
    width: 280px !important;
    height: 280px !important;
    flex-shrink: 0 !important;
}

.ss-song-artist-label {
    font-family: 'TBWA Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin-top: 0px !important;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Phase 3: Post Slide styling */
.ss-post-stats-editorial {
    display: flex;
    gap: 25px;
    margin-top: 20px;
}

.ss-post-stats-editorial span {
    font-family: 'TBWA Grotesk', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Phase 4 & 6: Agenda Slide styling */
.ss-agenda-editorial {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    max-width: 900px;
    width: 100%;
}

.ss-agenda-category {
    font-family: 'TBWA Grotesk', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Phase 4 & 6 Two-Column Layouts */
.ss-editorial-reverse {
    grid-template-columns: 0.9fr 1.1fr !important;
}

.ss-editorial-sketch-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.ss-editorial-sketch-frame img {
    position: relative !important;
    max-height: 520px !important;
    width: auto !important;
    object-fit: contain !important;
    opacity: 1 !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    animation: ssFadeInBgGrid 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.6s !important;
}

@keyframes ssFadeInBgGrid {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Phase 5: Editorial Tag Cloud styling */
.ss-cloud-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.ss-cloud-title {
    font-family: 'TBWA Grotesk', sans-serif;
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-weight: 600;
}

.ss-editorial-cloud-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px 30px;
    max-width: 1100px;
}

.ss-cloud-tag {
    font-family: 'ITC Garamond Std - Light Condensed', serif;
    font-weight: 300;
    transition: transform 0.3s ease;
    cursor: default;
}

.ss-cloud-tag:hover {
    transform: scale(1.08);
}

/* Exit Button & Controls Overrides */
#exit-screensaver-btn {
    top: 40px !important;
    right: 40px !important;
    border-radius: 0px !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
}

.screensaver-controls {
    bottom: 40px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-radius: 0px !important;
    padding: 0px !important;
    background: none !important;
    box-shadow: none !important;
    display: flex !important;
    gap: 10px !important;
}

.screensaver-controls button {
    border-radius: 0px !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
}

.ss-theme-black #exit-screensaver-btn,
.ss-theme-black .screensaver-controls button {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #EAE9E3 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.ss-theme-black #exit-screensaver-btn:hover,
.ss-theme-black .screensaver-controls button:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #FFFFFF !important;
}

.ss-theme-offwhite #exit-screensaver-btn,
.ss-theme-offwhite .screensaver-controls button {
    background: rgba(0, 0, 0, 0.08) !important;
    color: #000000 !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

.ss-theme-offwhite #exit-screensaver-btn:hover,
.ss-theme-offwhite .screensaver-controls button:hover {
    background: rgba(0, 0, 0, 0.16) !important;
    color: #000000 !important;
}

/* Progress Bar Override */
#screensaver-progress-bar {
    top: 0 !important;
    height: 4px !important;
    background: #FFD515 !important;
}

/* ==========================================================================
   STAGGERED SLIDE TRANSITION ENTRANCE ANIMATIONS
   ========================================================================== */

/* 1. Background Sketches/Backslashes: Delays 0s & 0.05s (Vivid & Instant Entrance) */
.ss-bg-sketch {
    opacity: 0;
    animation: ssFadeInBg 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0s;
}

@keyframes ssFadeInBg {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ss-bg-sketch.ss-sketch-main {
    animation: ssFadeInBgMain 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0s;
}

@keyframes ssFadeInBgMain {
    from {
        opacity: 0;
        transform: translate(-50%, 15px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.ss-bg-sketch.ss-sketch-sub {
    animation: ssFadeInBgSub 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.05s;
}

@keyframes ssFadeInBgSub {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 2. Textual Elements (Huge Title, Category Label, Body description, Idea Cards): Delay 0.1s */
.ss-editorial-left h2,
.ss-editorial-left p,
.ss-editorial-left .ss-idea-card-editorial,
.ss-creator-main-col h2,
.ss-creator-main-col .ss-creator-avatar-container,
.ss-creator-main-col .ss-creator-videos-row,
.ss-agenda-editorial h2,
.ss-agenda-editorial p,
.ss-agenda-editorial .ss-idea-card-editorial,
.ss-cloud-container .ss-cloud-title,
.ss-editorial-cloud-grid,
.ss-song-artist-label {
    opacity: 0;
    transform: translateY(20px);
    animation: ssFadeInUp 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.1s;
}

@keyframes ssFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 3. Media Elements (Video, Cover, QR Container): Delay 0.2s */
.ss-editorial-right .ss-media-frame-vertical,
.ss-editorial-right .ss-media-frame-square,
.ss-editorial-left .ss-media-frame-square,
.ss-editorial-right .ss-qr-container-editorial,
.ss-creator-layout-editorial .ss-qr-container-editorial {
    opacity: 0;
    transform: translateY(25px);
    animation: ssFadeInUpMedia 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.2s;
}

@keyframes ssFadeInUpMedia {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 4. Typographic Stamps: Delay 0.3s */
.ss-stamp-container {
    opacity: 0;
    animation: ssFadeInStamp 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.3s;
}

@keyframes ssFadeInStamp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 0.8;
        transform: translateY(0);
    }
}

/* 5. Corner Icons with Position-only animation: Delay 0.4s */
.ss-icon-top-left {
    opacity: 0;
    animation: ssIconEntranceTopLeft 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.4s;
}

@keyframes ssIconEntranceTopLeft {
    from {
        opacity: 0;
        transform: translate(-15px, -15px);
    }

    to {
        opacity: 0.85;
        transform: translate(0, 0);
    }
}

.ss-icon-bottom-right {
    opacity: 0;
    animation: ssIconEntranceBottomRight 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.4s;
}

@keyframes ssIconEntranceBottomRight {
    from {
        opacity: 0;
        transform: translate(15px, 15px);
    }

    to {
        opacity: 0.85;
        transform: translate(0, 0);
    }
}

.ss-icon-top-right {
    top: 30px;
    right: 30px;
    opacity: 0;
    animation: ssIconEntranceTopRight 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.4s;
}

@keyframes ssIconEntranceTopRight {
    from {
        opacity: 0;
        transform: translate(15px, -15px);
    }

    to {
        opacity: 0.85;
        transform: translate(0, 0);
    }
}

.ss-icon-bottom-left {
    bottom: 30px;
    left: 30px;
    opacity: 0;
    animation: ssIconEntranceBottomLeft 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.4s;
}

@keyframes ssIconEntranceBottomLeft {
    from {
        opacity: 0;
        transform: translate(-15px, 15px);
    }

    to {
        opacity: 0.85;
        transform: translate(0, 0);
    }
}

/* Global border-radius override for a premium brutalist editorial aesthetic */
*,
*::before,
*::after {
    border-radius: 0px !important;
}