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

body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    padding: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 150, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 25px 50px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 35px;
}

.nav-right a#swap-nav {
    color: yellow;
}

.nav-title {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-title::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -3px;
    left: 0;
    background: linear-gradient(90deg, transparent, #00ff96, transparent);
    opacity: 0.5;
}

.nav-container a:not(.nav-title) {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-container a:not(.nav-title):hover {
    color: #00ff96;
}

.nav-container a:not(.nav-title)::after {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -3px;
    left: 0;
    background: #00ff96;
    transition: width 0.3s ease;
}

.nav-container a:not(.nav-title):hover::after {
    width: 100%;
}

.nav-prev,
.nav-next {
    display: none;
    position: absolute;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.nav-prev:hover,
.nav-next:hover {
    color: #00ff96;
}

.nav-prev {
    left: 15px;
}

.nav-next {
    right: 15px;
}

/* Page Layouts */
.page-section {
    padding: 120px 50px 100px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    min-height: 100vh;
}

.swap-section {
    padding: 120px 50px 100px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.media-section {
    padding: 120px 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    min-height: 100vh;
}

.text-section {
    padding: 120px 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    min-height: 100vh;
}

.text-box {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 2px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(0, 255, 150, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.text-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00ff96, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.text-box:hover::before {
    opacity: 1;
}

.text-box:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.12);
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #ffffff;
    font-weight: 300;
    position: relative;
    display: inline-block;
    letter-spacing: -1px;
}

.page-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 40px;
    height: 1px;
    background: #00ff96;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #ffffff;
    font-weight: 300;
    position: relative;
    display: inline-block;
    letter-spacing: -1px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 40px;
    height: 1px;
    background: #00ff96;
}

/*Media Controls*/

.player {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 18px;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(0, 255, 150, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}

.player::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00ff96, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.player:hover::before {
    opacity: 1;
}

.player:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.12);
}

.video-player {
    margin-bottom: 30px;
}

.video-display {
    width: 100%;
    height: 400px;
    background: #000;
    border-radius: 2px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.video-display:hover {
    border-color: rgba(0, 255, 150, 0.3);
}

.audio-player {
    width: 100%;
    margin-top: 20px;
    border-radius: 2px;
}

video,
audio {
    border-radius: 2px;
}

video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.9);
}

audio::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.5);
}

.controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.btn {
    background: #ffffff;
    border: none;
    color: #000000;
    padding: 14px 28px;
    border-radius: 1px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn:hover {
    background: #00ff96;
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.media-title {
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 5px;
}

.media-info {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.podcast-player {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.podcast-player:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(0, 255, 150, 0.2);
}

.podcast-artwork {
    width: 100px;
    height: 100px;
    background: #0a0a0a;
    border-radius: 1px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 255, 150, 0.1);
}

.podcast-artwork:hover {
    transform: scale(1.02);
    border-color: rgba(0, 255, 150, 0.3);
}

.podcast-info {
    flex: 1;
}

.podcast-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    letter-spacing: 0.3px;
}

.podcast-episode {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin-bottom: 20px;
}

.progress-bar {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 20px 0;
    cursor: pointer;
    transition: height 0.2s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar:hover {
    height: 3px;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #00ff96, #00cc78);
    width: 30%;
    transition: width 0.3s ease;
}

.time {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

/* Latest Grid */
.latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-bottom: 80px;
    background: rgba(0, 255, 150, 0.05);
}

.latest-card {
    background: #000000;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    border-top: 1px solid transparent;
}

.latest-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00ff96, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.latest-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(0, 255, 150, 0.03), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.latest-card:hover::before {
    opacity: 1;
}

.latest-card:hover::after {
    opacity: 1;
}

.latest-card:hover {
    transform: translateY(-3px);
}

.latest-image {
    width: 100%;
    height: 340px;
    background: linear-gradient(135deg, #0a0a0a, #000000);
    background-size: cover;
    background-position: center;
    position: relative;
}

.snippet-image {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #0a0a0a, #000000);
    background-size: cover;
    background-position: center;
    position: relative;
}

.latest-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.9));
}

.latest-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 2;
}

.latest-title {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 8px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.latest-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 16px;
}

.latest-description {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 25px;
    flex: 1;
}

.latest-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.play-btn {
    width: 36px;
    height: 36px;
    border-radius: 1px;
    background: rgba(0, 255, 150, 0.1);
    border: 1px solid rgba(0, 255, 150, 0.3);
    color: #00ff96;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.play-btn::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(0, 255, 150, 0.2), transparent);
    border-radius: 1px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.play-btn:hover::before {
    opacity: 1;
}

.play-btn:hover {
    background: rgba(0, 255, 150, 0.15);
    border-color: #00ff96;
    transform: scale(1.05);
}

.play-btn:active {
    transform: scale(0.98);
}

.play-btn svg {
    width: 10px;
    height: 12px;
}

.duration {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 500;
}

.listen-full {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    letter-spacing: 0.3px;
}

.listen-full:hover {
    color: #00ff96;
    gap: 9px;
}

.media-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr;
}

