/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ffffff;      /* Main theme color - white */
    --secondary-color: #cccccc;    /* Accent color - light gray */
    --text-color: #ffffff;         /* Main text color - white */
    --light-text: #ffffff;         /* Light text color - white */
    --background: #000000;         /* Main background - black */
    --dark-background: #111111;    /* Dark sections background - very dark gray */
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #000;
    color: white;         /* White text */
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    min-height: 100vh;
    width: 100%;
    padding-bottom: 30px; /* Reduced from 100px */
}

/* Ensure content is scrollable */
html {
    height: auto;
    overflow-y: auto;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 80px; /* Fixed height for header */
    padding: 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    padding: 0 2rem;
}

/* Logo specific styling */
.logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); /* Centers both horizontally and vertically */
}

.logo h1 {
    margin: 0;
    padding: 0;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.logo a {
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    display: block;
}

.logo a:hover {
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation list positioning */
nav ul {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.4rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #ff5500; /* Orange background by default */
}

nav ul li a:hover {
    opacity: 0.8; /* Slight fade on hover */
}

nav ul li a.active {
    background: #ff5500; /* Keep the same orange for active state */
}

/* Hero Section */
#hero {
    padding-top: 2rem;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem;
    color: var(--light-text);
    position: relative;
}

#hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

#hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    background: var(--light-text);
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* About Section */
#about {
    padding: 6rem 2rem;
    background: var(--background);
}

.stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Social Links Section */
#socials {
    padding: 6rem 2rem;
    background: var(--dark-background);
    color: var(--light-text);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.social-links a {
    color: var(--light-text);
    font-size: 2rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    color: var(--secondary-color);
}

/* Section Headers */
section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    #hero p {
        font-size: 1.2rem;
    }

    .stats {
        flex-direction: column;
        gap: 2rem;
    }

    .social-links {
        flex-wrap: wrap;
    }
}

/* Updated Audio Player Styles */
.audio-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 250px;
    z-index: 1000;
}

.toggle-player-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff0000, #cc0000);
    border: none;
    color: white;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.toggle-player-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

#player-content {
    background: rgba(0, 0, 0, 0.9);
    border-radius: 20px;
    padding: 15px;
    margin-bottom: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 0, 0, 0.2);
    backdrop-filter: blur(8px);
}

#soundcloud-player {
    border-radius: 15px;
    margin-bottom: 10px;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 0 5px;
}

.volume-control i {
    color: #ff0000;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.volume-control i:hover {
    color: #cc0000;
}

#volume-slider {
    flex: 1;
    -webkit-appearance: none;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

#volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: #cccccc;
}

#volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

#volume-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    background: #cccccc;
}

/* Update video grid for better performance */
.video-background {
    width: 100%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 5px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 5px;
    margin-top: 80px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 177.77%; /* Maintain TikTok's aspect ratio */
    height: 0;
    overflow: hidden;
    aspect-ratio: 16/9;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: transparent; /* Remove any background */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border: none;
    transform: scale(1); /* Remove scaling that was hiding UI elements */
    transform-origin: center center;
}

/* Hide TikTok UI elements */
.video-wrapper iframe {
    transform: scale(1.5); /* Makes the video bigger to hide UI elements */
    transform-origin: center center;
}

/* Add animation for continuous play effect */
@keyframes videoFade {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

.video-wrapper {
    animation: videoFade 4s infinite;
}

/* Add dark overlay to improve text visibility */
#hero::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

/* Hide TikTok watermarks and username overlays */
.video-wrapper :is(.tiktok-embed-watermark, .tiktok-embed-username) {
    display: none !important;
}

/* Ensure videos don't interfere with content */
.tiktok-embed {
    pointer-events: none;
    max-width: none !important;
    min-width: 0 !important;
}

/* Add hover effect for admin/preview purposes */
.video-wrapper:hover {
    opacity: 1;
    z-index: 2;
}

/* Update social links container */
.socials-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 100px);
    padding: 80px 2rem 2rem 2rem; /* Reduced top padding */
}

.social-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem; /* Reduced gap */
    max-width: 800px; /* Reduced max-width */
    width: 100%;
    margin: 0 auto;
    padding: 1rem; /* Reduced padding */
}

/* Update card size */
.social-link {
    padding: 1.5rem; /* Reduced padding */
    aspect-ratio: 1;
    /* Rest of the styles remain the same */
}

/* Update icon size */
.social-link i {
    font-size: 2.5rem; /* Reduced icon size */
}

/* Update text size */
.social-link span {
    font-size: 1rem; /* Reduced text size */
}

