/* ============================================
   STORMY WORLD - Social Platform Styles
   ============================================ */

/* World Layout - 3-column */
.world {
    display: grid;
    grid-template-columns: 260px 1fr 320px;
    min-height: 100vh;
    padding-top: 70px;
    background: var(--bg-primary);
}

@media (max-width: 1200px) {
    .world {
        grid-template-columns: 220px 1fr 280px;
    }
}

@media (max-width: 968px) {
    .world {
        grid-template-columns: 1fr;
    }
    .world__sidebar { display: none; }
    .world__sidebar.mobile-open { display: block; position: fixed; top: 0; left: 0; width: 280px; height: 100vh; z-index: 100; background: var(--bg-primary); overflow-y: auto; }
}

/* Sidebar */
.world__sidebar {
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    overflow-y: auto;
    padding: var(--space-lg);
    border-right: 1px solid rgba(255, 16, 240, 0.1);
}

.world__sidebar--right {
    border-right: none;
    border-left: 1px solid rgba(255, 16, 240, 0.1);
}

.world__sidebar::-webkit-scrollbar { width: 4px; }
.world__sidebar::-webkit-scrollbar-thumb { background: rgba(255, 16, 240, 0.2); border-radius: 2px; }

/* Logo */
.world__logo {
    text-align: center;
    margin-bottom: var(--space-xl);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.world__logo-sub {
    display: block;
    font-family: var(--font-condensed);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Navigation */
.world__nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.world__nav-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    font-family: var(--font-body);
    font-size: 0.95rem;
    position: relative;
}

.world__nav-item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.world__nav-item:hover {
    background: rgba(255, 16, 240, 0.08);
    color: var(--text-primary);
}

.world__nav-item.active {
    background: rgba(255, 16, 240, 0.12);
    color: var(--whiskey);
    font-weight: 600;
}

.world__nav-item--live { color: #ff4444; }
.world__nav-item--live.active { color: #ff4444; }
.world__nav-item--premium { color: var(--whiskey); }
.world__nav-item--vip { color: #FFD700; }

/* Badges */
.world__badge {
    background: var(--whiskey);
    color: var(--bg-primary);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: auto;
}

.world__live-dot {
    width: 8px;
    height: 8px;
    background: #ff4444;
    border-radius: 50%;
    margin-left: auto;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.world__premium-tag,
.world__vip-tag {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: auto;
    letter-spacing: 0.05em;
}

.world__premium-tag { background: rgba(255, 16, 240, 0.2); color: var(--whiskey); }
.world__vip-tag { background: rgba(255, 215, 0, 0.2); color: #FFD700; }

/* Membership Card */
.world__membership {
    margin-top: var(--space-xl);
    padding: var(--space-md);
    background: rgba(255, 16, 240, 0.05);
    border: 1px solid rgba(255, 16, 240, 0.15);
    border-radius: var(--radius-md);
    text-align: center;
}

.world__membership-tier {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.world__tier-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    letter-spacing: 0.1em;
}

.world__tier-badge--free { background: rgba(255, 255, 255, 0.1); color: var(--text-muted); }
.world__tier-badge--vip { background: rgba(255, 215, 0, 0.2); color: #FFD700; }

.world__upgrade-btn { width: 100%; font-size: 0.8rem; }
.world__post-btn { width: 100%; margin-top: var(--space-md); }

/* Main Content */
.world__content {
    padding: var(--space-lg);
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
}

/* Sections */
.world__section { display: none; }
.world__section.active { display: block; }

/* Status Bar */
.world__status-bar {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: linear-gradient(135deg, rgba(255, 16, 240, 0.08), rgba(176, 36, 168, 0.05));
    border: 1px solid rgba(255, 16, 240, 0.15);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.world__status-avatar {
    position: relative;
    flex-shrink: 0;
}

.world__status-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--whiskey);
}

.world__online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #4CAF50;
    border: 2px solid var(--bg-primary);
    border-radius: 50%;
}

.world__status-info {
    flex: 1;
    min-width: 0;
}

.world__status-info strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.world__status-text {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Post Composer */
.world__composer {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-card);
    border: 1px solid rgba(255, 16, 240, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.world__composer-avatar img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.world__composer-input {
    flex: 1;
}

.world__composer-input textarea {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    resize: none;
    min-height: 60px;
    padding: var(--space-sm) 0;
}

.world__composer-input textarea:focus { outline: none; }
.world__composer-input textarea::placeholder { color: var(--text-muted); }

.world__composer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255, 16, 240, 0.1);
}

.world__composer-tools {
    display: flex;
    gap: var(--space-sm);
}

.world__tool-btn {
    background: none;
    border: none;
    color: var(--whiskey);
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    transition: var(--transition-fast);
}

.world__tool-btn svg { width: 20px; height: 20px; }
.world__tool-btn:hover { background: rgba(255, 16, 240, 0.1); }
.world__tool-btn--vip { color: #FFD700; }

.world__composer-submit {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.world__visibility-select {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 16, 240, 0.15);
    color: var(--text-secondary);
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
}

/* Feed Tabs */
.world__tabs {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 16, 240, 0.1);
    padding-bottom: var(--space-xs);
    overflow-x: auto;
}

.world__tab {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-condensed);
    font-size: 0.85rem;
    font-weight: 600;
    padding: var(--space-sm) var(--space-md);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.world__tab:hover { color: var(--text-primary); }
.world__tab.active { color: var(--whiskey); border-bottom-color: var(--whiskey); }
.world__tab--hot { color: #ff6b35; }

/* Posts */
.world__post {
    background: var(--bg-card);
    border: 1px solid rgba(255, 16, 240, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    transition: var(--transition-normal);
}

.world__post:hover {
    border-color: rgba(255, 16, 240, 0.15);
}

.world__post--pinned {
    border-color: rgba(255, 16, 240, 0.2);
    background: linear-gradient(135deg, rgba(26, 13, 26, 0.5), var(--bg-card));
}

.world__post-pin {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: var(--whiskey);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.world__post-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.world__post-avatar {
    position: relative;
    flex-shrink: 0;
}

.world__post-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.world__verified {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: var(--whiskey);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    border: 2px solid var(--bg-card);
}

.world__post-meta { flex: 1; }
.world__post-author strong { color: var(--text-primary); font-size: 0.95rem; }
.world__handle { color: var(--text-muted); font-size: 0.85rem; margin-left: var(--space-xs); }
.world__post-time { color: var(--text-muted); font-size: 0.8rem; }
.world__post-menu { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1.2rem; padding: var(--space-xs); }

.world__post-content {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.world__post-content p { margin-bottom: var(--space-sm); }
.world__post-content p:last-child { margin-bottom: 0; }

/* Post Media */
.world__post-media { margin-bottom: var(--space-md); }

.world__media-grid {
    display: grid;
    gap: 4px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.world__media-grid--1 { grid-template-columns: 1fr; }
.world__media-grid--2 { grid-template-columns: 1fr 1fr; }
.world__media-grid--3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.world__media-grid--3 .world__media-item:first-child { grid-row: span 2; }

.world__media-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.world__media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.world__media-item--blurred img { filter: blur(20px); }

.world__media-lock {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Post Stats */
.world__post-stats {
    display: flex;
    gap: var(--space-sm);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(255, 16, 240, 0.05);
}

/* Post Actions */
.world__post-actions {
    display: flex;
    gap: var(--space-xs);
}

.world__action-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.world__action-btn svg { width: 18px; height: 18px; }
.world__action-btn:hover { color: var(--whiskey); background: rgba(255, 16, 240, 0.05); }
.world__action-btn--liked { color: var(--whiskey); }
.world__action-btn--liked svg { fill: var(--whiskey); }
.world__action-btn--tip { color: #4CAF50; margin-left: auto; }
.world__action-btn--tip:hover { color: #66BB6A; background: rgba(76, 175, 80, 0.1); }

/* Poll */
.world__poll {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.world__poll-option {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 16, 240, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition-fast);
}

.world__poll-option:hover { border-color: rgba(255, 16, 240, 0.3); }

.world__poll-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: rgba(255, 16, 240, 0.1);
    border-radius: var(--radius-md);
    transition: width 0.5s ease;
}

.world__poll-text { position: relative; z-index: 1; }
.world__poll-percent { position: relative; z-index: 1; font-weight: 600; color: var(--whiskey); }

.world__poll-info {
    display: flex;
    gap: var(--space-sm);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Messages */
.world__messages-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.world__messages-header h2 {
    font-size: 1.25rem;
    color: var(--text-primary);
}

.world__chat-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.world__chat-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-card);
    border: 1px solid rgba(255, 16, 240, 0.08);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
}

.world__chat-item:hover { background: rgba(255, 16, 240, 0.05); }
.world__chat-item--unread { border-left: 3px solid var(--whiskey); }

.world__chat-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.world__chat-preview { flex: 1; min-width: 0; }
.world__chat-name { font-weight: 600; color: var(--text-primary); font-size: 0.9rem; }
.world__chat-last { color: var(--text-muted); font-size: 0.8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.world__chat-time { color: var(--text-muted); font-size: 0.7rem; flex-shrink: 0; }
.world__unread-badge { background: var(--whiskey); color: var(--bg-primary); font-size: 0.65rem; font-weight: 700; padding: 2px 6px; border-radius: 10px; }

/* Live Section */
.world__live-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.world__live-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: #ff4444;
    font-weight: 700;
}

.world__live-player {
    aspect-ratio: 16 / 9;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    margin-bottom: var(--space-lg);
}

.world__live-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26, 13, 26, 0.8), var(--bg-card));
    color: var(--text-muted);
    gap: var(--space-md);
}

.world__live-chat {
    background: var(--bg-card);
    border: 1px solid rgba(255, 16, 240, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
}

/* Vault Section */
.world__vault-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.world__vault-header h2 { font-size: 1.75rem; margin-bottom: var(--space-sm); }
.world__vault-header p { color: var(--text-secondary); }

.world__vault-locked {
    text-align: center;
    padding: var(--space-3xl);
    background: linear-gradient(135deg, rgba(26, 13, 26, 0.5), var(--bg-card));
    border: 2px dashed rgba(255, 215, 0, 0.2);
    border-radius: var(--radius-xl);
}

.world__vault-lock-icon { margin-bottom: var(--space-lg); color: #FFD700; }
.world__vault-lock-icon svg { opacity: 0.5; }

/* OnlyFans / BoyFanz Section */
.world__boyfanz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.world__boyfanz-unlock {
    background: linear-gradient(135deg, rgba(255, 16, 240, 0.1), rgba(176, 36, 168, 0.05));
    border: 1px solid rgba(255, 16, 240, 0.2);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--space-xl);
}

.world__boyfanz-unlock-content { padding: var(--space-xl); }
.world__boyfanz-unlock-content h4 { font-size: 1.25rem; margin-bottom: var(--space-sm); }

.world__boyfanz-perks {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0 0;
}

.world__boyfanz-perks li {
    padding: var(--space-xs) 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.world__boyfanz-perks li::before {
    content: "✓ ";
    color: var(--whiskey);
    font-weight: 700;
}

.world__boyfanz-unlock-action {
    padding: var(--space-lg) var(--space-xl);
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
}

.world__boyfanz-price-amount { font-size: 2rem; font-weight: 700; color: var(--whiskey); }
.world__boyfanz-price-period { color: var(--text-muted); font-size: 0.9rem; }
.world__boyfanz-note { font-size: 0.75rem; color: var(--text-muted); margin-top: var(--space-sm); }

/* Archive Grid */
.world__boyfanz-archives-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.world__boyfanz-count { color: var(--text-muted); font-size: 0.85rem; }

.world__boyfanz-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.world__boyfanz-archive {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-normal);
}

.world__boyfanz-archive:hover { transform: translateY(-2px); }

.world__boyfanz-archive-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
}

.world__boyfanz-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 16, 240, 0.1), rgba(176, 36, 168, 0.05));
}

.world__boyfanz-duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
}

.world__boyfanz-replay-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--whiskey);
    color: var(--bg-primary);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
}

.world__boyfanz-lock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.5);
}

