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

:root {
    --primary: #ff2b67;
    --primary-dark: #d71a54;
    --primary-light: #ff4d7f;
    --text: #f1f1f1;
    --text-secondary: #cccccc;
    --bg-dark: #111111;
    --glass-bg: rgba(25, 25, 35, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.08);
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text);
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0f1c, #1f1a30, #27141e);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="none" width="100" height="100"/><rect fill-opacity="0.05" x="50" width="50" height="50"/><rect fill-opacity="0.05" y="50" width="50" height="50"/></svg>');
    background-size: 30px 30px;
    z-index: -1;
    opacity: 0.4;
}

a {
    text-decoration: none;
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Header styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 5%;
}

.logo {
    text-align: center;
    margin-bottom: 1rem;
}

.logo h1 {
    color: #1a73e8;
    font-size: 2.5rem;
    font-weight: 700;
}

.tagline {
    font-style: italic;
    color: #666;
}

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

nav a {
    color: #555;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

nav a.active, nav a:hover {
    color: #1a73e8;
}

nav a.active::after, nav a:hover::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1a73e8;
}

/* Main content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 5%;
}

.featured-news {
    margin-bottom: 3rem;
}

.main-story {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.main-story img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.story-content {
    padding: 1.5rem;
}

.story-content h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 500;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.news-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-card h3 {
    font-size: 1.2rem;
    margin: 1rem 1rem 0.5rem;
}

.news-card p {
    padding: 0 1rem;
}

.news-card .read-more {
    margin: 0.5rem 1rem 1rem;
}

/* Newsletter */
.newsletter {
    background-color: #1a73e8;
    color: #fff;
    padding: 2rem 5%;
    text-align: center;
    margin: 3rem 0;
}

.newsletter h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.newsletter p {
    margin-bottom: 1.5rem;
}

.newsletter form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 4px 0 0 4px;
}

.newsletter button {
    background-color: #0d47a1;
    color: #fff;
    padding: 0 1.5rem;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.newsletter button:hover {
    background-color: #083378;
}

/* Footer */
footer {
    background-color: #222;
    color: #ddd;
    padding: 3rem 5% 2rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
}

.footer-section ul li {
    margin-bottom: 0.7rem;
}

.footer-section a {
    color: #bbb;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #444;
    color: #999;
    font-size: 0.9rem;
}

/* Redirect page styles */
.redirect-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Animated background particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    animation: float 8s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(-35px) translateX(-15px); }
    75% { transform: translateY(-10px) translateX(-20px); }
}

.redirect-container {
    width: 92%;
    max-width: 500px;
    padding: 3rem;
    border-radius: 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.6),
        0 0 0 1px var(--glass-border);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

/* Glass effect highlight */
.redirect-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent);
}

/* Side highlights */
.redirect-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--glass-highlight), transparent);
}

/* Animated pulse effect */
.pulse-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--primary-light) 0%, transparent 70%);
    opacity: 0;
    z-index: -1;
    animation: pulse-effect 8s infinite;
}

@keyframes pulse-effect {
    0%, 100% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 0.05; transform: scale(1.5); }
}

.redirect-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to right, #ffffff, #d3d3d3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: fadeIn 0.8s forwards 0.3s;
}

.redirect-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.5;
    opacity: 0;
    animation: fadeIn 0.8s forwards 0.6s;
}

.redirect-text strong {
    color: var(--text);
    font-weight: 500;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.redirect-timer-container {
    position: relative;
    margin: 2.5rem auto 3rem;
    width: 160px;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timer-progress {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.timer-progress svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.timer-progress circle {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
}

.timer-bg {
    stroke: rgba(255, 255, 255, 0.1);
}

.timer-fill {
    stroke: var(--primary);
    stroke-dasharray: 314.16;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear;
    filter: drop-shadow(0 0 8px rgba(255, 43, 103, 0.6));
}

.redirect-timer {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    z-index: 1;
    text-shadow: 0 0 20px rgba(255, 43, 103, 0.8);
    opacity: 0;
    animation: fadeIn 0.8s forwards 0.6s;
}

.button-container {
    margin: 1.5rem 0;
    opacity: 0;
    animation: fadeIn 0.8s forwards 1.2s;
}

.redirect-button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 30px;
    padding: 1rem 2.2rem 1rem 2.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 0 3px rgba(255, 43, 103, 0.2);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.button-arrow {
    margin-left: 8px;
    transform: translateX(0);
    transition: transform 0.3s ease;
    font-size: 1.3rem;
    font-weight: 400;
}

.redirect-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        0 0 0 4px rgba(255, 43, 103, 0.3);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.redirect-button:hover .button-arrow {
    transform: translateX(5px);
}

.redirect-button:active {
    transform: translateY(1px);
}

/* Button ripple effect */
.redirect-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.redirect-button:focus:not(:active)::after {
    animation: ripple 0.8s ease-out;
}

@keyframes ripple {
    0% {
        opacity: 0.5;
        transform: scale(0) translate(-50%, -50%);
    }
    100% {
        opacity: 0;
        transform: scale(20) translate(-50%, -50%);
    }
}

.bypass {
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.7;
    margin-top: 1.5rem;
    opacity: 0;
    animation: fadeIn 0.8s forwards 1.5s;
}

.bypass a {
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
}

.bypass a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-light);
    transition: width 0.3s ease;
}

.bypass a:hover {
    color: #fff;
}

.bypass a:hover::after {
    width: 100%;
}

.powered-by {
    margin-top: 2.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeIn 0.8s forwards 1.8s;
}

/* 18+ age verification notice */
.age-notice {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(5px);
    z-index: 10;
    opacity: 0;
    animation: fadeIn 0.8s forwards 2s;
}

.age-notice::before {
    content: "18+";
    background: var(--primary);
    color: white;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 0.7rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 2rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .story-content h2 {
        font-size: 1.5rem;
    }
    
    .redirect-container {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .newsletter form {
        flex-direction: column;
    }
    
    .newsletter input {
        border-radius: 4px;
        margin-bottom: 0.5rem;
    }
    
    .newsletter button {
        border-radius: 4px;
        padding: 0.8rem;
    }
    
    .redirect-container {
        padding: 2rem 1.2rem;
        width: 95%;
    }
    
    .redirect-title {
        font-size: 1.8rem;
    }
    
    .redirect-text {
        font-size: 0.95rem;
    }
    
    .redirect-timer-container {
        width: 130px;
        height: 130px;
        margin: 2rem auto 2.5rem;
    }
    
    .redirect-timer {
        font-size: 3.8rem;
    }
    
    .timer-progress circle {
        stroke-width: 7;
    }
} 