/* style.css */
body {
    font-family: 'Press Start 2P', cursive;
    margin: 0;
    padding: 0;
    color: #fff;
    background: #000;
    text-align: center;
    background: url('https://www.psx-place.com/styles/default/xenforo/xenforo-logo.png') repeat;
}

header {
    background: linear-gradient(135deg, #333, #555);
    padding: 20px;
    border-bottom: 4px solid #ffcc00;
}

h1 {
    font-size: 1.5rem;
}

nav a {
    color: #ffcc00;
    text-decoration: none;
    padding: 10px;
    display: inline-block;
}

nav a:hover {
    color: #ff4500;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

main {
    padding: 20px;
}

.league-section {
    background: rgba(20, 20, 20, 0.9);
    border: 2px solid #ff4500;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.7);
}

.match-card {
    background: rgba(50, 50, 50, 0.7);
    border: 2px solid #ffcc00;
    margin: 15px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(255, 204, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.match-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
}

footer {
    padding: 20px;
    background: #111;
    color: #ffcc00;
}

/* Mobile-first adjustments */
@media (max-width: 768px) {
    body {
        font-size: 12px;
    }
    nav a {
        display: block;
        margin: 5px 0;
    }
    .match-card {
        width: 90%;
    }
}

/* style.css */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: rgba(20, 20, 20, 0.95);
    border: 2px solid #ffcc00;
    padding: 20px;
    border-radius: 15px;
    width: 80%;
    max-width: 400px;
    margin: 10% auto;
    box-shadow: 0px 0px 20px rgba(255, 204, 0, 1);
    color: #fff;
    font-family: 'Press Start 2P', cursive;
}

.close {
    color: #ff4500;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #ffcc00;
}

input, button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: none;
    border-radius: 5px;
    font-family: 'Press Start 2P', cursive;
}

button {
    background-color: #ff4500;
    color: white;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.8);
}

button:hover {
    background-color: #ffcc00;
    box-shadow: 0 0 15px rgba(255, 204, 0, 1);
}

/* Custom Toastify CSS for Retro Theme */
.toastify {
    font-family: 'Press Start 2P', monospace; /* Retro font */
    font-size: 12px; /* Match your site's text size */
    color: #fff; /* Text color */
    background: linear-gradient(135deg, #333, #555); /* Gradient background matching your theme */
    border: 2px solid #ffcc00; /* Yellow retro border */
    border-radius: 8px; /* Smooth corners */
    padding: 10px 15px; /* Inner padding */
    text-transform: uppercase; /* Uppercase text for retro style */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Depth effect */
    text-align: center; /* Center-align text */
    z-index: 9999; /* Ensure it displays on top */
}

/* Add hover effect for toast buttons or actions (if any) */
.toastify:hover {
    background: #ff4500; /* Hover color */
    border-color: #ffcc00; /* Maintain border on hover */
    color: #000; /* Contrast text color */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7); /* Enhanced shadow on hover */
}

/* Optional styling for toast close button */
.toastify .toastify-close {
    font-size: 14px; /* Match font size */
    color: #ffcc00; /* Close button color */
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

/* Adjust toast position and animations */
.toastify-top {
    top: 20px; /* Position at the top */
}

.toastify-bottom {
    bottom: 20px; /* Position at the bottom */
}

.toastify-center {
    left: 50%; /* Center horizontally */
    transform: translateX(-50%);
}

.link-wrapper {
	background: black;
}

/* Link Preview Card */
.link-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Adds space between images */
    background: #1a1a1a;
    border: 4px solid #ffcc00;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.8), inset 0 0 10px rgba(0, 0, 0, 0.9);
    padding: 20px;
    max-width: 400px;
    margin: auto;
}


/* Image Wrapper */
.image-wrapper {
    display: flex; /* Aligns images horizontally */
    gap: 10px; /* Adds space between images */
    justify-content: center;
    width: 100%;
}

/* Preview Image */
.preview-image {
    width: 100%;
    border: 2px solid #ff4500;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Preview Title */
.preview-title {
    font-size: 1.2rem;
    color: #ffcc00;
    text-shadow: 0 2px 2px #ff4500;
    margin-bottom: 10px;
}

/* Preview Description */
.preview-description {
    font-size: 0.9rem;
    color: #fff;
    background: rgba(50, 50, 50, 0.9);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.7);
    margin-bottom: 15px;
}

/* Link Button */
.preview-link {
    display: inline-block;
    background: #ff4500;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(255, 69, 0, 0.9);
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.preview-link:hover {
    background: #ffcc00;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 204, 0, 1);
}




.link-preview {
    display: flex;
    align-items: center; /* Vertically aligns items */
    gap: 10px; /* Adds space between images */
    width: 350px;
    padding: 20px;
    border: 3px solid #FFD700; /* Gold border */
    border-radius: 15px;
    background: linear-gradient(145deg, #1a1a1a, #333333);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.5);
    text-align: center;
    overflow: hidden;
}

.link-preview:hover {
    animation: glow 2s infinite;
}

.preview-image {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
    animation: rollDice 3s infinite linear;
    width: 32px;
    height: auto;
    display: block; /* Ensures images behave like block elements */
}

.preview-title {
    font-size: 1.5rem;
    color: #FFD700;
    margin-bottom: 10px;
    text-shadow: 0 0 5px #FFD700, 0 0 10px #FF4500;
}

.preview-description {
    font-size: 0.9rem;
    color: #f0f0f0;
    margin-bottom: 15px;
}

.preview-link {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    border: 2px solid #FF4500;
    border-radius: 10px;
    background: #FF6347;
    box-shadow: 0 0 5px #FF4500, 0 0 10px #FF6347;
    animation: casinoFlash 1.5s infinite alternate;
}

.preview-link:hover {
    background: #FFD700;
    color: black;
}

/* Keyframes for animations */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 69, 0, 0.8), 0 0 40px rgba(255, 69, 0, 0.5);
    }
}

@keyframes rollDice {
    0%, 100% {
        transform: rotate(0);
    }
    50% {
        transform: rotate(360deg);
    }
}

@keyframes casinoFlash {
    0% {
        box-shadow: 0 0 5px #FF4500, 0 0 10px #FF6347;
    }
    100% {
        box-shadow: 0 0 15px #FFD700, 0 0 20px #FFA500;
    }
}