.world__boyfanz-archive-info {
    padding: var(--space-sm) var(--space-md);
}

.world__boyfanz-archive-info strong { display: block; font-size: 0.85rem; color: var(--text-primary); }
.world__boyfanz-archive-info span { font-size: 0.75rem; color: var(--text-muted); }

.world__boyfanz-link {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
}

.world__boyfanz-link p { color: var(--text-secondary); margin-bottom: var(--space-md); }

/* Right Sidebar */
.world__profile-card {
    text-align: center;
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid rgba(255, 16, 240, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.world__profile-cover {
    height: 80px;
    background: linear-gradient(135deg, var(--whiskey-dark), var(--rust));
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    margin: calc(-1 * var(--space-lg)) calc(-1 * var(--space-lg)) 0;
}

.world__profile-avatar-lg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--bg-card);
    margin: -40px auto var(--space-sm);
    overflow: hidden;
}

.world__profile-avatar-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.world__profile-name { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); }
.world__profile-handle { color: var(--text-muted); font-size: 0.85rem; }

.world__profile-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin: var(--space-md) 0;
}

.world__profile-stat { text-align: center; }
.world__profile-stat strong { display: block; color: var(--text-primary); font-size: 1.1rem; }
.world__profile-stat span { color: var(--text-muted); font-size: 0.75rem; }

