:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --button-bg: #1c1c1c;
    /* Slightly better than pure black for buttons */
    --button-text: #ffffff;
    --gray-text: #666666;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 480px;
    /* Mobile width constraint */
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Profile Section */
.profile-section {
    margin-top: 20px;
    margin-bottom: 25px;
}

.profile-image-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 10px;
    background-color: #eee;
    /* Placeholder bg */
}

.profile-image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #ccc;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23999"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>');
    background-size: cover;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.username {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.handle {
    font-size: 14px;
    color: var(--gray-text);
}

/* Link Button Section */
.link-section {
    width: 100%;
    margin-bottom: 25px;
}

.link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center the content */
    width: 100%;
    padding: 16px 20px;
    background-color: var(--button-bg);
    color: var(--button-text);
    text-decoration: none;
    border-radius: 9999px;
    /* Pill shape */
    font-weight: bold;
    font-size: 16px;
    transition: opacity 0.2s;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.link-button:hover {
    opacity: 0.9;
}

.link-button .icon {
    font-size: 24px;
    position: absolute;
    left: 24px;
    /* Fix icon to the left like typical social buttons */
}

.button-text {
    flex-grow: 1;
    /* Ensure text is centered properly within remaining space, or just center absolute */
    text-align: center;
}

/* Timer Section */
.timer-section {
    margin-bottom: 10px;
    font-size: 14px;
    color: #ff0000;
    /* Red for urgency */
    font-weight: bold;
}

/* Description Section */
.description-section {
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 700;
    /* Looks bold in the screenshot */
}

/* Content Section */
.content-section {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;
    /* Black bg for video feel */
    position: relative;
    transition: transform 0.2s;
}

.content-section:active {
    transform: scale(0.98);
}

.media-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: pointer;
}

.media-container {
    position: relative;
    width: 100%;
    height: 100%;
}

img.content-media {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    /* Adjust size as needed */
    height: 60px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    pointer-events: none;
    /* Let clicks pass through if needed */
    border: 2px solid white;
    /* Often has a border */
}

.tiktok-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.tiktok-overlay i {
    text-shadow: none;
    /* Brand icon usually clear */
}