/* =========================================
   ANDHAVARAPU SRIDHAR & CO.
   PREMIUM ALERTS SECTION
========================================= */

/* ================= BASE ================= */
.dr1059alerts {
	padding: 80px 20px;
	background: radial-gradient(circle at top, #071422, #020617);
	color: #fff;
	overflow: hidden;
	font-family: 'Poppins', sans-serif;
	position: relative;
}

/* subtle animated glow background */
.dr1059alerts::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 20% 20%, rgba(212,175,55,0.08), transparent 40%),
	            radial-gradient(circle at 80% 80%, rgba(245,210,122,0.06), transparent 45%);
	animation: bgFloat 10s ease-in-out infinite alternate;
	pointer-events: none;
}

@keyframes bgFloat {
	0% { transform: scale(1); }
	100% { transform: scale(1.05); }
}

.dr1059alerts-container {
	max-width: 1300px;
	margin: auto;
	position: relative;
	z-index: 2;
}

/* ================= HEADER ================= */
.dr1059alerts-header {
	text-align: center;
	margin-bottom: 50px;
}

.dr1059alerts-header h2 {
	font-size: 2.8rem;
	font-weight: 800;
	background: linear-gradient(90deg, #d4af37, #f5d27a, #d4af37);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	letter-spacing: 1px;
}

.dr1059alerts-subtitle {
	color: #cbd5e1;
	font-size: 1rem;
	margin-top: 10px;
	max-width: 700px;
	margin-inline: auto;
}

/* ================= GRID ================= */
.dr1059alerts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

/* ================= CARD ================= */
.dr1059alert-card {
	position: relative;
	border-radius: 20px;
	padding: 20px;
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(18px);
	border: 1px solid rgba(212, 175, 55, 0.18);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6),
		inset 0 0 25px rgba(212, 175, 55, 0.06);
	transition: all 0.4s ease;
	overflow: hidden;
	transform: translateY(0);
}

/* GOLD BORDER GLOW */
.dr1059alert-card::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 20px;
	padding: 1px;
	background: linear-gradient(120deg, #d4af37, #f5d27a, #d4af37);
	-webkit-mask: linear-gradient(#000 0 0) content-box,
		linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
}

/* glossy sweep */
.dr1059alert-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
	opacity: 0;
	transition: 0.6s;
}

.dr1059alert-card:hover {
	transform: translateY(-10px) scale(1.02);
	box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85),
		0 0 35px rgba(212, 175, 55, 0.15);
}

.dr1059alert-card:hover::before {
	opacity: 1;
	transform: translateX(120%);
}

/* ================= MEDIA ================= */
.dr1059alert-media {
	position: relative;
	width: 100%;
	min-height: 240px;
	border-radius: 14px;
	background: linear-gradient(145deg, #071422, #0b1c2c);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	margin-bottom: 15px;
}

.dr1059media-wrapper {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dr1059alert-media img,
.dr1059alert-media video {
	max-width: 100%;
	max-height: 320px;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 12px;
	transition: transform 0.5s ease;
}

.dr1059alert-card:hover img,
.dr1059alert-card:hover video {
	transform: scale(1.05);
}

.no-media {
	color: #94a3b8;
	font-size: 0.9rem;
}

/* ================= NAV BUTTONS ================= */
.dr1059nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid rgba(212,175,55,0.25);
	background: rgba(0,0,0,0.5);
	backdrop-filter: blur(10px);
	color: #f5d27a;
	font-size: 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.3s ease;
}

.dr1059prev { left: 10px; }
.dr1059next { right: 10px; }

.dr1059nav:hover {
	background: linear-gradient(135deg, #d4af37, #f5d27a);
	color: #071422;
	transform: translateY(-50%) scale(1.15);
}

/* ================= CONTENT ================= */
.dr1059alert-content h3 {
	font-size: 1.2rem;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 5px;
}

.dr1059alert-content h4 {
	font-size: 0.9rem;
	color: #f5d27a;
	margin-bottom: 10px;
}

.dr1059alert-content p {
	font-size: 0.92rem;
	color: #cbd5e1;
	line-height: 1.6;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

	.dr1059alerts {
		padding: 60px 15px;
	}

	.dr1059alerts-header h2 {
		font-size: 2rem;
	}

	.dr1059alerts-grid {
		gap: 20px;
	}

	.dr1059nav {
		width: 36px;
		height: 36px;
		font-size: 15px;
	}

	.dr1059alert-media {
		min-height: 200px;
	}
}