.world__profile-bio {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: var(--space-md);
}

/* Trending */
.world__trending {
    background: var(--bg-card);
    border: 1px solid rgba(255, 16, 240, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.world__trending h3 {
    font-size: 1rem;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.world__trending-item {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(255, 16, 240, 0.05);
}

.world__trending-item:last-child { border-bottom: none; }
.world__trending-tag { color: var(--whiskey); font-size: 0.9rem; font-weight: 600; }
.world__trending-count { color: var(--text-muted); font-size: 0.75rem; }

/* Suggested */
.world__suggested {
    background: var(--bg-card);
    border: 1px solid rgba(255, 16, 240, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.world__suggested h3 {
    font-size: 1rem;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.world__suggested-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
}

.world__suggested-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.world__suggested-info { flex: 1; }
.world__suggested-name { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.world__suggested-handle { font-size: 0.75rem; color: var(--text-muted); }

/* Auth Modal */
.world__modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.world__modal.hidden { display: none; }

.world__modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.world__modal-content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(255, 16, 240, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    max-width: 440px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.world__modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Tip Modal */
.world__tip-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    margin: var(--space-lg) 0;
}

.world__tip-btn {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 16, 240, 0.15);
    color: var(--text-primary);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.world__tip-btn:hover { border-color: var(--whiskey); background: rgba(255, 16, 240, 0.1); }
.world__tip-btn--popular { border-color: var(--whiskey); background: rgba(255, 16, 240, 0.1); }

/* Auth Switch */
.world__auth-header { text-align: center; margin-bottom: var(--space-xl); }
.world__auth-divider { text-align: center; color: var(--text-muted); margin: var(--space-md) 0; font-size: 0.85rem; }
.world__auth-switch { text-align: center; margin-top: var(--space-md); font-size: 0.85rem; color: var(--text-muted); }
.world__auth-switch a { color: var(--whiskey); text-decoration: none; }
.world__checkbox { display: flex; align-items: flex-start; gap: var(--space-sm); font-size: 0.85rem; color: var(--text-secondary); cursor: pointer; }
.world__checkbox input { margin-top: 3px; }
.world__checkbox a { color: var(--whiskey); }

.world__social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

/* Loading */
.world__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-xl);
    color: var(--text-muted);
}

.world__spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 16, 240, 0.2);
    border-top-color: var(--whiskey);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Load More */
.world__load-more {
    width: 100%;
    margin-top: var(--space-md);
}

/* Explore Grid */
.world__explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 4px;
}

.world__explore-item {
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.world__explore-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.world__explore-item:hover img { transform: scale(1.05); }

/* Notification Section */
.world__notifications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.world__notification-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-card);
    border: 1px solid rgba(255, 16, 240, 0.08);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
}

.world__notification-item--unread { background: rgba(255, 16, 240, 0.03); border-left: 3px solid var(--whiskey); }

/* Profile Section */
.world__profile-header-lg {
    position: relative;
    margin-bottom: var(--space-xl);
}

.world__profile-cover-lg {
    height: 200px;
    background: linear-gradient(135deg, var(--whiskey-dark), var(--rust), var(--whiskey));
    border-radius: var(--radius-lg);
}