/* Keep responsive design */
@media (max-width: 900px) {
    .social-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .social-links {
        grid-size: 1fr;
    }
}

footer {
    text-align: center;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
}

/* Update social media cards */
.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2.5rem;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    aspect-ratio: 1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border: none; /* Removed border */
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.4), 
        rgba(0, 0, 0, 0.8)
    );
    z-index: 1;
}

.social-link i,
.social-link span {
    position: relative;
    z-index: 2;
}

.social-link span {
    font-weight: bold;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-size: 1.1rem;
    width: 100%;
    display: block;
}

/* Specific card backgrounds */
.social-link.new-song {
    background-image: url('images/TORTACOVER.PNG');
}

.social-link.youtube {
    background-image: url('images/youtube.jpg');
}

/* Specific styling for longer text */
.social-link.new-song span {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    line-height: 1.2;
}

/* Add specific card backgrounds */
.social-link.twitter {
    background-image: url('images/twitter.jpg');
}

/* Update Apple Music card background */
.social-link.apple {
    background-image: url('images/applemusic.png');
}

/* Add SoundCloud card background */
.social-link.soundcloud {
    background-image: url('images/soundcloud.png');
}

/* Remove overlay for Apple Music card */
.social-link.apple::before {
    background: none;
}

/* Update Apple Music card styling */
.social-link.apple {
    background-size: 200% auto; /* Increased from 150% to 200% */
    background-repeat: no-repeat;
    background-position: center;
    background-color: #111111;
}

/* Update video container styles */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: black;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* This will maintain aspect ratio */
    max-width: 100vw;
    max-height: 100vh;
}

/* Video grid container */
.videos-container {
    margin-top: 20px;
    width: 100%;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
    max-width: 2000px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px; /* Reduced from 100px */
    padding-bottom: 20px; /* Reduced from 50px */
}

.video-wrapper {
    width: 100%;
    background: transparent; /* Remove any background */
}

.video-wrapper video {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    filter: none; /* Remove any filters */
    opacity: 1; /* Ensure full opacity */
}

/* Style the video controls */
.video-wrapper video::-webkit-media-controls {
    background-color: transparent;
}

.video-wrapper video::-webkit-media-controls-panel {
    display: flex;
    align-items: center;
    padding: 5px;
    background: rgba(0, 0, 0, 0.5);
}

/* Welcome section styles */
.welcome-section {
    margin-top: 80px;
    text-align: center;
    color: white;
    padding: 20px;
}

.welcome-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ff0000, #cc0000);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contract-info {
    margin-top: 2rem;
}

.contract-info code {
    display: block;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-family: monospace;
    margin-top: 0.5rem;
}

/* Ensure welcome section doesn't overlap */
.welcome-section {
    position: relative;
    z-index: 1;
}

/* Ensure header stays on top */
header {
    z-index: 1000;
}

/* Remove any overlay styling */
.video-wrapper::before,
.video-wrapper::after {
    display: none;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ff0000, #cc0000);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.loading-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #fff;
}

.loading-bar {
    width: 200px;
    height: 3px;
    background: #1a1a1a;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(45deg, #ff0000, #cc0000);
    animation: loading 2s infinite;
}

@keyframes loading {
    0% {
        left: -40%;
    }
    100% {
        left: 100%;
    }
}

/* Style for TikTok button */
.tiktok-button {
    background-image: url('images/tiktokpfp.jpeg') !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 20px;
    transition: transform 0.3s ease;
}

.tiktok-button i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.tiktok-button:hover {
    transform: scale(1.05);
}

/* Token Info Styles */
.token-info {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 20px;
    margin: 20px auto 0;
    text-align: center;
    color: white;
    max-width: 600px;
}

.token-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.contract-info h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contract-address {
    font-family: monospace;
    font-size: 1.1rem;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    margin-bottom: 15px;
    word-break: break-all;
}

.copy-button {
    background: linear-gradient(45deg, #ffffff, #cccccc);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    color: black;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.copy-button:hover {
    transform: scale(1.05);
}

/* Update Toast Notification */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px 30px; /* Increased padding */
    border-radius: 10px; /* Slightly larger border radius */
    font-size: 1.2rem; /* Increased font size */
    z-index: 9999;
    transition: bottom 0.3s ease-in-out;
    border: 2px solid #ffffff; /* White border */
}

.toast.show {
    bottom: 40px; /* Moved up a bit */
}

.toast i {
    color: #ff0000;
    margin-right: 10px;
    font-size: 1.3rem; /* Larger icon */
} 