.media-item {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 2px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(0, 255, 150, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

/*.media-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00ff96, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}*/

.media-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.12);
    border-top: 1px solid #2ccb29;
    transition: all 0.3s ease;
    position: relative;
}

.media-date {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.media-item .media-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.media-description {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 14px;
}

.video-container {
    margin: 20px 0;
}

.video-container video {
    width: 100%;
    height: 300px;
    border-radius: 2px;
    background: #000;
}

.media-meta {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    font-weight: 500;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Podcast specific styles */
.podcast-item {
    padding: 50px;
}

.podcast-header {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.podcast-artwork-large {
    width: 140px;
    height: 140px;
    background: #0a0a0a;
    border-radius: 1px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 150, 0.1);
}

.podcast-artwork-large:hover {
    transform: scale(1.02);
    border-color: rgba(0, 255, 150, 0.3);
}

.podcast-details {
    flex: 1;
}

.podcast-episode-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 15px;
}

.podcast-audio {
    width: 100%;
    margin: 25px 0;
    border-radius: 2px;
}

/* Final Positioning Fix: Ensures the iframe is a block element and centered */
.swap-widget {
    display: block;
    margin: 0 auto; /* Centers the fixed-width iframe */
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid rgba(0, 255, 150, 0.1);
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00ff96, transparent);
    opacity: 0.3;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 50px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1px;
}

.footer-links a:hover {
    color: #00ff96;
    border-color: rgba(0, 255, 150, 0.3);
    background: rgba(0, 255, 150, 0.05);
}

.footer-links a#twitter:hover {
    color: #2abbe6;
    border-color: #2abbe6;
}

.footer-links a#insta:hover {
    color: #f07c7c;
    border-color: #f07c7c;
}

.footer-links a#youtube:hover {
    color: #d82020;
    border-color: #d82020;
}

.footer-links a#rumble:hover {
    color: #1ab92f;
    border-color: #1ab92f;
}

.footer-links-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-text a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.footer-links-text a:hover {
    color: #00ff96;
}

.footer-text {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    line-height: 1.6;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .latest-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-links a {
        color: #00ff96;
        border-color: rgba(0, 255, 150, 0.3);
        background: rgba(0, 255, 150, 0.05);
    }

    .footer-links a#twitter {
        color: #2abbe6;
        border-color: #2abbe6;
    }

    .footer-links a#insta {
        color: #f07c7c;
        border-color: #f07c7c;
    }

    .footer-links a#youtube {
        color: #d82020;
        border-color: #d82020;
    }

    .footer-links a#rumble {
        color: #1ab92f;
        border-color: #1ab92f;
    }
}

@media (max-width: 768px) {
    .nav-left,
    .nav-right {
        display: none;
    }

    .nav-container {
        padding: 25px 50px;
        justify-content: center;
    }

    .nav-prev,
    .nav-next {
        display: block;
    }

    .header {
        padding: 0;
    }

    .page-section {
        padding: 100px 25px 80px;
    }

    .latest-grid {
        grid-template-columns: 1fr;
        gap: 0;
        background: none;
    }

    .latest-card {
        border-radius: 0;
        border: none;
        border-bottom: 1px solid rgba(0, 255, 150, 0.05);
    }

    .latest-card:last-child {
        border-bottom: none;
    }

    .latest-image {
        height: 280px;
    }

    .latest-content {
        padding: 25px;
    }

    .media-section,
    .text-section {
        padding: 40px 25px;
    }

    .player,
    .text-box {
        padding: 30px;
    }

    .podcast-player {
        flex-direction: column;
        gap: 25px;
        padding: 30px;
    }

    .podcast-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .podcast-artwork-large {
        width: 120px;
        height: 120px;
    }

    .video-container video {
        height: 220px;
    }

    .media-item {
        padding: 30px;
    }

    .podcast-item {
        padding: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        padding: 60px 25px 30px;
        gap: 40px;
    }

    .footer-bottom {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .page-section {
        padding: 100px 0 60px;
    }

    .latest-image {
        height: 240px;
    }

    .latest-content {
        padding: 20px;
    }

    .section-title {
        font-size: 2rem;
        padding: 0 20px;
    }

    .nav-container {
        padding: 20px 50px;
    }

    .nav-title {
        font-size: 16px;
    }

    .media-section,
    .text-section {
        padding: 40px 20px;
    }

    .player,
    .text-box {
        padding: 25px;
    }

    .podcast-player {
        padding: 25px;
    }

    .video-display {
        height: 200px;
    }

    .footer-content {
        padding: 50px 20px 25px;
    }

    .footer-bottom {
        padding: 20px;
    }
}

@media (min-width: 1600px) {
    .page-section,
    .media-section,
    .text-section {
        max-width: 1600px;
    }

    .latest-image {
        height: 400px;
    }

    .footer-content {
        max-width: 1600px;
    }
}
